Win a copy of Pro Spring MVC with WebFlux: Web Development in Spring Framework 5 and Spring Boot 2 this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

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

 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Saloon Keeper
Posts: 6980
164
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic