Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

What does EJB3 have to offer for webservices support

Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had a question about what EJB3.0 has to offer for webservices support, I am currently working with EJB2.1 to build webservices on stateless session beans, EJB2.1 has provided the Services endpoint idea, I don't think it has matured yet in the implemented EJB containers, but it's on its way anyways, so any additions to that in EJB3.0?

I also wanted to ask if the book EJB3.0 in action was written to support studying for the certification "Sun Certified Business Component Developer for the Java Platform, Enterprise Edition 5" exam CX-310-091

Thank you.
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
EJB 3 marries JAX-WS! So it's pretty easy to develop an EJB 3 web service. Just annotating the bean class with @Webservice does the magic.

You can download the source code for the book from resources section of book page ( and look at the example for chapter 15.

Note that most application servers share the same web services infrastructure for both POJO and EJB 3 web services and hence you should not see any stability issues.

Please note that most EJB books are written heavy on theories and rehash specifications. We take a different approach and provide practical advice and best practices whenever required. If you learn how to program with EJB 3, it will not be difficult the pass the exam.
    Bookmark Topic Watch Topic
  • New Topic