I want to create a lightweight portal using the Java specification. I want to be able to deploy the same portal project in different application servers (in this case WebSphere, Tomcat and JBoss).
I've checked products like Liferay, but I want to create my own framework and interface, and just embed Java Portlets, instead of using Liferay's full framework and interface.
With IBM WebSphere (not WebSphere Portal), I followed the following guide:
I managed to create a simple JSP embedding two simple portlets. Each of the portlet projects are product agnostic (contrary to Liferay or Apache Pluto projects, which include product-specific configuration files). This is what I want to do.
The problem is that, if I try to run those same projects in Tomcat or JBoss, they are not working. As I said before, the projects doesn't have any IBM or WebSphere specific configuration files.
So, my questions are:
- Is there a way to use Java Portlet projects without having to add vendor-specific files or code, and add them to any application server?
- Where can I find the guidelines to create application-server-agnostic portlets and portals?
- Is it the case that WebSphere has a portlet container but the other servers don't?