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_01/01
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



<<winmail.dat>>

Reply via email to