Hi all: I am currently using Orion 1.5.2 to learn more about EJBs. It takes about 5 seconds to get the initial context using: Context context = new InitialContext(); In my jndi.properties file I have the following as per the Orion doc. java.naming.factory.initial=com.evermind.server.ApplicationClientInitialContextFactory java.naming.security.principal=admin java.naming.security.credentials=123 java.naming.provider.url=ormi://localhost/titan Any idea why it is so slow? Is JNDI usually slow? THanks, Francois
Paul Medford
Ranch Hand
Joined: Aug 28, 2001
Posts: 33
posted
0
I got the answer. It seems that it is the ormi protocol that's slow. But once the connection is open then it's pretty fast. Moreover I learnt that in order to deploy a standalone client with Orion one must include the ejb.jar, jndi.jar, the orion.jar (2Mb) and the client jar (of course). Orion.jar is the server. So, in other words you've got to include the server jar with your client app... That doesn't make sense... Francois