Rickard �berg wrote:
> For customization you should use deployment descriptors

I also see some drawbacks using deployment descriptors for
customization:
1. The spec reduces the possible types for environment variables to
String, Integer, Boolean, Double and Float (Spec 1.1, page 206).
2. As far as I know most EJB Server/Containers do not allow to edit the
deployment descriptor dynamically. Take for example Bea's Weblogic,
which must be shut down and restarted to take effect on any changes.
3. You have to set up a deployment descriptor for every customized bean,
even if you intend to instanciate only one instance of that bean. So
you  won't take advantage of the fact that you can have multiple
instances of the same (customized) bean (I hope everyone understands
what I mean, my english is kind of awful in these things). If you use
customizers like JavaBeans customizers, you could just set up one bean
with one deployment descriptor and have each instance be customized by
its client individually.

Matthias.


----------
Matthias David
University of Karlsruhe, Germany.

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