• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 78
Eclipse IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.....
 
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Avinash Ga
Ranch Hand
Posts: 78
Eclipse IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic