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 ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
  • Piet Souris
  • Himai Minh

Mark Hansen - SOA and EJB

Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Mark,

What's your opinion about using the new EJB3.0 specs for creating soa architectures? Will this be a stamped way and how do you see java ee's role in the future of soa architectures.

King regards,
Cristian Popovici
Posts: 61
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My sense is that Java EE will be accepted as the foundation for SOA based on Java Web Services (JWS). See this post.

The adoption time for new Java EE releases is long because application servers have become embedded in the IT infrastructure of most large enterprise. So, its not that easy to "flip a switch" and upgrade from J2EE 1.4 to Java EE 5.

EJB 3.0 is a great step forward for ease of use. Deploying Web services as using stateless session beans with EJB 3.0 is covered in Chapters 7 and 8 of my book.

However, my sense is that servlet based deployment (i.e., services deployed without using the @Stateless annotation) will be more common that EJB based deployment except for situations (e.g., persistence, transactions) where programmers need EJB capabilities underlying the Web service.

As defined in JSR-109, the basic unit of Web services deployment in Java EE is the port component. A port component must include a service implementation bean (SIB) - which is the class that implements the service and is annotated with either @WebService or @WebServiceProvider. If you add the @Stateless annotation to the class, it gets deployed as an EJB3.0 stateless session bean. Otherwise, it gets deployed as a servlet.
I will open the floodgates of his own worst nightmare! All in a tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
    Bookmark Topic Watch Topic
  • New Topic