> > --- Lukas Severin <[EMAIL PROTECTED]> wrote: > > Sorry, I dont understand this. Do you say that a > > session facade bean > > returning a value object is NOT suitable when using > > a JSP client because the > > JSP uses a pull strategy ? > > Well, JSP ( or servlet ) works on request bases, and > is basically stateless - so keeping value objects for > later use is not convenient. > Of course you can store your value object on user > session, but you will have to resynch them on request. >
Thats how I thought this was generally done, in principle it means having an optimistic strategy for the unlikely event that some date are stale. By the way, isnt this what all pattern books suggests ? : JSP -> BD -> Session facade > Entity Bean Whats the alternative ? (Sorry if this is getting off topic) ------------------------------------------------------- This SF.net email is sponsored by: Microsoft Visual Studio.NET comprehensive development tool, built to increase your productivity. Try a free online hosted session at: http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
