3 Replies Latest reply on Oct 14, 2016 10:22 AM by giacomo.genovese

    Using CoAP/UDP instead of HTTP

    giacomo.genovese

      Hi,

      I'm investigating on Constrained Application Protocol (CoAP) and especially on Californium server which uses CoAP over UDP.

      I would integrate this server into Wildfly8 environment but I don't find any support or hint on Internet.

       

      Every help is welcome.

       

      Thanks,

      Giacomo.

        • 1. Re: Using CoAP/UDP instead of HTTP
          jaikiran

          Giacomo Genovese wrote:

           

          Hi,

          I'm investigating on Constrained Application Protocol (CoAP) and especially on Californium server which uses CoAP over UDP.

          I would integrate this server into Wildfly8 environment but I don't find any support or hint on Internet.

           

          Do you mean you want WildFly to be able to allow clients to connect via that protocol (which I'm hearing for the first time)? If yes, then I guess you will have to write an extension and setup a custom subsystem on top of WildFly to do that. However, I don't understand what you are going to achieve by integrating it in WildFly (an EE server).

          • 2. Re: Using CoAP/UDP instead of HTTP
            jaikiran

            Here's a document on how to extend WildFly Extending WildFly - WildFly 10 - Project Documentation Editor

            • 3. Re: Using CoAP/UDP instead of HTTP
              giacomo.genovese

              Hi jaikiran pai,

               

              First let me thank you for the reply.

              Secondary,YES. I'm working on CapeDwarf, a Wildfly8 extension that allows you to run applications written for Google App Engine. According to this, I'm instantiating my local PaaS Instance of Capedwarf with my application running inside. Now I need to communicate with constrained devices using CoAP to receive the data they send to my server and send query to them. I would include the CoAP server into Capedwarf, otherwise I should use a proxy and write a new server from scratch.

               

              I'm going to carefully study the document you linked.

               

              Thanks a lot.

              Giacomo