Let's serve your data
- 2. About me
• Freelance Java and front end developer
• Owner of Elstar IT
• Try to do some running and mountain biking
2
- 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
- 30. Deploy
• 2 ways of deployment to Domino
• as deployable jar
• as an update site.
• Add to web server
30
- 31. As deployable jar
• Export as deployable plugin…
• Put the jar in the correct directory on the server
• tell http quit —> load http
31
- 32. As update site
• Create Feature project, add plugin projects
• Create Update site project, add Feature project
• Add update site to update site database
• tell http quit —> load http
32