arka.sharma -2 Newbie Poster

Hi All,

I am new to EJB and JBoss.I am trying to develop a very simple EJB 3.0 stateless calculator bean which I have done upto this.I have one remote interface "Calculator.java" a stateless bean class "CalculatorBean.java".I have successfully compiled these and packaged in a jar file and kept it in "JBOSS_HOME\server\default\deploy" dir.Now I have one "Client.java" which is a console program having main method.I have created "InitialContext" object then doing lookup with "CalculatorBean/remote".It also compiled successfully but while running it gives "NoInitialContextException" and saying Need to specify class name in environment or system property or in an application resource file.I am not using any tool like maven or ant or any IDE.Plz tell me the way to deploy an ejb in JBoss and accessing it from a client.

Thanks,
Arka