About two years ago, I published an article about Exposing the Functionality implemented in Stateless Session Beans (EJB 2.1) using Web Services. J2EE 1.4 times are over and the new version of the Java Enterprise framework, called Java Enterprise Edition 5 (JavaEE 5, or simply JEE) has emerged. In this article the same business scenario is repeated in the new framework.
Before we dive into code examples, some software is required. The good news about the software is, that it also evolved over time. Here is what we use:
- Sun’s Java 6 SDK
- JBoss AS 5.1.0 GA for JDK6
- Eclipse Galileo 3.5.1 for JEE development