you are effectively correct... 

Best place to go about this stuff is the javasoft site and find the
blueprint patterns stuff... this usually describes the reasons why and
some good examples of how...



----- Original Message -----
From: Eric Chow <[EMAIL PROTECTED]>
Date: Tuesday, August 12, 2003 4:46 pm
Subject: Re: [Xdoclet-user] Relations : ValueObject or EJB Interface ?

> So you means that it doesn't matter to use ValueObject or interface 
> if using
> Local Interface, right?
> 
> If used Remote Interface, it's better to use ValueObject.
> 
> Eric
> 
> 
> ----- Original Message -----
> From: "Shane Griggs" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, August 12, 2003 11:34 AM
> Subject: Re: [Xdoclet-user] Relations : ValueObject or EJB 
> Interface ?
> 
> 
> > With a remote Entity call you have the overhead of high network 
> traffic> - serialisation, intercall ops etc... each call to an 
> exposed method
> > call, via the interface, incurs this overhead... Its an expensive 
> way of
> > gaining access to entity information - a unfortunate shortfall of 
> using> remote entities...
> > To reduce this overhead, and as we would normally get all data 
> within> the client calling method anyway, data should populated in 
> a ValueObject
> > (just a plain old serialisable java object with all field data
> > accessible) and returned to the client one call - only one overhead
> > association...
> >
> > Access to this value object (dataobject, data transfer object, 
> pojo or
> > whatever), should be done via a session facade... the session 
> facade or
> > the local entity can then populate the valueobject...
> > ----- Original Message -----
> > From: Eric Chow <[EMAIL PROTECTED]>
> > Date: Tuesday, August 12, 2003 2:00 pm
> > Subject: [Xdoclet-user] Relations : ValueObject or EJB Interface ?
> >
> > > Hello,
> > >
> > > When I defined relationships between EJBs, I always use their
> > > interfaces or
> > > always returns their interfaces.
> > >
> > > I read so many articles and XDoclet user mailling list, there are
> > > so many
> > > discuss topic in using ValueObject.
> > >
> > > What's the benefit in using ValueObject? Is it better to return
> > > ValueObjectother than the EJB's interface ???
> > >
> > >
> > > Best regards,
> > > Eric
> > >
> > >
> > > ==========================
> > > If you know what you are doing,
> > > it is not called RESEARCH!
> > > ==========================
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.Net email sponsored by: Free pre-built ASP.NET sites 
> including> > Data Reports, E-commerce, Portals, and Forums are 
> available now.
> > > Download today and enter to win an XBOX or Visual Studio .NET.
> > > http:
> > > _______________________________________________
> > > xdoclet-user mailing list
> > > [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> > >
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email sponsored by: Free pre-built ASP.NET sites 
> including> Data Reports, E-commerce, Portals, and Forums are 
> available now.
> > Download today and enter to win an XBOX or Visual Studio .NET.
> >
> http:
> > _______________________________________________
> > xdoclet-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
> http:
> _______________________________________________
> xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> 



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to