
Project: XPages Extension Library (Managed by Philippe Riand, Niklas Heidloff, Dave Delay, Akihiro Kosugi, Maire Kehoe, Tony McGuckin, John Piermarini, Martin Donnelly, James Quill, Darin Egan, Padraic Edwards, Andrejus Chaliapinas, Lorcan McDonald, Simon McLoughlin, Paul Hannan)
Subject
Custom Servlet with Rest services
Posted by
Michael Bourak on 08/19/2011 at 08:42 AM
Details
Hi,
I'm trying to use the REST services. As I need some custom stuff, I followed the sample and made a custom servlet, refecence it via META-INF etc..
That's cool...as long as all my code is in the NSF (either in a custom source folder or as jar fies in web-inf/lib)
For practical reason, I want to turn my custom rest servlet project into a separate eclipse project.
- I let the META-INF/Services.. file in the NSF
- I make an OSGI plugin from my code (I even try to turn that into an extension library)
But as soon as my code is outside the NSF (OSGI plugin - I checked it was resolved by domino - or as a jar in jvm/lib/ext), my rest services no longer works.
In the domino log files, I see that services are trying to be loaded from within the NSF itself
Question is : is it possible to have custom servlets code OUTSIDE of the NSF ?
Thanks
Modification history
| Entered 19-Aug-2011 8:42 by Michael Bourak. Last Modified <none> by Niklas Heidloff. |
Feedback
Check out other projects
Anonymous