Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why should I use Spring Android?

Tags:

Anyone out here use Spring Android? If so, why do you think it's worth while?

Thanks

like image 531
Karthik Ramachandran Avatar asked Jan 25 '11 15:01

Karthik Ramachandran


People also ask

What is the point of using spring?

Spring is the most popular application development framework for enterprise Java. Millions of developers around the world use Spring Framework to create high performing, easily testable, and reusable code. Spring framework is an open source Java platform.

Can spring be used for Android development?

Spring Android is an Android-friendly implementation of a few Spring client features, notably RestTemplate , and entirely agnostic of the backend it's talking to. These days, Retrofit and Volley seem to be more popular choices for Android, and both will work just fine with a Spring backend. thanks this cleared it up.

Can I use spring in Android Studio?

Spring Boot is not meant to be used in Android Apps production as it was best used to build web applications. There exists, however, Spring for Android, but the use is limited to REST Client and API authentications.


2 Answers

Spring Android is useful if you need to access RESTful Web services from your Android application. This is common in real-time data applications such as news and weather tickers, stock tickers, etc.

For now, there are two benefits to using the Spring Android project: commons logging and RestTemplate.

http://static.springsource.org/spring-android/docs/1.0.x/reference/htmlsingle/

like image 82
earldouglas Avatar answered Sep 29 '22 06:09

earldouglas


In addition Spring Android is useful to work with HTTP Request from your Android application. You don't need to use another Libraries like google-gson or jackson because spring supports them internally.

like image 32
Misagh Aghakhani Avatar answered Sep 29 '22 06:09

Misagh Aghakhani