This document provides an overview and roadmap for developing servlets that can run on Domino and web servers. It discusses what servlets are, their structure and lifecycle. It then outlines steps to prepare an IDE, develop shared code, Domino and web application servlets, test the servlets, and deploy them as plugins to Domino or as a web application. Appendices provide more details on setting the target platform and creating the required OSGi and web application plugin projects.
5. What is a servlet
• Java program to extends the capabilities of a server
• Servlets provide a component-based, platform-independent method
for building Web-based applications
• Servlets run in web containers, Servlet containers
5
9. Servlet in NSF
• excellent series of Eric McCormick
• https://edm00se.io/servlet-series/
9
10. Servlet as OSGi plugin
• run server wide
• Code can be shared with other processes like DOTS, XPages.
• With small changes, it run also on other Java servers, like Tomcat,
WildFly(a.k.a. Boss) and Websphere
10
13. Prepare
• Download IDE e.g. Eclipse JEE
• Set Target platform
• Install PDE Debug plugin
• Create com.ibm.notes.java.api project
13
*See Appendix A for steps to prepare your IDE
15. goals
• Create a Shared code plugin
• Create a web app plugin which runs on a Java server
• Create a OSGi servlet which run on a Domino server
15
* See Appendix B for setup projects