Re: EJB in other application via JNDI

2012-06-26 Thread Marco de Booij
Thanks, I thought that if they are both on the same Tomee (same JVM) that @Local was sufficient and that @Remote was only needed if you deploy your application on another application server. I had to change the initialisation of the InitialContext. I use the 'Remote Client with HTTP (in TomE

EJB in other application via JNDI

2012-06-25 Thread Marco de Booij
Hello, I am a bit puzzled with the JNDI. I have a bean that has the following entries in the log file: 24-jun-2012 22:15:52 org.apache.openejb.assembler.classic.JndiBuilder bind INFO: Jndi(name=I18nTekstManagerLocal) --> Ejb(deployment-id=I18nTekstManager) 24-jun-2012 22:15:52 org.apache.ope

Re: EJB in other application via JNDI

2012-06-25 Thread Romain Manni-Bucau
add @Remote on II18nTekst and use I18nTekstManagerRemote jndi name - Romain 2012/6/25 Marco de Booij > Hello, > > I am a bit puzzled with the JNDI. I have a bean that has the following > entries in the log file: > > 24-jun-2012 22:15:52 org.apache.openejb.assembler.**classic.JndiBuilder > bin

EJB in other application via JNDI

2012-06-25 Thread Marco de Booij
Hello, I am a bit puzzled with the JNDI. I have a bean that has the following entries in the log file: 24-jun-2012 22:15:52 org.apache.openejb.assembler.classic.JndiBuilder bind INFO: Jndi(name=I18nTekstManagerLocal) --> Ejb(deployment-id=I18nTekstManager) 24-jun-2012 22:15:52 org.apache.ope