• 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:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Porting some of our Java EE application to run on a mobile phone

 
clojure forum advocate
Posts: 3479
Mac Objective C Clojure
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi.
We have a Java EE application (EJB/Servlets/JSP) and I got a new assignment:
To create a markup version of some pages to run on mobile phones.
Well, I don't know what to do, neither what I need.
Which markup to use:
HTML, WML or JSP?
Any simulators?
Any tips and tricks?
Any ideas?
Your help is highly appreciated
 
Saloon Keeper
Posts: 28656
211
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JSP isn't a markup language. It's a generator for markups, where the usual choise output is HTML, but can be anything, including XML, PDFs and even images.

Aside from that, however, it depends on the target phones. Older, more limited phones will probably need WAP. Newer and smarter phones can do HTML.

For HTML, the critical things to allow for are the smaller screen size (typically 240x320 pixels) and to avoid using fancy features that aren't part of the vanilla web - things like Flash, AJAX, multimedia stuff and so forth. You can test the appearance part by using a regular web browser and shrinking down the display window to match the screen size of the target device.
 
Hussein Baghdadi
clojure forum advocate
Posts: 3479
Mac Objective C Clojure
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What about JavaScript (not for Ajax)?
 
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yeap, i have seen some high end phones coming with pretty good browsers which support basic JavaScript functionality.

Cant expect the same in all vendor implementations, for Small Screen B to C apps its more than enough i hope, even then Testing will have to be carried out drastically to ensure portability accross Devices.
 
reply
    Bookmark Topic Watch Topic
  • New Topic