Ooo... that sounds much nicer than what I've done - I added some code to scrape the mappedName attribute off the @Stateless and @Stateful annotations, propagated the mappedName attribute through the EnterpiseBeanInfo and CoreDeploymentInfo classes, and added an extra bind in JndiBuilder.

I'll have a look at moving it to a <jndi> tag instead, that sounds much neater!

Jon


David Blevins wrote:

On Jan 27, 2009, at 1:42 PM, David Blevins wrote:


On Jan 27, 2009, at 1:11 PM, Jonathan Gallimore wrote:

Is anyone working on these issues? I've had a bit of a play around with this, and think I have something working, I'm happy to test what I've done more thoroughly and commit it if no one is working on it at the moment.

Go for it.

Seems if we just move the supplied mappedName info into an openejb-jar.xml <jndi> tag, that would do the trick.

-David


Reply via email to