Okay, here we go, I finally got that working. However, I still don't know how to get a generated Stub-jar.
Any ways, for those that would like to play around with Sun ONE Application Server 7: Here we go:
0) Follow all the steps in HF
EJB, so that you know your app is definitely working!!! You have the AdviceApp.ear from the RI.
1) unjar it
From now on you need one new Deployment Descriptor (DD) [sun-ejb-jar.xml] and modify an existing one [application.xml]
2) We need to have a new Sun ONE server-specific deployment descriptor:
Name: sun-ejb-jar.xml
Location: in the same directory as the normal DD ejb-jar.xml (META-INF)
Here:
3) We need to make sure that application.xml
Name: application.xml
Location: directory under META-INF in the ear file [application.xml] (META-INF)
Here:
4) Deploy it using the Administration Tool in the Browser. Default:
http://localhost:4848 However, I still don't know how to generate those Client stub. Well, I guess, stay tuned or may be somebody has an answer soon.
Thanks,
John
[ November 23, 2003: Message edited by: John Liang ]