• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Creating a Wap site that calls java services(servlets)

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
https://coderanch.com/t/222558/Web-Services/java/Website-Development#1049703

I found a similar topic but there seem to be no replies.
 
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Power corrupts. Absolute power xxxxxxxxxxxxxxxx is kinda neat.
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic