Creating a Wap site that calls java services(servlets)
stevenson lee
Greenhorn
Joined: Sep 25, 2010
Posts: 11
posted
0
My team has currently set up a website (php and javascript) that utilizes a java backend. Our client needs an implementation of this for wap, because they want the service applicable for old phones. I have no idea how to set up a wap server and what I need to install. I think it is possible with tomcat 6.
Unfortunately I have no idea how the product will be packaged, are wap sites deployed in wars? how are they different from other projects. I searched the web but i normally get Wap tutorials on how to use wml tags. I need a guide on how to start and how to test.
I found a similar topic but there seem to be no replies.
Lester Burnham
Rancher
Joined: Oct 14, 2008
Posts: 1337
posted
0
While a web app can emit WML as appropriate without problems, the principal difficulty is that WAP generally needs a gateway to negotiate between the browser and the server; see Wireless Application Protocol and WAP gateway. The latter page links to a couple of open source gateways, although -given that WAP is mostly obsolete- I wouldn't expect them to still be supported these days.
... haven't found how to call api's. How are servlets (services API) invoked in WAP?
I'm not sure what you mean by "API" in this context. A servlet implements an URL - that is what the handset accesses.
By the way, reading that Wikipedia WAP page I noticed that WAP 2.0 basically consists of XHTML MP accessed over HTTP - no need for any gateways. So if supporting WAP 2.0 is sufficient, then development and deployment become much easier.