| Author |
Need Help Deploying EJB as a Web-Service (Exam Objective 3)
|
Avinash Ga
Ranch Hand
Joined: Aug 13, 2011
Posts: 70
|
|
Hi Ranchers,
I am trying to learn to deploy the EJB as a Web-Service for covering Exam Objective 3 . Since i dont know EJB, i am struck at this objective from past 1 week . Particularly i dont know what to put inside sun-ejb-jar.xml . Can you please review my simple code and tell me what i am missing?
Following is the simple code.
EndPoint Interface :-
Implementation Bean:-
ejb -jar.xml:-
sun-ejb-jar.xml :-
Thanks in Advance.....
|
Avinash G.A
OCP Java SE 6 Programmer, OCP Java EE 5 Web Component Developer, OCE Java EE 6 Web Services Developer, VMware Certified Core Spring 3.x Developer
|
 |
Bennet Xavier
Ranch Hand
Joined: Jun 19, 2008
Posts: 162
|
|
Hi Avinash,
why do you need ejb -jar.xml and sun-ejb-jar.xml file.
Since you have annotated all the details, this files are not required, I suppose.
|
Thanks And Regards
Bennet Xavier. X
|
 |
Avinash Ga
Ranch Hand
Joined: Aug 13, 2011
Posts: 70
|
|
Thanks Benneth,
I tried deploying without ejb-jar.xml and sun-ejb-jar.xml and it went through nicely. But i was looking into one of the exam objectives which states that Configure deployment descriptors (ejb-jar.xml, webservices.xml) for transactions, etc. and concerned about that. So do if i am using EJB 3 i can skip those external configurations. So can i expect web services using EJB 3.0 questions in exam? (FYI: Some times when i have an exam to take and only half prepared, i act weirdly {asking silly questions to myself and others} )
Thanks Again
|
 |
 |
|
|
subject: Need Help Deploying EJB as a Web-Service (Exam Objective 3)
|
|
|