This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have David & Dawn Griffiths on-line!
See this thread for details.
Win a copy of Head First Android this week in the Android forum!
  • 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 Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

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: 24557
168
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