Well i am really new to EJB so still am finding my way!
I first right clicked on the project and selected "Run On Server" which is JBoss GA 5.1.0. Then i selected the ConverterClient and selected "Run Java Application" i get the following error:
Caught an unexpected 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(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.simple.clientCode.ConverterClient.main(ConverterClient.java:22)
First of all i would like to know am i doing the right thing! I hope this is the right way to run an EJB code!