How to run HelloWorld example in GlassFish Tools Bundle For Eclipse Version: 1.2
Joined: May 22, 2009
I'm new to EJB. I'm reading the book 'Mastering Enterprise JavaBeans 3.0'. I tried to run the HelloWorld example in chapter 3, but I couldn't see the text 'hello()' & 'Hello World' in the eclipse console context. I also tried to open the glassfish log file, it didn't show neither. Would you please help me to solve this problem?
in eclipse you have to add to classpath the jar "glassfish\modules\gf-client-module.jar"
after You have to add the remote class of your bean, please take a look to chapter 20.6 of the ejb-specification to the project classpath. Simply put the remote class in a jar and add it in classpath of your project or add the .class file of your remote interface to the project.