Showing results for Advanced Tutorial (category)

Take control with WS-BPEL

1 Comment » December 11th, 2009 by Henri Bezemer

I suspect Web Service Business Process Execution Language is known to most people for the graphical designer tooling that vendors bundle with their web services suite products. My first thought when I saw this colorful click and drag tooling being demonstrated was: it looks nice, but why would someone want to code if-then-else constructs with a mouse? Is this yet another effort to bring programming to the non-programmers?

After a bit of reading up I started to recognize WS-BPEL’s true value. It is not the graphical designer tooling. In my opinion, there is simply too much XML technology that cannot be hidden from the user, to make the tooling actually usable to non-programmers. While the designer tooling is still useful, I think the true value lies in the capabilities of the WS-BPEL engine. In this post I will present a realistic working example of WS-BPEL in an ESB environment, I will explain in detail how correlation works and I will give you tons of other tips along the way. Read more…

Consuming Web Services from EJB 3 using JAX-WS

1 Comment » November 30th, 2009 by Henri Bezemer

In this post I will show how to consume a Web Service from an EJB 3 stateless session bean, with very little coding involved by leveraging the JAX-WS specification and tooling. I will add this ability to the CRM EJB that I presented in an earlier post: I will also explain how to bundle WSDL and XML Schema files with an EAR deployment file using a catalog, how to customize the JAX-WS generated code and how to design a single Maven build process for deployment to multiple environments (development, staging and production). Read more…

Web services made easy with EJB, JPA and JAX-WS

Comments Off November 4th, 2009 by Henri Bezemer

In this post I will share some code and findings that came out of an experiment with EJB 3.0, JPA (included in EJB 3.0) and JAX-WS (Java API for XML-Based Web Services) 2.0. My goal was to create a useful layer of web services on top of a database with as little Java code as possible. I wasn’t sure if the three technologies could be mixed together in a thin layer without running into serious trouble, so I decided to create an example application and test it on three popular open source Java Application Servers: Geronimo (2.1.4), Sun GlassFish Enterprise Server (2.1) and JBoss (5.1.0 GA). I’m running these Application Servers on Sun JDK 6. Read more…