File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Help needed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Help needed" Watch "Help needed" New topic
Author

Help needed

S.L.Narayanan
Ranch Hand

Joined: Apr 01, 2005
Posts: 431
Hi ranchers

This is my first post in this forum as now only I am starting my SCBCD preparation. I bought HFEJB dey before yesterday. I am entirely new to EJBs and dont have any idea of it. I have downloaded JBOSS and installed it. I have written the bean class and the two interfaces given in 1st chapter. But I couldnt compile them. It is showing errors as could not resolve symbol EJBObject, EJBHome, SessionBean. I could infer that the class path for the jar which contains all these classes is not properly set. But I couldnt locate it by myself.

So can anyone tell me, how can I set the class path?. I am using JBOSS 4.0.2. Advance thanks.


SCJP 1.4, SCWCD 1.4, SCBCD 1.3, NEXT--->IBM XML
Joice Jose
Greenhorn

Joined: Jun 29, 2005
Posts: 14
before compilation and execution set classpath to the following jar files
1) jboss.jar
2) jboss-client.jar
3) jnp-client.jar

These jar files are available in the jboss folder
S.L.Narayanan
Ranch Hand

Joined: Apr 01, 2005
Posts: 431
Thank You dude
S.L.Narayanan
Ranch Hand

Joined: Apr 01, 2005
Posts: 431
Hi

I have set the class path to the above mentioned jar files. But still I am getting the same error while compilation. I am using JBOSS 4.0.2. Can anyone help me out?
S.L.Narayanan
Ranch Hand

Joined: Apr 01, 2005
Posts: 431
Hurrah!! I have got the correct classpath. The classpath needs to be set to jboss-j2ee.jar. I opened each and every jar file in winzip and got this.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help needed