Difference between Mobile client To Web Application and J2ME Web Services Client
By lukas on Jun 15, 2006
The picture shows how the client communicates with webservice. When you have a device with Webservices API (JSR172) support then it's easy. When the device is without the Webservices API then you have to solve it in different way. You can create a middle tear that you'll communicate with a binary protocol. The middle tear can then connect to the webservice.
There are wizard for both cases in NetBeans Mobility Pack. You can find then in New File dialog in MIDP category.
The J2ME Web Services Client wizard generates the client stubs from provided WSDL file. The Mobile client To Web Application wizard generates both parts necessary for communication - client and server part. You can generate client comunnicating either with a class/servlet or with webservice client on the server. Both wizards generate Sample midlet for you. So you can easily understand and check how to work with the technology. Sometimes it's enought to accomodate the Sample midlet for your purposes.