Hi, I have some questions regarding EJB. I hope
someone here can help.

1. In the ejb-jar.xml file, why do we need to the
<home> and <remote> tags for every ejb-ref section?
Wouldn't <ejb-link> provides a unique "key" to look up
those information from the xml file? It seems to make
more sense to make <ejb-link> mandatory and remove the
<home> and <remote> tags from this section.

2. Is there any restriction on what I can do in the
EJB bean's default constructor?

3. Can I have multiple remote interfaces and homes for
a single remote bean implementation? For example,
Remote1 will expose method "getData", Remote2 will
expose method "checkBalance", etc. Under the cover,
there is only one bean implementation which implements
both "getData" and "checkBalance". Is it a common
practice?

Thanks!
Charles

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to