aspose file tools*
The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes Need Help Deploying EJB as a Web-Service (Exam Objective 3) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "Need Help Deploying EJB as a Web-Service (Exam Objective 3)" Watch "Need Help Deploying EJB as a Web-Service (Exam Objective 3)" New topic
Author

Need Help Deploying EJB as a Web-Service (Exam Objective 3)

Avinash Ga
Ranch Hand

Joined: Aug 13, 2011
Posts: 78

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, EMC Proven Professional (ISM-V2)
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: 78

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need Help Deploying EJB as a Web-Service (Exam Objective 3)
 
Similar Threads
Help executing an EJB persistence application
Question on EJB based Webservice - Unable to run WSGEN against session bean
deployment descriptor (ejb-jar.xml) problem
EJB3.1-Weblogic12C. Problem creating dummy orb: org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code
Need help on Glassfish and EJB lookup