permaculture playing cards
The moose likes Web Services and the fly likes Book Promo: Java SOA without Java EE 5? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Book Promo: Java SOA without Java EE 5?" Watch "Book Promo: Java SOA without Java EE 5?" New topic

Book Promo: Java SOA without Java EE 5?

Peer Reynders

Joined: Aug 19, 2005
Posts: 2933
Your book SOA Using Java� Web Services (Sample Chapter: Basic SOA Using REST, amazon US) seems to cover SOA in both the Java SE 6 and Java EE 5 environments. Does it focus mainly on SOA in a Java EE 5 environment or does it seriously consider the alternative of implementing SOA in a Java SE 6 only environment � considering the bells of doom for Java EE (Analysts see Java EE dying in an SOA world)?
[ May 29, 2007: Message edited by: Peer Reynders ]
Mark D. Hansen
Ranch Hand

Joined: May 29, 2007
Posts: 61
Almost everything in the book, and most of the code examples, applies to Java SE 6 as well as Java EE 5. That is because Java SE 6 includes JAX-WS and JAXB.

Besides JAX-WS and JAXB, the code examples from the book use JSR-181 (Web Services Metadata) for annotations. The only Java EE 5 specific technology used in the book is related to JSR-109 which specifies Java EE 5 deployment standards.

So, any platform that supports JAX-WS, JAXB, and JSR-181 can be used to implement the code examples and techniques described in the book. This includes platforms (with the appropriate plug-ins to provide JAX-WS, JAXB, and JSR-181):
* Tomcat
* Spring
* XFire
* Apache CXF
* etc.

The only caveat here is that each platform is slightly different with respect to deployment, so you might need to tweak the example to deploy in each of these.

On my blog, there has been discussion about porting the example code to Tomcat. Please post a comment there if you have ideas/suggestions.

Having said all that, I would strongly disagree that Java EE is "dying". The major app server vendors are bringing out support for Java EE 5. BEA is already there with WebLogic Server 10. JBoss AS 5.0 will be Java EE 5 certified and is available in beta now. And, of course, GlassFish has been hugely successful as the first Java EE 5 certified application server. It has been out for over a year.

The real problem with Java EE is that it has been so successful that it is getting to be too big for a lot of people. Java EE 6 will address that by allowing vendors to provide distributions for specific markets. This will allow vendors, for example, to provide a "Web Profile" version of Java EE 6 - just targeting Web development - and including only the features needed for that market.

Mark D. Hansen
Founder and President, AgileIT LLC
Author of "SOA Using Java Web Services" -
Peer Reynders

Joined: Aug 19, 2005
Posts: 2933
I'm sure that Java EE�s future will be along the lines of Mark Twain's famous quote:

The reports of my death are greatly exaggerated.

even though there still seem to be some "growing pains" with the Java EE profiles as you have already mentioned on your blog.

Once again thank You for Your most detailed response.

I agree. Here's the link:
subject: Book Promo: Java SOA without Java EE 5?
jQuery in Action, 3rd edition