[jboss-user] [Microcontainer] - Re: simple: bean name of ejb local in inject tag

2009-08-18 Thread jjfraney
Alesj, Thanks. That is much simpler (and less ribald) compared to Doing two models... Now that the jndi registry is 'regsitered', does every bean lookup now use it? even those by beans other than my own? Or is the jndi registry used only on bean name lookups that originate from my local

[jboss-user] [Microcontainer] - Re: simple: bean name of ejb local in inject tag

2009-08-18 Thread alesj
Yup, a good question. Unfortunately it is asked for every lookup. But I guess you can implement some short circle check. e.g. if (name.startsWith(jndi) == false) return null; Or something similar. Then the performance wouldn't be a huge issue. View the original post :

[jboss-user] [Microcontainer] - Re: simple: bean name of ejb local in inject tag

2009-08-17 Thread jaikiran
inspect bean=GooGooEngine/local/ | inspect? Or is that a typo for inject? EJBs are not deployed as Microcontainer Beans (MC beans). So they are not available for injection *in MC style*. However, Andrew recently has written a plugin where in you can inject EJB beans through annotations in

[jboss-user] [Microcontainer] - Re: simple: bean name of ejb local in inject tag

2009-08-17 Thread jjfraney
Thanks. yes, sorry, I meant to enter 'inject' not 'inspect'. Typo in the morning. I found Doing Two Models but on first read, I wasn't sure it applied to my question. Will re-read. In any case, it looks more complex than simply doing a jndi lookup explicitly from my mc pojo. Thanks

[jboss-user] [Microcontainer] - Re: simple: bean name of ejb local in inject tag

2009-08-17 Thread alesj
There is a JndiKernelRegistryPlugin which can help you with and MC+Jndi simple integration. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250014#4250014 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250014