Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to call existing web application's business layer from Android?

 
Shiva Shankar
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

We have a Web appliaction and we have business layer and everything for that.

Now we want to access the same application from mobile using Android.
How can I call business layer which we developed for web application, using android.
I dont want to develope new business layer for android, i want to use same business layer which we developed for web application.

Is it possible to use same business layer or do we need to develope new business layer for android application.

If some onne can help me on this, I ll be thankful.

Regards
Shiva
 
Tim Moores
Bartender
Posts: 2802
38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The usual solution would be to build a REST API on top of those business methods that the Android app needs to access. A library like Jersey would be very useful for that.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic