Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Portals and Portlets and the fly likes Query on JSR 168 Struts portlet Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Portals and Portlets
Reply Bookmark "Query on JSR 168 Struts portlet" Watch "Query on JSR 168 Struts portlet" New topic
Author

Query on JSR 168 Struts portlet

GaneshKumar Kumar
Greenhorn

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.

Thanks.
Ganesh
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4967

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


Author of Hibernate Made Easy, What is WebSphere???, JSF 2.0 Made Easy and the SCJA Certification Guides
GaneshKumar Kumar
Greenhorn

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

Regards,
Ganesh
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Query on JSR 168 Struts portlet
 
Similar Threads
Designing a job portal System
IRAD 6.0 and Struts Portlet
Choosing Page Flow Portlets or Java Portlets - Weblogic
Struts Application to a Portlet
Convert JSP/Servlet Application to portlet