Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Mobile app development general question

 
Saurabh Pillai
Ranch Hand
Posts: 524
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We are planing to develop an app for two platforms, iPhone and Android. I have question regarding that.

- Is it possible to use same set of webservices to feed data to both devices as the app is going to be same? I guess a point to consider here is processing power, internal memory etc. On one end we have iPhone. Period. but on other end we have whole lot of Android devices. How do you guys handle it?
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I have a web service on the server side, I have it to support whoever wants to call it, whether it is a Swing, VB 6.0, .net, web site, iPhone, Windows Phone, Cobol app, Android phone. Anyone.

the data returned from the web service could be anything I like, xml, json, byte[]. Then the clients just have to convert it. Most if not all development languages can read xml, json.

Mark
 
Saurabh Pillai
Ranch Hand
Posts: 524
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you think different processing power, internal memory etc. make any difference?

Thank you Mark.
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Saurabh Pillai wrote:Do you think different processing power, internal memory etc. make any difference?

Thank you Mark.


How do you mean? On the devices? On the server side? Both are different things. Service Side has nothing to do with any devices or clients.

For devices making Web Service requests are available on all those devices done very simply, don't really see how processing power or internal memory has any difference, specifically to calling and consuming a web service.

Mark
 
Saurabh Pillai
Ranch Hand
Posts: 524
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mark Spritzler wrote:
For devices making Web Service requests are available on all those devices done very simply, don't really see how processing power or internal memory has any difference, specifically to calling and consuming a web service.

Mark


Yeah actually I was wondering if it makes any speed difference in processing received data and rendering a screen on mobile devices. but from your answer it looks like it does not.

Thank you.
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Saurabh Pillai wrote:
Mark Spritzler wrote:
For devices making Web Service requests are available on all those devices done very simply, don't really see how processing power or internal memory has any difference, specifically to calling and consuming a web service.

Mark


Yeah actually I was wondering if it makes any speed difference in processing received data and rendering a screen on mobile devices. but from your answer it looks like it does not.

Thank you.


Yes and no, but it isn't necessarily specific related to an iPhone or an Android phone, but a developer doing it incorrectly that might cause a performance problem. Typically these web services calls will be done asynchronously from the device so the perception of wait isn't there. If you make a web service that passes back tons and tons of data, of course it will be slow because of bandwidth and network IO and maybe even File IO. But it is no different than you would see in a StandAlone Java Swing, or Java based Web site, or command line Java application.

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic