Hey

Joel Nylund wrote:
> Is it considered ok to deploy more than one bean of a given type.

Yes.

> For example if I have a session bean called ProcessRequest, and I have a
> ProcessRequestHome interface, and a ProcessRequest (remote) interface.
>
> I would like the option to deploy 2 of these under different jdni names.
> I could create 2 deployment descriptors, with different bean names, and
> register both of them in the server.

Should be no problem. Theoretically.

> Then have certain clients use certain named versions these beans.

> So I guess there are really 2 questions here, is this allowed in the
> spec

Yes.

> and do the app servers allow this?

Serverdependent I guess, but they should as this is not a limitation
imposed by the EJB specification.

If you deploy an EntityBean twice under different names they should not
use the same database table or else it will get "interesting" depending
on tx settings and such...

/Rickard

ps. For example, my own EJB server, XS, cannot handle your requested
scenario under certain circumstances, but that's a bug IMO 8-) ds.

--
Rickard �berg

@home: +46 13 177937
Email: [EMAIL PROTECTED]
Homepage: http://www-und.ida.liu.se/~ricob684

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