Re: Injection of objet created by interceptor (per request)

2012-05-11 Thread David Blevins
On May 9, 2012, at 3:52 AM, Eric Chatellier wrote: > Hi, > > I'm currently using openejb 4.0 as embedded ejb container. > > I'm also trying to find a proper way to create object > in interceptor and getting access to them in EJB. > > Is there any way to: > - create an object (in this case a tra

Re: EJB injection issue

2012-05-11 Thread Romain Manni-Bucau
It should work. Le 11 mai 2012 18:05, "stx_g" a écrit : > Hi Romain. > > > > Romain Manni-Bucau wrote > > > > > > without a sample to work on that's a bit hard :s > > > > Yes, I know. :-( > > > Romain Manni-Bucau wrote > > > > do you use an ear? > > > > No, we use a WAR package but I just found a

Re: EJB injection issue

2012-05-11 Thread stx_g
Hi Romain. Romain Manni-Bucau wrote > > > without a sample to work on that's a bit hard :s > Yes, I know. :-( Romain Manni-Bucau wrote > > do you use an ear? > No, we use a WAR package but I just found a mistake we made: the majority of EJBs are inside the classes directory but there ar

Re: Could not find artifact org.apache.openejb:apache-tomee:jar:1.0.0 in central

2012-05-11 Thread José Luis Cetina
Thanks, it works with this: org.apache.openejb apache-tomee 1.0.0 webprofile zip i get the "erroneous" dependency from here: http://mvnrepository.com/artifact/org.apache.openejb/apache-tomee/1.0.0 Thanks 2012/5/11 Romain Manni-Buc

Re: Could not find artifact org.apache.openejb:apache-tomee:jar:1.0.0 in central

2012-05-11 Thread Romain Manni-Bucau
Add the classifier webprofile or plus and the type zip. Le 11 mai 2012 17:47, "José Luis Cetina" a écrit : > Im trying to use tomee dependecy for a maven project but i get an error: > > pom.xml > > > > org.apache.openejb > apache-tomee > 1.0.0 > > > > > Error: > > Failed to execute goa

Could not find artifact org.apache.openejb:apache-tomee:jar:1.0.0 in central

2012-05-11 Thread José Luis Cetina
Im trying to use tomee dependecy for a maven project but i get an error: pom.xml org.apache.openejb apache-tomee 1.0.0 Error: Failed to execute goal on project mavenproject2: Could not resolve dependencies for project com.mycompany:mavenproject2:war:1.0-SNAPSHOT: Could not find art

Re: EJB injection issue

2012-05-11 Thread Romain Manni-Bucau
hmm, without a sample to work on that's a bit hard :s do you use an ear? - Romain 2012/5/11 stx_g > Hi Romain, > > I’m sorry, I’m late but ... I spent a lot of time figuring out what's > wrong in my application ... without success. > > > Romain Manni-Bucau wrote > > > > a workaround can be

Re: EJB injection issue

2012-05-11 Thread stx_g
Hi Romain, I’m sorry, I’m late but ... I spent a lot of time figuring out what's wrong in my application ... without success. Romain Manni-Bucau wrote > > a workaround can be to use EJB as rest services (think to remove > transactions if you dont need them for performances reasons) > No w