I never used it, but for this task there is a "JBoss Portal Struts-Bridge". I think this should enable you to deploy your struts application as portlet with minimum efford.
There is a Struts-Bridge demo at http://labs.jboss.com/portal/index.html?ctrl:id=page.default.downloads&project=portletswap&category=.portlets.framework
Thanks for the reply. I have used struts-brigde and make my application as portlet. Now I have different applications which are developed using struts. How can I integrate these different application into single portal?
Please help me.
I guess that you should edit the XML deployment descriptors to configure/setup your portal. With JBoss Portal 2.2 these are the files with names like WEB-INF/xxxxx-portal.xml and WEB-INF/yyyyyy-object.xml. You should deploy them with one of your portlet applications. So what these files are doing? They define the portal structure for instance theme, layout, pages and of course the portlets arranged on the pages. The XML descriptor files are well documented at http://www.jboss.org/products/jbossportal/docs
You could also look at the files already deliverd with JBoss Portal, which are:
Possibly there is also a way to arrange portlets on pages using an administration portlet of JBoss Portal. But i never tried that.
Thank you very much for your reply. I have successfully executed 4 different portlets in one portal. In this case all portlets are build in same .war file and in the same server. I have tried all these things to acheive my requirement. But I did not get a solution for that.
In my case, all different applications are existing in their own .war files. How can integrate multiple .war files into one portal. Do I need to write something WSRP files. IF I need to do so, then please let me know what are the steps I should follow. What files I need to update.
I am very much thankful to you if you could help me in this regards.
I have successfully created and executed 4 different sample portlets and integrated in one page. In this case all portlets are built in same .war file and deployed in the same jboss server. I have tried all these things to acheive my requirement. But I did not get a solution for my requirement.
In my scenario:
the requirement is, all different applications are existing in their own .war files. How can I integrate multiple .war files into one portal and access them from my portal. Do I need to write something related to WSRP files. If I have to do so, then please let me know what are the steps I should follow in the jboss portal server. What are the files I need to update.
not sure about the struts bridge, but the portal allows you to deploy separate wars containing portlet artifacts. You can do that with portlets, page, portals, themes, layouts, etc.
All that should be required is the appropriate descriptor bundled into the war you deploy. So for example, if your war contains a WEB-INF/myportal-object.xml descriptor, then all the portals, pages, instance defined in there should be available to the portal after deployment.