简体   繁体   English

我为什么要使用Spring Android?

[英]Why should I use Spring Android?

Anyone out here use Spring Android? 这里有人使用Spring Android吗? If so, why do you think it's worth while? 如果是这样,为什么你觉得它值得呢?

Thanks 谢谢

Spring Android is useful if you need to access RESTful Web services from your Android application. 如果您需要从Android应用程序访问RESTful Web服务,Spring Android非常有用。 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. 目前,使用Spring Android项目有两个好处:commons logging和RestTemplate。

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

In addition Spring Android is useful to work with HTTP Request from your Android application. 此外,Spring Android对于处理来自Android应用程序的HTTP请求非常有用。 You don't need to use another Libraries like google-gson or jackson because spring supports them internally. 您不需要使用其他库,如google-gsonjackson,因为spring在内部支持它们。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM