aspose file tools*
The moose likes Android and the fly likes How to call existing web application's business layer from Android? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "How to call existing web application Watch "How to call existing web application New topic
Author

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

Shiva Shankar
Ranch Hand

Joined: Dec 07, 2006
Posts: 31
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
Rancher

Joined: Sep 21, 2011
Posts: 2408
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: How to call existing web application's business layer from Android?