Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [leshan-dev] Leshan on Cloud web-server or Wildfy

It's exactly what I was trying to do right now.
Your answer give me confidence in keeping working in such direction.
Thanks a lot.

Bests, 
Giacomo.

Il giorno gio 20 ott 2016 alle ore 10:22 Hudalla Kai (INST/ESY1) <Kai.Hudalla@xxxxxxxxxxxx> ha scritto:
Hi Giacomo,

I am not familiar with Wildfly but my understanding is that you can deploy
arbitrary components there (war, ear, ejb whatever) and there is no restriction
on the port or protocol that your component uses to communicate with the outside
world.
LWM2M uses UDP (port 5683) or DTLS (5684) for communicating with devices. So,
when you deploy a leshan server as part of a web application, your devices should
still be able to communicate with leshan on these standard ports over UDP/DTLS.
AFAIC there is no need to try to bridge UDP/DTLS to http just in order to be able
to deploy to an application server (like wildfly).
You should take a look at leshan's demo server implementation and maybe alter it
so that it can be deployed as a war to your application server :-)
--
Mit freundlichen Grüßen / Best regards

Kai Hudalla
Chief Software Architect

Bosch Software Innovations GmbH
Schöneberger Ufer 89-91
10785 Berlin
GERMANY
www.bosch-si.com

Registered office: Berlin, Register court: Amtsgericht Charlottenburg,
HRB 148411 B;
Executives: Dr.-Ing. Rainer Kallenbach, Michael Hahn

On Do, 2016-10-13 at 17:01 +0000, Giacomo Genovese wrote:
> Hi all,
> I have my IoT-server running on Capedwarf (Jboss Wildfly8). 
> Actualy I'm not using any standard and I would like to move to Leshan in order
> to use OMA-LwM2M.
> My problem is how to implement leshan in a HTTP-based environment like
> Capedwarf. 
> I saw that nCoAP implement CoAP over Netty/TCP, does Leshan match nCoAP?
>
> Can Somebody help me?
>
> Thanks a lot.
> Giacomo.
> _______________________________________________
> leshan-dev mailing list
> leshan-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/leshan-dev
_______________________________________________
leshan-dev mailing list
leshan-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/leshan-dev

Back to the top