I'm planning to create servlet that reusable which it can be used across all portlet on different war, but i don't know where i can put this servlet ? because as far as i know servlet itself only can be called if its in same context with portlet.
Please enlight me ...
posted 7 years ago
If you can separate the re-usable functionality, you need not make a servlet out of it, but make a utility and use it.
Probably if you are looking for a re-usable architecture over portlet spec, that you will extend to create your future portlets, you can build wrappers over the spec and add your functionality there. So, next time you crate a new portlet, you extend your wrapper classes rather than spec classes.
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads