Assaf Arkin wrote:
> Laird Nelson wrote:
> >
> > Assaf Arkin wrote:
> > > Confusing name. The deployment descriptor is created by the bean
> > > developer, the bean developer gets to specify which type of bean it is.
> > > The deployment descriptor is *not* created or modified at deployment
> > > time.
> >
> > *Blink* *blink* so why aren't its attributes specified in the bean code,
> > or as the results of public final methods?
>
> Potentially you can do the same with the transaction attribute, the
> resource names, etc. But the textual DD is easier for to work with and
> do discovery.
>
> Next step I might want to add an asynchronous bean (JMS) which has the
> same interface as a session bean, but different deployment attribute.
> Just an idea :-)
>
Just for completeness: The DD ist always created by the Bean developer and can be
modified by the deployer.
A deployment descriptor has two parts:
-> The part containing stuctural information: <enterprise-bean>. This is
rarely modified by the deployer (although tags like <ejb-link> or
<env-entry-value> are).
-> The part containing behavioral information: <assembly-descriptor>. This is
rarely provided by the bean developer. It is created and modified by deployers
(and more precisely the application assembler).
--
Francis Pouatcha
MATHEMA Software GmbH
http://www.mathema.de
===========================================================================
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".