First sorry, if you have already received this message but I changed my e-mail adress and I don't have received this message that I posted yesterday.
The following question is not specific to Struts but many messages were exchanged on the list about the management of the HttpSessions objects. In addition a lot of people developing a Struts applications like me one being confronted with this problem. My question is about business object. Let us consider the following shopping cart application with the following architecture WebBrowser1 -> WebServer/Struts application ---(IIOP/CORBA)-> ApplicationServer WebBrowser2-> we distinguish two "types" of business objects for a client: - a catalog of object to show available articles; the difficulty is that all the clients don't have the same global list because access to objects depend on authorization mechanism. We get the catalog through a CORBA request to our application server,the user right filter is not done on the web server side but on the application server. The catlog object is a cache of the application server data. - a shopping cart object to temporarily hold a client's selection ( = these objects represent the state of the client); this object represents the items and quantities of the items purchased by the client. Concerning the shopping cart object one does not put questions it will be saved in the HttpSession object. But concerning the catalog of object (cache of the application serer data), where does one have to save it? in the HttpSession too ? because of authorization mechanism this object can not be saved in the ServletContext. So we have two solutions: - send a request to the application server each time the page is displayed - or save this object in the HttpSession object In the last case we will have redundancy, some object will be duplicated. Is there an other solution ? does somebody have already to manage this case of figure ? Thanks a lot for your help Sandra ----------------------------------------------------------- As of February 12, 2003 Thomson unifies its email addresses on a worldwide basis.Please note my new email address: [EMAIL PROTECTED] Thomson is the leader in solutions and technologies for the entertainment and media industries and serves its customers under its four strategic brands: Technicolor, Grass Valley, RCA and THOMSON. More about Thomson: http://www.thomson.net/videochain --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]