Using JAXR Clients in J2EE Applications

You can create J2EE applications that use JAXR clients to access registries. This section explains how to write, compile, package, deploy, and run a J2EE application that uses JAXR to publish an organization to a registry and then query the registry for that organization. The application in this section uses two components: an application client and a stateless session bean.

The section covers the following topics:

  • Coding the application client: MyAppClient.java

  • Coding the PubQuery session bean

  • Compiling the source files

  • Importing certificates

  • Starting the Application Server

  • Creating JAXR resources

  • Creating and packaging the application

  • Deploying the application

  • Running the application client

You will find the ...

Get The J2EE™ Tutorial Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.