Spring Android 1.0.0.M2 Released

谷梁星雨
2023-12-01

Releases
Roy Clarkson
February 09, 2011

Dear Spring Community,

We are pleased to announce that the second milestone release of the Spring Android project is now available!

Spring Android supports usage of the Spring Framework in a Android environment. The 1.0.0.M2 release focuses on extending the use of RestTemplate in native Android applications:

We now use the HttpComponents HttpClient 4 by default for all REST calls, which is a native HTTP client on the Android platform. This replaces the use of the Commons HttpClient 3 from the first milestone.
We have added Object-to-XML marshaling support through the use of the Simple XML serialization library. Simple has a small footprint and is compatible with Android.
RSS and Atom Feeds are now supported through the Android Rome Feed Reader. Android Rome is a port of the popular Rome library that is compatible with Android.
Integration with the Jackson JSON Processor continues to provide first-class Object-to-JSON marshaling support.

Spring Android is available for download. If you are utilizing Maven with your Android project, simply add the following dependency:

org.springframework.android spring-android-rest-template 1.0.0.M2 org.springframework.maven.milestone Spring Maven Milestone Repository http://maven.springframework.org/milestone

In addition to the reference guide, Roy Clarkson has authored two blog posts to help you get started developing Android applications:

Spring Android and Maven (Part 1)

Spring Android and Maven (Part 2)

A sample app with a README is available at github.com/SpringSource/spring-android-samples: git clone git://github.com/SpringSource/spring-android-samples.git

Work continues on the next Spring Android milestone, where we will we be integrating OAuth support for Android applications. If you’re building native Android applications, we invite you to collaborate with us on the Spring Android project.
comments powered by Disqus

translate:
翻译:

亲爱的春天社区,
我们很高兴地宣布,SpringAndroid项目的第二个里程碑版本已经发布!
Spring Android支持在Android环境中使用Spring框架。这个1.0.0.M2release的重点是扩展restemplate在原生Android应用程序中的使用:
我们现在默认情况下对所有REST调用使用HttpComponents HTTP client 4,这是Android平台上的本地HTTP客户端。这将取代从第一个里程碑开始使用Commons HttpClient 3。
通过使用简单的XML序列化库,我们向XML封送处理支持添加了对象。Simple占用空间小,与Android兼容。
RSS和Atom提要现在通过Android Rome提要阅读器支持。Android Rome是流行的Rome库的一个端口,它与Android兼容。
与Jackson JSON处理器的集成继续为JSON封送处理提供一流的对象支持。
Spring Android可供下载。如果在Android项目中使用Maven,只需添加以下依赖项:
<依赖项>
安卓
spring android rest模板
<版本>1.0.0.M2
</依赖性>
<存储库>
里程碑
Spring Maven里程碑存储库
http://maven.springframework.org/里程碑

除了参考指南外,Roy Clarkson还撰写了两篇博客文章,帮助您开始开发Android应用程序:
Spring Android和Maven(上)
Spring Android和Maven(下)
带有自述文件的示例应用程序可在github.com/SpringSource/spring-android示例:git克隆git://github.com/SpringSource/spring-android-samples.git
下一个春季Android里程碑的工作仍在继续,我们将在那里集成OAuth对Android应用程序的支持。如果您正在构建本地Android应用程序,我们邀请您在springandroid项目上与我们合作。
由DISPS提供的评论

 类似资料:

相关阅读

相关文章

相关问答