I have tried compiling the example EJB application
list in Richard Monson-Haefel's book.
The application consists of the following *.java files
i)CabinHomeRemote
ii)CabinHome
iii)CabinBean

I am using the command below to compile. 
"javac -classpath
%JBOSS_DIST%\client\jbosssx-client.jar;%JBOSS_DIST%\client\jboss-j2ee.jar;%JBOSS_DIST%\client\jboss-client.jar;
com\burudani\cabin\*.java"

I get errors below.

com\burudani\cabin\CabinBean.java:9: not a statement
                returns null;
                ^
com\burudani\cabin\CabinBean.java:9: ';' expected
                returns null;
                        ^
com\burudani\cabin\CabinBean.java:8:cannot resolve
symbol
symbol : method setID (java.lang.Integer)
location: class com.burudani.cabin.CabinBean
                this.setID(id);
                ^
3 errors

Attached find the *.java files



__________________________________________________
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/

Attachment: com.zip
Description: com.zip

Reply via email to