| Author |
ejb3 hello world on was7
|
vik ar
Ranch Hand
Joined: Jul 31, 2009
Posts: 104
|
|
Hi. I am new to ejb3 so please bear with me. I have successfully deployed and started an ear to WAS 7 which contains a jar containing the following two classes:
I then developed the following client class
When I execute the client the hello object is null? Can someone please explain what the next step is for me to successfully execute the client. thanks
|
 |
vik ar
Ranch Hand
Joined: Jul 31, 2009
Posts: 104
|
|
Right when I said I executed my client what I meant was I right clicked the class in eclipse and selected run as java application. I have since come to realise its not this simple!!! After reading here I realised I needed to package my client class into a jar file and then into a ear file. My ant script is as follows:
Within HelloWorldClient.ear the application-client.xml is present but it has been renamed application.xml??? Also what should the contents of the application-client.xml be?
|
 |
vik ar
Ranch Hand
Joined: Jul 31, 2009
Posts: 104
|
|
|
Please see here for an update. The lack of resources on the net for developing a simple ejb3 hello world app on was is startling!!!
|
 |
 |
|
|
subject: ejb3 hello world on was7
|
|
|