Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Wrapping Servlet for Portlet use  RSS feed

 
David Follow
Ranch Hand
Posts: 223
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I have a straight forward web application based on servlets.
The logic is located in servlets as well as the user interface rendering which is done using XSLT.

Due to new requirements I would like to utilize the Portlet API.
Now I am wondering if there is a good way to utilize the Portlet API without modifying too much of my Servlets.
I am thinking in the direction of maybe "wrapping" my servlets with some code that satisfies the Servlet API so i can deploy my application in a Portlet-Container such as Pluto and add new functionality to my application by simply providing new portlets over time.

Am I thinking in the right direction or am I missing something?

Any advice will be appreciated!

TIA.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!