my dog learned polymorphism*
The moose likes Portals and Portlets and the fly likes Portal and portlet in WebSphere and remote struts application in weblogic Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "Portal and portlet in WebSphere and remote struts application in weblogic" Watch "Portal and portlet in WebSphere and remote struts application in weblogic" New topic
Author

Portal and portlet in WebSphere and remote struts application in weblogic

abhay rijhwani
Greenhorn

Joined: Oct 11, 2007
Posts: 3
We have an existing struts application which has to be exposed as portlets. The constraint we face is that the struts application is running in Weblogic server. And the portal/portlets should be in IBM Websphere. There are technical difficulties in moving the struts application to Websphere.

1. Is the combination where the struts application running in a Weblogic server, and Portal and portlets running in Websphere portal server possible?

2. Can we develop JSR 168 portlets with IBM RAD to expose an already existing struts application on a remote Weblogic server?
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968
    
    1

Here's a tutorial on developing a Struts portlet for IBM WebSphere Portal Server:

Developing a JSR-168 Compliant Struts Portlet for IBM WebSphere Portal Server Tutorial

Here's a free multimedia CBT tutorial on using the JSR-168 Struts Bridges. There's also a tutorial on doing a JSR168 JSF Portlet, which tends to be the direction with IBM.

Creating a JSR-168 Struts Portlet using the Apache Bridges - JSF too!!!


As far as struts goes, you can wrap your struts applications with the IBM provided Struts framework. Still, there are some issues, namely how forwards are configured in the struts-config.xml file, so thorough testing is definitely required.

You won't be able to keep the struts apps on the WebLogic server, unless you take advantage of web page clipping, which has a set of its own issues. You'll have to move the struts app to the WebSphere server.

Moving to the portal takes a bit of a mindshift. Don't just think of the portal as a bunch of stand-alone Servlet/JSP apps wrapped in a portlet. That's not what the portal server is all about. Try and think from a portal perspective, and think about how the features of personalization and customization could bring your existing apps to a higher level, and then think about the migration.

By the way, for plenty of portal development tutorials for WebSphere or just JSR-168 in general, check out my signature links. There's even some WebSphere Portal Administration tutorials and CBTs as well, along with some portal development best practices that are worth reading. And it's all free!

Happy Portal!

-Cameron McKenzie
[ October 14, 2007: Message edited by: Cameron McKenzie ]
abhay rijhwani
Greenhorn

Joined: Oct 11, 2007
Posts: 3
I just investigated the option of web page clipping but it seems web page clipping cannot be used for struts applications but only for web resources such as JSPs.
IS there any other option to connect to a remote struts applicaion in weblogic through a websphere portlet?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Portal and portlet in WebSphere and remote struts application in weblogic