Re: @LocalBinding with openejb

2008-09-08 Thread Jean-Louis MONTEIRO
Hi, Changing the JNDI name is also possible with OpenEJB. You can override default naming for each module, ejb, ... Did you have a look on that ? http://openejb.apache.org/3.0/jndi-names.html Regards, Jean-Louis Andreas Karalus wrote: dain, thank you for your reply. The annotations

Unit tests for concurrent transactions

2008-09-08 Thread Marcin Kwapisz
Hi, I would like to make unit tests for concurrent transactions, for example to check optimistic locking. Is it possible to perform such tests with embedded OpenEJB? If the answer is: yes, how can I control the order of operations in two concurrent transactions. Thanks in advance Regards --

Re: @LocalBinding with openejb

2008-09-08 Thread Andreas Karalus
hello guys, thank you for you replies so far. what I exactly mean is following: In openejb, the default jndi binding pattern is done by setting the property openejb.jndiname.format. It is possible to override this for a specific ejb by the creating an openejb-jar.xml file like this openejb-jar

Re: @LocalBinding with openejb

2008-09-08 Thread Mohammad Nour El-Din
I think Andreas means that you can override the binding to make it local rather than remote or vise-versa . On Mon, Sep 8, 2008 at 10:49 AM, Jean-Louis MONTEIRO [EMAIL PROTECTED] wrote: Hi, Changing the JNDI name is also possible with OpenEJB. You can override default naming for each module,

Re: Unit Tests hangs on getting connection

2008-09-08 Thread David Blevins
On Sep 5, 2008, at 7:47 AM, Newgro wrote: Hi again, i solved it myself. I created multiple tables on @BeforeClass. But i didn't closed the connection after table create statement was executed. It seems that i've got 10 pooled connections and then the manager was waiting for next free

Re: Unit tests for concurrent transactions

2008-09-08 Thread David Blevins
On Sep 8, 2008, at 4:25 AM, Marcin Kwapisz wrote: I would like to make unit tests for concurrent transactions, for example to check optimistic locking. Is it possible to perform such tests with embedded OpenEJB? If the answer is: yes, how can I control the order of operations in two