• 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
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

java web app which can work with both mobile and PC

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I am to build java based web app and want it to be compatible with all devices like mobile, iOS, iPad and PC. But i know only to create apps either for PC or mobile but have no idea how can one site work for both.
Below are the possible solution which i can think of :

1. Making site web responsive - it will resolve view issue but not sure how it will handle other issues?
2. Creating API for application, and creating different initial classes for mobile devices and pc , then calling same from these 2 different classes.


Please let me know if it makes sense or please suggest better way to do it.


Thanks,
AS
 
Bartender
Posts: 1810
28
jQuery Netbeans IDE Eclipse IDE Firefox Browser MySQL Database Chrome Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Hari pandey wrote:
1. Making site web responsive - it will resolve view issue but not sure how it will handle other issues?


This. Your other solution sounds way too complex. But I'm not sure what you mean by "other issues".

I suggest starting here.
 
Hari pandey
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
@J. Kevin Robbins Thanks for comments, by other issues i meant "Will the java code continue to work , as it works on pc ?
 
Rancher
Posts: 4801
50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You won't be running Java code on the mobiles or PCs.
You'll be running Javascript (and html/css) on the clients.
The Java will sit on the server.
reply
    Bookmark Topic Watch Topic
  • New Topic