In you original possting you [Konstantin Priblouda] said (about session
bean) facades :

>It's not very usefull if you are working with
>web-frontend, where you have to pull data on every
>request anyway, but for swing applications,
>where you need table/tree/combo models.

Below you say

> For JSP scenario I would prefer ( may be ) session
> bean which generates data model for me, and render JSP
> using it.

I aint getting it. Isnt this a contradiction. What are you really advocating
?

If I now have a JSP client (though  you dont like  it),  whats the
alternantive to a session facade ? Are you suggesting some special framework
instead of using the standard (such as eg struts). Care to comment on the
push and pull models respectively (or give a url) ?

That was my original concern, the rest of your posting I essentially agree
with (though I believe that patterns are real life project experience ;-)

Regards

----- Original Message -----
From: "Konstantin Priblouda" <[EMAIL PROTECTED]>
To: "Lukas Severin" <[EMAIL PROTECTED]>
Cc: "xdoclet-user" <[EMAIL PROTECTED]>
Sent: Wednesday, December 04, 2002 1:59 PM
Subject: Re: [Xdoclet-user] Facades and value objects.


>
> > 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 ? :
>
> Well, pattern books are pattern books, but there is
> real life...
>
> > JSP -> BD -> Session facade > Entity Bean
> >
> > Whats the alternative ?
> >
> > (Sorry if this is getting off topic)
>
> Why offtopic? XDoclet is about generating patterns.
>
> Session facades are usefull to reduce remote
> comminication with ejb container. But if you live in
> same JVM, you can go through local, and save
> invocation ( and coding ) overhead.
>
> For JSP scenario I would prefer ( may be ) session
> bean which generates data model for me, and render JSP
> using it.  There could be several data models of
> course...
>
> I would also prefer to deep-six JSP completely and use
> velocity as HTML renderer - it's faster and easier to
> use...
>
> I developed sessionfacade/remotefacade pair for my
> swing application scenario, where I  have a lot of
> CRUD
> stuff - which also need to be done...
>
> 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