Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
  • 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

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
 
We find this kind of rampant individuality very disturbing. But not this tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic