GeeCON Prague 2014*
The moose likes Web Services and the fly likes Creating a Wap site that calls java services(servlets) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Web Services
Bookmark "Creating a Wap site that calls java services(servlets)" Watch "Creating a Wap site that calls java services(servlets)" New topic
Author

Creating a Wap site that calls java services(servlets)

stevenson lee
Greenhorn

Joined: Sep 25, 2010
Posts: 11
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.

Can anyone help me?

Best regards,

Stevenson Lee


keep learning...
stevenson lee
Greenhorn

Joined: Sep 25, 2010
Posts: 11
http://www.coderanch.com/t/222558/Web-Services/java/Website-Development#1049703

I found a similar topic but there seem to be no replies.
Lester Burnham
Rancher

Joined: Oct 14, 2008
Posts: 1337
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.

A decent WML tutorial is at http://www.w3schools.com/wap/default.asp
stevenson lee
Greenhorn

Joined: Sep 25, 2010
Posts: 11
Thanks Lester. I'll check out those links. Btw, I already read http://www.w3schools.com/wap/default.asp and i haven't found how to call api's. How are servlets(services API) invoked in WAP?
Lester Burnham
Rancher

Joined: Oct 14, 2008
Posts: 1337
... 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.
 
GeeCON Prague 2014
 
subject: Creating a Wap site that calls java services(servlets)