Archer Sirapas

Greenhorn
+ Follow
since Dec 04, 2004
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Archer Sirapas

There is a resource on preparing for the IBM test 285, but I can't find it. I see that it is the good start to learn webshpere from zero. Or any suggestion to the such a resource.

Thank you
15 years ago
Great score. Way to go.
Sirapas
15 years ago
try this:

oops not the above. the path to AdviceAppClient.jar is incorrect. Basically you need another path to direct to whatever file in the current dir which needs this only the . syntax.

java -classpath C:\j2sdkee1.3.\lib\j2ee.jar;C:\Vishnu\SCBCD\Examples\Example1\AdviceAppClient.jar;.; AdviceClient
try this:

java -classpath C:\j2sdkee1.3.\lib\j2ee.jar;AdviceAppClient.jar;C:\Vishnu\SCBCD\Examples\Example1;.; AdviceClient

good luck

let me know if it works or not.
How long did it take to prepare?
15 years ago
I finally can compile and run the AdviceClient. Here the stats, Windows XP, jdk1.4.2.06, j2ee1.3.1 The j2ee.jar classpath is set correctly so that the bean and interface classes are able to compile.

In compiling the AdviceClient, the j2ee.jar classpath is appended explicitly.
i.e. javac -classpath {classpath:AdviceAppClient.jar}{classpath:j2ee.jar}AdviceClient.java

Then there was another problem when trying to run the client. The AdviceClient class is not found, eventhough the command promt is at that directory the class is right there. Thank Angus Rose from the forum
linklink

I still need to
a)explicitly append the j2ee classpath,
b)set the working directory in the sys env
c)explicitly append . in the classpath while running

i.e. java -classpath {classpath:AdviceAppClient};{classpath:j2ee.jar};.; AdviceClient

I know it is strange that the j2ee.jar has to be explicitly appended, may be b/c it is XP.

As Kathy mentioned, take 10 minutes to write the bean code, but 3 days to get it to work. Whew....

I am glad and happy anyhow.

javaranch forum is really useful
I use HF to study the ejb. On the Chapter 1 everything went fine including compiling bean, the two interface classes, which means that the classpath is set correctly, the javax.ejb found. But...the AdviceClient fails the compilation with the "package javax.ejb does not exist" error. So what goes wrong.

Thank for the help
I use HF to study the ejb. On the Chapter 1 everything went fine including compiling bean, the two interface classes, which means that the classpath is set correctly, the javax.ejb found. But...the AdviceClient fails the compilation with the "package javax.ejb does not exist" error. So what goes wrong.

Thank for the help