Print this Page

JavaŽ Web Services Quick Start
How to Use J2EE 1.4 to Create a New Breed of EJBs & Servlets

You’ve built and deployed servlets or EJBs, and they work well enough when optimized for their original tightly-coupled API environment.  Recently, maybe, you’ve tried to create Web Services by wrapping your servlets and EJBs using the JavaŽ Web Services Developers Pack.

Now, JavaŽ developers have a better way to build true, native loosely-coupled Web Services that they can implement as either servlets or EJBs. J2EE 1.4 and EJB 2.1 signal the rebirth of JavaŽ as an effective Web Services environment.  By making WSDL, SOAP and JAX-RPC native, Sun Microsystems has effectively adapted JavaŽ to compete in the loosely-coupled open-standards API XML Web Services environment that Microsoft has tried to dominate with .NET.

This three-day concentrated course uses extensive hands-on coding exercises to introduce the experienced JavaŽ developer to the JavaŽ Web Services architecture and to the new features for implementing Web Services via EJB 2.1 or as servlets.

Students learn key specifications for interoperable Web Services, including the Simple Object Access Protocol (SOAP) and Web Services Description Language (WSDL).  They also learn how to utilize the new native JavaŽ API for XML-Based RPC (JAX-RPC), which defines the standard mappings from XML and WSDL to the JavaŽ code that implements SOAP messaging.  Hands-on exercises teach how to use new EJB 2.1 features to implement SOAP interfaces on stateless session beans using WSDL as the interface description.

Who Should Attend?

Experienced JavaŽ developers upgrading their skills from J2EE 1.2/1.3 to J2EE 1.4

Course Outline

Section 1: What’s New in J2EE 1.4

  • Web Services via JAX-RPC

  • EJB 2.1

    • JAX-RPC Support in Session Beans

    • Non-JMS Message-Driven Beans

    • The Timer Service

    • EJB Query Language Enhancements

  • Support for Web-Service Clients

Section 2: Architectures

  • The Web Services Architecture

  • The JavaŽ Web Services Architecture

Section 3: Interoperable Languages & Protocols

  • SOAP

  • WSDL

Section 4: Implementing Web Services in JavaŽ

  • JAX-RPC

  • Building JavaŽ-Based Web Services

  • Building WSDL-Based Web Services in JavaŽ

  • Stateless Session Beans as Web-Service Endpoints