> From: A mailing list for Enterprise JavaBeans development
> [mailto:[EMAIL PROTECTED]]On Behalf Of Robert Zhang
> 1. For an EJB container, is it easier to manage 100 pooled instances of the
> same stateless session bean class or 100 pooled instances of 10 different
> SLSBs(10 instances for each SLSB)?
This is very implementation independent but I can't really see why it would
matter that much.
> 2. Can I specify 10 different EJBs in the xml deployment descriptor with
> different <ejb-name>'s but with the same remote, home interfaces, and the
> EJB class? For example, I want to use ejb1, ejb2, ejb3, ... ejb10 as the
> <ejb-name>'s to specify 10 EJBs in the descriptor. But they all use the
> same remote interface, home interface, and the EJB class.
Yes. That's the whole point of deployment descriptors (that and the fact that
Java bytecode doesn't support metadata... I wish Java worked on the CLR,
Microsoft definitely solved this problem)
--
Cedric
===========================================================================
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".