Spring Team
Roy Clarkson

Roy Clarkson

Developer

Atlanta, GA

Building Spring Cloud Services and Spring Cloud Data Flow for Pivotal Cloud Foundry. Spring Mobile and Spring for Android project lead.
Blog Posts by Roy Clarkson

Spring for Android 2.0.0.M2 released

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
Read more...

Spring for Android 2.0.0.M1 released

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

  • Generics support through the use of ParameterizedTypeReference
  • Support for OkHttp via OkHttpRequestFactory
  • RestTemplate API parity with Spring Framework
  • Bug fixes and improvements

Minimum Version

This release raises the minimum version from Android 2.1 (API level 7) to Android 2.2 (API level 8). The Google Play Store app is no longer supported on Android 2.1 and that version is not being tracked on the Android developer Dashboards. Additionally, OkHttp is only supported on Android 2.3 and newer.

Read more...

Spring Mobile 1.1.1 Released

We’re happy to announce that Spring Mobile 1.1.1 is now available. This is a maintenance release that primarily addresses an issue where some Samsung tablets were being incorrectly resolved as mobile devices. Additional testing was also added for Windows 8 and newer versions of iOS. This release is built against Spring Framework 3.2.8, and has been tested against Spring Framework 4.0.2. See the changelog for more information.

Read more...

Utilizing WebJars in Spring Boot

Welcome to 2014! 2013 was an exciting year for Spring, and we look forward to another great year. We have focused on client-side development in a few recent posts, including that we have published several new client-side getting started guides. In a previous post, I also reviewed how easy it is to serve static web content with Spring Boot.

In this post I will continue the discussion about client-side development with Spring Boot as we explore another built-in capability. My previous post included the following excerpt from the source code for WebMvcAutoConfiguration which illustrates how static resources are automatically added to a Spring MVC ResourceHandlerRegistry when using Spring Boot.

Read more...

Serving Static Web Content with Spring Boot

We made a few announcements recently about the Spring getting started guides, including that the catalog of guides have been migrated to Asciidoctor. We also added several new client-side guides illustrating how to connect to Spring services from a variety of client technologies.

In this post I want to highlight an interesting capability of Spring Boot; within many of the client-side guides we utilized Spring Boot to stand up a Tomcat instance and serve static content. In these guides we are demonstrating JavaScript client code, not Java or Groovy! If you are already familiar with Boot, then you can probably guess the punchline. To accomplish this, there is no configuration, and almost no server code required.

Read more...

Spring Mobile 1.1.0 Released

Dear Spring Community,

We are happy to announce the GA release of Spring Mobile 1.1.0! This release includes all the changes from the previous milestones, including the following:

  • Improved device detection in LiteDeviceResolver
  • Tablet support in SitePreference and SiteSwitcher
  • Java-based configuration to complement the traditional XML configuration
  • LiteDeviceDelegatingViewResolver for managing mobile and tablet views

See the Changelog, JavaDoc, and Reference Documentation for more details. Information about obtaining the artifacts can be found on the Spring Mobile project page.

Read more...

Spring Mobile 1.1.0.RC1 Released

Dear Spring Community,

We are happy to announce the release of Spring Mobile 1.1.0.RC1! Spring Mobile provides extensions to Spring MVC that aid in the development of cross-platform mobile web applications. This release includes the following:

  • Firefox OS now detected as mobile device
  • Corrected an issue with redirects and forwards when using LiteDeviceDelegatingViewResolver
  • Additional bug fixes and improvements

See the changelog and reference manual for more information.

To retrieve the software, download the release distribution, or add the maven artifacts to your project. Sample apps are available to help you get started. If you are building a mobile web app, we encourage you try Spring Mobile 1.1.0.RC1 and collaborate with us on the next iteration of the project.

Read more...

Spring Mobile 1.0.2 Released

Dear Spring Community,

We are happy to announce the release of Spring Mobile 1.0.2! Spring Mobile provides extensions to Spring MVC that aid in the development of cross-platform mobile web applications. This release includes the following:

  • Firefox OS now detected as mobile device
  • Kindle devices are now detected as tablets
  • Kindle Fire devices are detected as tablet if they are in Silk Desktop mode or Android WebView, and as mobile when in Silk Mobile mode
  • Additional bug fixes and improvements

See the changelog and reference manual for more information.

Read more...

Spring Mobile 1.1.0.M3 Released

Dear Spring Community,

We are happy to announce the release of Spring Mobile 1.1.0.M3!

Spring Mobile provides extensions to Spring MVC that aid in the development of cross-platform mobile web applications.

This release adds simpler configuration when using a custom domain strategy with SiteSwitcherHandlerInterceptor. Kindle Fire devices are now detected as tablet or mobile depending on which mode they are in. Additionally, several issues have been resolved in this release. This release is built and tested against Spring Framework 3.2.2. See the changelog and reference manual for more information. Many thanks to the community for their continued feedback and support in improving Spring Mobile.

Read more...

Spring Mobile 1.1.0.M2 Released

Dear Spring Community,

We are happy to announce the release of Spring Mobile 1.1.0.M2!

Spring Mobile provides extensions to Spring MVC that aid in the development of cross-platform mobile web applications.

This release adds LiteDeviceDelegatingViewResolver, a ViewResolver implementation that adjusts the view name based on Device and SitePreference. It then delegates to another ViewResolver to complete the process of resolving the view. This release is built and tested against Spring Framework 3.2. See the changelog and reference manual for more information. Many thanks to the community for their support with regard to this new feature, including Scott Rossillo for his initial pull request and Neale Upstone for his input and feedback.

Read more...