Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Creating a Wap site that calls java services(servlets)

 
stevenson lee
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
stevenson lee
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1337
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1337
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
... 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic