my dog learned polymorphism*
The moose likes Portals and Portlets and the fly likes Query on JSR 168 Struts portlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "Query on JSR 168 Struts portlet" Watch "Query on JSR 168 Struts portlet" New topic

Query on JSR 168 Struts portlet

GaneshKumar Kumar

Joined: May 23, 2006
Posts: 24
Hi All,
I am using RAD 7.0 and WPS 6.0 for portal application development. I have developed some JSR 168 portlets. As for as I know Struts-Hibernate is a good combination. I have few questions here.

1.Will the JSR 168 Struts portlet support Hibernate?
2. Will the JSR 168 Struts portlet support Spring?

If so how to implement them? Any External .jsr files to be imported to my portlet project ?

3. Is Portlet-to-portlet communication possible in Struts portlet?

Please let me know.

Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968

Hey Ganesh.

If it's up to you, you really should be looking at JSF, especially if you're using IBM tools. IBM has really let their whole Struts support slide, as that is no longer their direction. IBM is all about JSF now, and for that matter, JSF apps slide into a portal framework much better than Struts apps do.

Either way, using Hibernate or Spring within the portlet is completely fair game. Absolutely no problem using Hibernate with Portlets, or Spring for that matter. The only issue you might get is classloader issues, with potentially different versions of common jar files on the WebSphere classpath, but that can usually be rectified by configuring some of the PARENT_FIRST or PARENT_LAST classloader configurations.

Good luck!

-Cameron McKenzie
GaneshKumar Kumar

Joined: May 23, 2006
Posts: 24
Thanks Cameron. I will check both Struts and JSF portlets.

I agree. Here's the link:
subject: Query on JSR 168 Struts portlet
Similar Threads
Choosing Page Flow Portlets or Java Portlets - Weblogic
Convert JSP/Servlet Application to portlet
Designing a job portal System
IRAD 6.0 and Struts Portlet
Struts Application to a Portlet