Going through Head First EJB�s chapters...the first example already stuck me (the one with AdviceBean) after deployment and everything I wanted to start the client which gave me following exception:
javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an
applet parameter, or in an application resource file: java.naming.factory.initial
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:640)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243)
at javax.naming.InitialContext.getNameInNamespace(InitialContext.java:485)
at AdviceClient.go(AdviceClient.java:18)
at AdviceClient.main(AdviceClient.java:33)
I should mention that I�m trying to run it on the new
J2EE 1.4 - has the way to retrieve the IntialContext changed?