Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 521137
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T08:13:07+00:00 2026-05-13T08:13:07+00:00

Our application is supposed to serve multiple devices, from simple to smart-phones, IPhones, touch-screens

  • 0

Our application is supposed to serve multiple devices, from simple to smart-phones, IPhones, touch-screens to normal browsers.

Application is layered, so we can reuse the business and persistence layer.
However, we would like to program single presentation layer as well.
I know for example that ASP .NET generates different html output based on the browser type.
http://msdn.microsoft.com/en-us/library/ms178620.aspx

There are even some sites that promise to transform your site to mobile:
http://instantmobilizer.com

Is there a java framework capable of producing the presentation that adapts to client browser and device, so that we do not need to program different presentation layer for each device type? What is the standard way to manage multiple devices support requirement in web applications?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T08:13:07+00:00Added an answer on May 13, 2026 at 8:13 am

    While it’s true that you can conceivably generate different markup styles from a single view implementation (e.g. using different XSL transforms selected based on device type), you’re still going to end up saddled with the “lowest common denominator” interface.

    To take a slightly artificial (and dated) example, say you wanted to generate WML, low-end HTML and high-end XHTML from a single view implementation. Since WML is the most basic of the three, your view would not be able to take advantage of the capabilities of the more advanced representations, beyond the purely cosmetic. In this example, WML can only render very basic forms, whereas high-end XHTML devices can do fancy CSS and javascript stuff.

    You want to be able to take advantage of the capabilities of the various classes of device, otherwise it’ll just end up looking crappy and primitive on all of them.

    When you have devices as diverse as mobile phones, iphones, and desktop browsers, having a single view that satisfies all of them isn’t really practical.

    In practice, the best option is to detect the device type when the user enters the system, and then set them off on a view sequence tailored to that specific device.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Our application takes text from a web form and sends it via email to
Our application downloads data from the internet using RSS but is having connection problems
We have just updated our application from ASP.Net 2.0 to ASP.Net 4.0. We have
I am supposed to load check our web - application. When a request comes
In our application a page is served which subsequently is supposed to make a
In our application we have a server which will connect to multiple clients. For
Our application is a Java-GWT application that uses Guice-Persist and Guice-Servlet extensively. We have
Our application stores records with shorter texts (strings of 100-1000 characters). It provides search
Our application is a bit slow to load at startup, i'm wandering myself if
Our application has a service layer and a DAO layer, written as Spring beans.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.