wood burning stoves
The moose likes Portals and Portlets and the fly likes Share data between WAS and WPS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "Share data between WAS and WPS" Watch "Share data between WAS and WPS" New topic

Share data between WAS and WPS

pulijala hari
Ranch Hand

Joined: May 14, 2005
Posts: 70

I have a JSR 168 portelt residing on WPS 6.0 and a JSP residing on WAS.I would like to share some data between these two. Is there any mechanism where the data will be shared between these two servers using Dynacache or any session replication mechanism.., please do let me know
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968

You're barking up the wrong tree trying to share data between these components using a Session.

If two web based components are supposed to interact, they should be deployed in a common war file. If not, your best bet at sharing data is to have one component write to a database table, and have the other component read this same table. You can use a WebSphere PortletService to easily accomplish this.

-Cameron McKenzie
pulijala hari
Ranch Hand

Joined: May 14, 2005
Posts: 70

What i mean is that i want to have inter portlet communication between a JSR 168 portlet sitting on WPS and a WSRP portlet sitting on WAS while conusmed on WPS.
Does any body have an idea..
Sanjay Kannan

Joined: Nov 25, 2007
Posts: 16
I don't think you can do a portlet to portlet communication with a WSRP portlet. If its possible let me know.
I agree. Here's the link: http://aspose.com/file-tools
subject: Share data between WAS and WPS
It's not a secret anymore!