Mobile Client to Web Application Generator
Servlet and Client Type Page
See Also
Use the Mobile Client to Web Application Generator to generate a servlet that
connects to a web application that includes a web service client. This type
of connection utilizes three "tiers": client, web application with servlet,
and server. The client communicates with the generated middleware servlet using
a proprietary communication protocol. The servlet and server communicate using
standard Simple Object Access Protocol (SOAP) messages.
You open the Mobile Client to Web Application Generator by selecting a project
then choosing File > New File and selecting Mobile Client to Web Application
from the Mobile Category.
In the Servlet and Client Type page, you specify:
- The name and location of the servlet to be generated.
- Whether the MIDlet uses methods or a Web service client in the Web application.
Enter information into the following fields to specify the name and location
of the servlet:
- Web Application. Use the drop-down menu to choose an open
Web application, or to choose Open Web Project to open a Web application on
your system.
- Servlet Name. The desired name for the servlet to be generated.
- Location. You can choose between source and test packages,
if test packages are available.
- Package. The package to which the servlet will be generated.
Select a radio button to specify whether the Mobile client will use Methods
or a Web Service Client in the Web Application.
- If you choose Web Service Client in the Application, use the drop-down menu
to select the Web Service Definition Language (WSDL) file for that service.
- See Also
- About
Web Services
- Connecting MIDP Applications to Web Services
- Creating a Java ME Web Services (JSR-172)
Client
- Creating a Three-Tier Mobile Web Services
Client
Legal Notices