Domin & REST: Debug your Plugin 

By Sven Hasselbach | 3/7/17 11:05 AM | App Dev - Web | Added by Oliver Busse

When developing OSGi Plugins, you should have your own development server running on your local machine. Not only because of the faster deployment of changes (a new version of a plugin must always deployed with a HTTP restart), but because of the Java debugging posibilities: Only one Eclipse instance can connect to the JVM, and every request processed by the server will start the debugger.

Domino & REST: Listeners for Initialization & Destroying of a Servlet 

By Sven Hasselbach | 2/27/17 5:47 AM | App Dev - Web | Added by Oliver Busse

If you need to know when your Servlet is initialized or destroyed, you can use a ServletContextListener in your application. First, create the class AppServletContextListener and implement the javax.servlet.ServletContextListener interface.