Ask the Expert

How can I make an EJB available via Web services?

How can I make an EJB available via Web services and how can I deploy it on an application server?

    Requires Free Membership to View

JSR-109 (Implementing Enterprise Web Services) defines the Java standard for exposing an EJB stateless session bean as a Web service. This standard will enable portability across application servers -- at least as much portability as you now have when porting EJBs across application servers. Support for JSR 109 is required in J2EE 1.4, so most J2EE app servers will support this standard relatively soon.

For the moment, we don't have this level of portability. Most J2EE app servers and Java Web services platforms allow you to expose a stateless session bean as a Web service, but each platform does it slightly differently. If you have an immediate need to support portability, then I suggest you use a platform-independent Web services platform, such as Apache Axis, Systinet WASP, WebMethods Glue, or Cape Clear Server. These platforms will run in pretty much any J2EE application server.

This was first published in April 2004

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: