This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

What does EJB3 have to offer for webservices support  RSS feed

 
Mohamed Mabrouk
Greenhorn
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.
 
Debu Panda
author
Ranch Hand
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 (http://www.manning.com/panda/) 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!