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 MIDP Category. Then click Next.
In the Servlet and Client Type page, you specify:
Enter information into the following fields to specify the name and location of the servlet:
Select a radio button to specify whether the Mobile client will use Methods or a Web Service Client in the Web Application.