Yeah, they're created by the <entityfacade> xdoclet tag. Session beans
wrapping the functionality of the entity beans and transfering all data as
value objects. XDoclet uses dataobjects in the implementation of these, so
we incuded a special version supporting our Middlegen-version of the value
objects..

It has been tested to work quite well. For instance if you want to access
the data remotely, having a facade like that is the best choice. The
entity beans should only be accessed through local interfaces.

.eivind

On Mon, 16 Jun 2003, Dos Santos wrote:

> Ok, I didn't know that.
> 
> I built them and everything seems to be fine. I have
> one more question though, what is a session facade? is
> it a session wrapper bean?
> 
> Thanks so much for your help.
> 
> --- Eivind Waaler <[EMAIL PROTECTED]> wrote:
> > When you get Middlegen from CVS you have to build
> > the jar files.
> > 
> > Just write 'ant' in the root directory. Then proceed
> > as normal. If you
> > look at the build.xml file from this branch you'll
> > see that the <cmp20>
> > tag has a valueobject="true" attribute. Also the
> > <ejbdoclet> task is set
> > up with <valueobject> at the right place.
> > 
> > I also generates facade session beans etc.
> > 
> > Let me know if there are problems.
> > 
> > Regards
> > .eivind
> > 
> > On Mon, 16 Jun 2003, Dos Santos wrote:
> > 
> > > I did that, and for some reason it's not
> > downloading
> > > any middlegen jar files. 
> > > 
> > > --- [EMAIL PROTECTED] wrote:
> > > > I'd reccommend just grabbing a fresh tree w/ the
> > > > branch like:
> > > > 
> > > > cvs -z 3 -d
> > > >
> > >
> >
> :pserver:[EMAIL PROTECTED]:/cvsroot/middlegen
> > > > 
> > > > login
> > > > cvs -z 3 -d
> > > >
> > >
> >
> :pserver:[EMAIL PROTECTED]:/cvsroot/middlegen
> > > > co 
> > > > -r VALUEOBJECT_REFACTORING_BRANCH middlegen
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > Dos Santos <[EMAIL PROTECTED]>
> > > > Sent by:
> > [EMAIL PROTECTED]
> > > > 06/13/2003 05:59 PM
> > > > Please respond to middlegen-user
> > > >  
> > > >         To:    
> > [EMAIL PROTECTED]
> > > >         cc: 
> > > >         Subject:        Re: [Middlegen-user]
> > Value
> > > > Object Patterns
> > > > 
> > > > 
> > > > I really need help! I've been trying to update
> > > > middlegen with the
> > VALUEOBJECT_REFACTORING_BRANCH
> > > > but
> > > > it doesn't seem to work.
> > > > 
> > > > It gives messages like:
> > > > 
> > > > file:C:/middlegen/middlegen/app/build.xml:151:
> > Class
> > > > middlegen.plugins.ent
> > > > itybean.CMP20Plugin doesn't support the
> > > > "valueobject"
> > > > attribute.
> > > > 
> > > > It's not downloading any middlegen jars into the
> > > > samples/lib directory. Should it do that? 
> > > > 
> > > > I would truly truly appreciate any help!!!!
> > > > 
> > > > --- Dos Santos <[EMAIL PROTECTED]> wrote:
> > > > > I'd also like to know where should the
> > valueobject
> > > > > be.I tried to put it inside the cmp20 tag but
> > it
> > > > > says
> > > > > that it's not supported. 
> > > > > 
> > > > > Thanks again.
> > > > > --- Eivind Waaler <[EMAIL PROTECTED]> wrote:
> > > > > > I have done some work on this in a separate
> > > > branch
> > > > > > in CVS. Check out the
> > > > > > VALUEOBJECT_REFACTORING_BRANCH branch from
> > > > > Middlegen
> > > > > > CVS repository.
> > > > > > 
> > > > > > See the following mail thread for more info:
> > > > > >
> > > > >
> > > >
> > >
> >
> http://sourceforge.net/mailarchive/message.php?msg_id=5077594
> > > > > > 
> > > > > > .eivind
> > > > > > 
> > > > > > On Thu, 12 Jun 2003, Dos Santos wrote:
> > > > > > 
> > > > > > > I found that middlegen has a dataobject
> > > > > attribute
> > > > > > for
> > > > > > > the cmp20 plugin. The thing is that
> > dataobject
> > > > > is
> > > > > > > deprecated in the newest xdoclet in favor
> > of
> > > > > > > valueobject. Is there anything that
> > currently
> > > > > > assesses
> > > > > > > this in middlegen.
> > > > > > > 
> > > > > > > Thanks.
> > > > > > > 
> > > > > > > --- Dos Santos <[EMAIL PROTECTED]>
> > wrote:
> > > > > > > > Hi! I was wondering if there's any way
> > of
> > > > > > working
> > > > > > > > with
> > > > > > > > Value Object patterns directly from
> > > > middlegen
> > > > > or
> > > > > > if
> > > > > > > > I'd have to modify the generated beans
> > to
> > > > > later
> > > > > > run
> > > > > > > > them through xdoclet.
> > > > > > > > 
> > > > > > > > Any input on the subject is welcome.
> > > > > > > > 
> > > > > > > > Thanks.
> > > > > > > > 
> > > > > > > > __________________________________
> > > > > > > > Do you Yahoo!?
> > > > > > > > Yahoo! Calendar - Free online calendar
> > with
> > > > > sync
> > > > > > to
> > > > > > > > Outlook(TM).
> > > > > > > > http://calendar.yahoo.com
> > > > > > > > 
> > > > > > > > 
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> -------------------------------------------------------
> > > > > > > > This SF.NET email is sponsored by: eBay
> > > > > > > > Great deals on office technology -- on
> > eBay
> > > > > now!
> > > > > > > > Click here:
> > > > > > > >
> > > > > >
> > > >
> > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
> > > > > > > >
> > > > >
> > _______________________________________________
> > > > > > > > middlegen-user mailing list
> > > > > > > > [EMAIL PROTECTED]
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> https://lists.sourceforge.net/lists/listinfo/middlegen-user
> > > > > > > 
> > > > > > > 
> > > > > > > __________________________________
> > > > > > > Do you Yahoo!?
> > > > > > > Yahoo! Calendar - Free online calendar
> > with
> > > > sync
> > > > > > to Outlook(TM).
> > > > > > > http://calendar.yahoo.com
> > > > > > > 
> > > > > > > 
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> -------------------------------------------------------
> > > > > > > This SF.NET email is sponsored by: eBay
> > > > > > > Great deals on office technology -- on
> > eBay
> > > > now!
> > 
> === message truncated ===
> 
> 
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
> 
> 
> -------------------------------------------------------
> This SF.NET email is sponsored by: eBay
> Great deals on office technology -- on eBay now! Click here:
> http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
> _______________________________________________
> middlegen-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/middlegen-user
> 



-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
middlegen-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/middlegen-user

Reply via email to