This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to call existing web application's business layer from Android?
 
Similar Threads
Component Based Gateways
Component Based Gateways
Develop to Android from web applications programing
Wrap existing J2ee web application as ios web app
Help me in designing an J2EE application