[jboss-user] [EJB 3.0] - Re: Possible Bug?

2008-12-28 Thread mopuf
hi, IMHO here we deal here with two problems (at least), one of my first question is which is your goal ? Here are my answers to your problem : 1.The EJBs does JNDI behind the scene and to solve this you must help him a little - with some configuration files. 2.If two bean are implementing the s

[jboss-user] [EJB 3.0] - Re: Not injecting instanceId, no matching enc injector ...

2008-12-28 Thread mopuf
Hi, You can only inject managed classes and integer is not. If you will do something like : | @Resource Queue stockInfoQueue; | will work because this is a managed class. If you try to inejct a bean you shoud try the EJB adnotatin. Regards, M View the original post : http://www.jboss