In the example I was thinking of that the Ticket Entity bean was a seperate class.
-----Original Message----- From: Jean-philippe VIGNIEL [mailto:[EMAIL PROTECTED] Sent: Wed 13/08/2003 08:01 To: [EMAIL PROTECTED] Cc: Subject: Re: [Xdoclet-user] What's the need of @ejb.ejb-ref Is your Ticket Entity bean a member of OrderTicket? What could appen if you don't use this tag and just add a member of type TicketEntity? Is it a wrong design? Jean-Philippe [EMAIL PROTECTED] wrote: >I believe teh ejb-ref tag is to reference an EJB on the same application server. That is how I use it. > >For example my OrderTicket Session bean has an ejb-ref tag so it can use the Ticket Entity bean. > >Tim > > >-----Original Message----- >From: Jean-philippe VIGNIEL [mailto:[EMAIL PROTECTED] >Sent: Tue 12/08/2003 14:19 >To: [EMAIL PROTECTED] >Cc: >Subject: [Xdoclet-user] What's the need of @ejb.ejb-ref > >Another question > >I read that there is a class tag called @ejb.ejb-ref which defines a >reference between two EJBs. >Shall we use it if a member of an ejb is another EJB? >Could we have some problems by having a simple reference between two EJB >like the following code. > >ClassBean extends SessionBean{ >... > ClassEntityBean _entity; >... >} > >ClassEntityBean extends EntityBean { > ... >} > > >Does the ejbPassivate is able to manage this configuration without >further informations? > >What is your advice about that?? > >Jean-Philippe > > > >------------------------------------------------------- >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_0 1/01 >_______________________________________________ >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 The information in this email is confidential and is intended solely for the addressee. Access to this email by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, except for the purpose of delivery to the addressee, is prohibited and may be unlawful. Kindly notify the sender and delete the message and any attachment from your computer. ------------------------------------------------------- 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
