I am new to the world of J2EE.
I am trying to create a simple EJB example.
Following is the source code for my EJB and the web app I am using to access the EJB.
I keep getting java.lang.ClassNotFoundException.
I have tried all the JNDI names for the lookup, but I still am not able to access the EJB.
What am I doing wrong?
A ClassNotFoundException means that the the class is probably not package in your app properly. Look at your TestEjb.jar file and make sure that it contains both test/Test1Local.class and test/Test1.class.
If this doesn't help, post the complete contents of your JAR and WAR file (use "jar -tf" to list the contents).