Chapter 4 Creating J2EE Applications for Sybase EAServer
Using a Stateless Session Bean as Web Service
To use a Stateless Session Bean as Web Service, you need to:
- Create an OOM model for Java.
- Add the EAServer 6 Extended Model Definition.
- Create a package.
- Open the diagram of the package.
- Use the Web Service wizard to create a Web Service.
- Select the Axis EJB implementation type.
A default WebMethod will be created. To rename it, you can use the Operations tab of the Remote Interface properties.
- Implement one or several Web Service methods.
- Configure the Web Service component if necessary.
- Generate the Java code and additional files.
Copyright (C) 2006. Sybase Inc. All rights reserved.
|
|