• 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
Saloon Keeper
Posts: 3336
61
  • 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.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!