Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Spring for Android 2.0.0.M2 Released

DZone's Guide to

Spring for Android 2.0.0.M2 Released

· Java Zone
Free Resource

In the complimentary O’Reilly eBook, Migrating to Cloud-Native Application Architectures, Pivotal’s Matt Stine examines the cultural, organizational, and technical changes necessary to migrate traditional monolithic applications and service-oriented architectures to cloud-native architectures.

I am pleased to announce that Spring for Android 2.0.0.M2 is now available in the Spring milestone repository. Highlights include:

  • Support for the Android port of HttpClient 4.3 via HttpComponentsClientHttpRequestFactory
  • Support for HttpClient 4.0 included with Android is now deprecated but will remain available through HttpComponentsAndroidClientHttpRequestFactory.
  • HTTP PATCH support in RestTemplate
  • The type conversion package from Spring Core is now available in Spring for Android Core.
  • Many improvements and fixes from Spring 3.2 are now merged into Spring for Android to bring baseline compatibility to Spring 3.2, while certain RestTemplate features from Spring 4.1 have been included to support the new HttpClient.
  • Other bug fixes and improvements

HttpClient 4.3

If HttpClient 4.3 for Android is available on the classpath it will be configured as the default HTTP client. Include the following dependency in your build.gradle to utilize the new HttpClient.

dependencies {
    compile 'org.apache.httpcomponents:httpclient-android:4.3.5'
}

Minimum Version

The minimum supported version is Android 2.2 (API level 8), however it now accounts for 0.5% of Android devices on the Android developer Dashboards. We recommend Android 2.3 as a minimum target for new apps, as third-party libraries such as Jackson 2.4 and OkHttp require Android 2.3 and newer.

Conclusion

For a complete list of changes, see the Release Notes in JIRA. The reference documentation has also been updated to cover the new features.

Thanks again to everyone that has contributed to the release! Please try this new milestone and report any problems in JIRA or on GitHub.

In this complimentary eBook, you will find a migration cookbook, with recipes for decomposing monolithic applications into microservices, implementing fault-tolerant patterns, and performing automated testing of cloud-native services.

Topics:

Published at DZone with permission of Pieter Humphrey, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}