portlet session data sharing
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere Portal Server > portlet session data sharing




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

dctomlinson is offline     portlet session data sharing  
dctomlinson


View Ip Address Report This Message To A Moderator Edit/Delete Message


Click Here to See the Profile for dctomlinson Click here to Send dctomlinson a Private Message Find more posts by dctomlinson Add dctomlinson to your buddy list
 
10-12-04 02:00 PM

Having developed J2EE Struts apps in WebSPhere for a couple of years, when I
 move to portal, I have run into an issue:

How to access shared common data?

We are developing a portal for a financial services firm. In addition to LDA
P based security, there is user information in the database that we want to 
be able to aggregate with some of the LDAP group data, and make available to
 the various portlets. This includes account data that restricts the user's 
view of data, user profile information, role information, etc.

Typically, we would extend the Struts controller to gather all relevant data
 and put into a session object., which would be available to all action clas
ses.

However, with Portal 5, the HTTP Session does not seen to be available. 
The Portlet Session is per portlet, if we were to create a singleton with a 
static hashmap, it wouldn't be available between portlets, because each Port
let is in a separate classloader (I think???)

the portal user profile seems to be only data that is defined in wmm.xml, et
c. etc. 

This all makes for a very fragmented and inefficient approach to session dat
a. 

Has anyone come up with a mechanism for sharing session level data?




[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:30 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register