The final word on this is the DTD for the XML descriptor.  It says the
resource-ref is an optional tag, so you shouldn't need it.

These lines in the comments make it clear:

...an optional declaration of the bean's EJB references;...

-- and --

The other elements that are optional are "optional" in the sense that
they are omitted if the lists represented by them are empty.





Jonathan Baker
Internet Applications Division



J�r�me Beau wrote:
>
> When migrating from some application server to another,
> the <resource-ref> tag seem to be mandatory or not
> for CMP in the ejb-jar descriptor.
> For example, J2EE nor Weblogic does not require it,
> while the Inprise Application Server does.
>
> The specification states that the <resource-ref> element is here to
> let you know what are the EJB resource dependencies. This is tyically
> stateless bean accessing a datasource, but it sounds to me that
> such dependency information should be mandatory for CMP too.
>
> Does anyone know the truth about this ?
>
> Thanks.
>
> ===========================================================================
> 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".

===========================================================================
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