Hi, I am trying follow steps from http://openejb.apache.org/hello-world.html
*and working on DOS prompt under Windows.* * * *steps i worked on :* * 1. Download and install OpenEJB 2. Not Setup the development environment Instead i am compiling the .java files in jdk>bin. Making a jar file and then copying them to apps folder 3. Create the Remote Interface(Hello.java) // code as on the link 4. Create the Bean Class (HelloBean.java) // code as on the link 5. Compile the source code Since we have imported the javax.ejb.Stateless and javax.ejb.Remote annotations, we need the corresponding lib file(in our classpath) to compile the source code. They are contained in openejb-3.1.1\lib\javaee-api-5.0.2.jar c:\path of jdk\ejb>javac -cp "path of javaee-api-5.0.2.jar" Hello.java c:\path of jdk\ejb>javac -cp "path of javaee-api-5.0.2.jar" HelloBean.java Hello.java 6. Package the EJB c:\path of jdk\ejb>jar cvf Helloejb.jar *.class This would jar all class files. 7. Write an EJB Client HelloClient.java // code as on the link * *This file is not compiling. Please refer error file and suggest.* * * -- Regards Rocky Jagtiani BE(IS), PGDST (NCST) , ME(IT) HOD ( Training) - Suven Consultants. 98925 44177 URL : http://suvenconsultants.com *Rated Gold Consultants* by *Monster India*, find us on http://company.monsterindia.com/suvenin/index.html Rewarded as *"Best Consultant"* in Mumbai, India by Times Job. Do find us on http://www.timesjobs.com/RecruitmentZone/BestConsultantMumbai/suven-careers.html
