hi
i am new to
ejb and learning with the help of head first EJB
when I try to compile my client program i am getting the following error....
I tried the solution in the previous post
1.https://coderanch.com/t/158518/java-EJB-SCBCD/certification/Error-compiling-AdviceClient-java
2.https://coderanch.com/t/158486/java-EJB-SCBCD/certification/head-first-ejb-pg-client[/I]
can anybody help me pls...
C:\HFEJBCODE\advice>javac -classpath %CLASSPATH%;AdviceAppClient.jar AdviceClien
t.java
AdviceClient.java:4: package headfirst does not exist
import headfirst.*;
^
AdviceClient.java:24: cannot find symbol
symbol : class AdviceHome
location: class AdviceClient
AdviceHome home = (AdviceHome) PortableRemoteObject.narr
ow(o, AdviceHome.class);
^
AdviceClient.java:24: cannot find symbol
symbol : class AdviceHome
location: class AdviceClient
AdviceHome home = (AdviceHome) PortableRemoteObject.narr
ow(o, AdviceHome.class);
^
AdviceClient.java:24: cannot find symbol
symbol : class AdviceHome
location: class AdviceClient
AdviceHome home = (AdviceHome) PortableRemoteObject.narr
ow(o, AdviceHome.class);
^
AdviceClient.java:26: cannot find symbol
symbol : class Advice
location: class AdviceClient
Advice advisor = home.create();
^
5 errors