--- 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.


SessionFacade was designed to allow convenient access
to collections of data/value objects through remote
adapter class. 

in JSP /servlet you do not need to notify 
big bunch of user interface objects about changes - 
you just relist them on new request ( if request comes
)

But if your jsp goes to the EJB remotely, it could be
suitable to strip data/value object in EJB container,
and return just them instead of remote interfaces.
( but funny thing, if sessionfacaceEJB likes to 
return remote interfaces, it would have to call
entites also remotely... )

regards,

=====
Konstantin Priblouda ( ko5tik )    Freelance Software developer
< http://www.pribluda.de > < play java games -> http://www.yook.de >
< render charts online -> http://www.pribluda.de/povray/ >

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


-------------------------------------------------------
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

Reply via email to