Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Eclipse SmartHome » Which web server is used for openHAB2?(openHAB dashboard & Paper UI are web application. But I can't find any configurations of web server related them.)
Which web server is used for openHAB2? [message #1701685] Wed, 15 July 2015 00:36 Go to next message
slki shin is currently offline slki shinFriend
Messages: 1
Registered: July 2015
Junior Member
I've recently set up IDE for openHAB2 and built it successfully.
openHAB dashboard & paper UI are web application.
But I can't find any web server settings in openHAB project.
Which web server is used for them?
Is it possible to add java servlet for my custom REST service?
Re: Which web server is used for openHAB2? [message #1701710 is a reply to message #1701685] Wed, 15 July 2015 08:09 Go to previous message
Kai Kreuzer is currently offline Kai KreuzerFriend
Messages: 673
Registered: December 2011
Senior Member
This is probably rather a question for the openHAB 2 mailing list. But to answer: Jetty is used in openHAB 2 as you can see here https://github.com/openhab/openhab2/blob/master/products/org.openhab.product.runtime/org.openhab.runtime.product.product#L57.

And yes, you can certainly add custom REST endpoints. You should do this as it is done with the default REST endpoints like https://github.com/eclipse/smarthome/blob/master/bundles/io/org.eclipse.smarthome.io.rest.core/src/main/java/org/eclipse/smarthome/io/rest/core/binding/BindingResource.java.

Regards,
Kai
Previous Topic:serial driver in ESH?
Next Topic:properties vs config in DiscoveryResultBuilder
Goto Forum:
  


Current Time: Fri Apr 19 14:08:41 GMT 2024

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

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

Back to the top