On Aug 8, 2006, at 9:19 AM, Mohammed Nour wrote:


As far as specifying the names goes, we should still have some sort
of strategy for automatically creating the jndi-names for each
interfaces for people who don't really care as long as they don't
have to type them in.  This has been something i've wanted to do for
a while.  We do it already, but it should be completely configurable
at a system or ejb-jar.  The explicitly set names would always win
over the templated names.

Thoughts on that?


We can use the fully qualified Java names of the interfaces to create an
automatic JNDI names for them, like this

*some.bean.SomeBeanLocalHomeInterface* will have a JNDI name like this
*some/bean/SomeBeanLocalHomeInterface*

what do you think ?


That'd work unless two beans use the same interface. But that does sound like a great strategy regardless. We should code up a bunch of these and then pick one as the default and keep the rest as options.

-David


Thanks and best regards...
Mohammad Nour El-Din



-David










Reply via email to