-
1. Re: How to embed version number in ejb jndi names?
alrubinger Feb 7, 2007 9:31 PM (in response to jbelis)@LocalBinding and @RemoteBinding :)
S,
ALR -
2. Re: How to embed version number in ejb jndi names?
mkleiderman Feb 7, 2007 10:05 PM (in response to jbelis)If you put the version number in the .ear file, it winds up inserting itself into the JNDI name
-
3. Re: How to embed version number in ejb jndi names?
mkleiderman Feb 7, 2007 10:05 PM (in response to jbelis)If you put the version number in the .ear file, it winds up inserting itself into the JNDI name
-
4. Re: How to embed version number in ejb jndi names?
alrubinger Feb 8, 2007 4:10 PM (in response to jbelis)Also...if you start placing different versions of the same class name in separate EJB modules, you'll get all sorts of classloading errors unless you constrain each deployable unit to its own scoped classloader.
-
5. Re: How to embed version number in ejb jndi names?
jbelis Feb 8, 2007 10:08 PM (in response to jbelis)Thanks for the answers.
I tried the @RemoteBinding approach, and it allows you to lookup beans under an overriding name. Cool. However, JBoss does not let me deploy 2 ejb jars with different versions of EJBs, even if the @RemoteBinding annotations are not conflicting. It says the names are already bound when i deploy the second one.
The versioned ear file approach works though. It appears to be better able to provide isolation between apps. Thanks again.