Hi,
I am new to EJB 3, it is just fantastic working on myeclipse. I tried develop a simple EJB application by following the below link.
http://www.myeclipseide.com/documentation/quickstarts/ejb3/
I was almost done.
When I run the client bean, It shows the error as shown below:
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(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.lookup(Unknown Source)
at com.myeclipseide.ejb3.MyBeanClient.main(MyBeanClient.java:10)
I don’t what was the problem. How can i overcome this?
Thanks
-raka