Skip to main content



      Home
Home » Eclipse Projects » Kura » Using Jetty server in Kura
Using Jetty server in Kura [message #1753283] Fri, 03 February 2017 05:12 Go to next message
Eclipse UserFriend
Hello,

I saw that there is a Jetty server in Kura, the one that is used for the administration interface.

How can I use it to my local web application? how can I add my own servlet?

Thanks!

Sabrina
Re: Using Jetty server in Kura [message #1753285 is a reply to message #1753283] Fri, 03 February 2017 05:20 Go to previous message
Eclipse UserFriend
Hi Sabrina,

You can easily register your own servlets by manipulating the HttpService in your OSGi component.

See https://github.com/kartben/kura-sigfox-gateway/tree/master/org.eclipse.iot.kura.sigfox-mqtt.gateway for an example, where servlet and resources are mounted in the following component: https://github.com/kartben/kura-sigfox-gateway/blob/master/org.eclipse.iot.kura.sigfox-mqtt.gateway/src/main/java/org/eclipse/iot/kura/sigfox_mqtt/SigfoxGatewayComponent.java
Previous Topic:modbus TCP/IP ADU send problem
Next Topic:Using Kura without Web UI
Goto Forum:
  


Current Time: Sun Jul 13 23:53:51 EDT 2025

Powered by FUDForum. Page generated in 0.24342 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top