Spring Source announced that the first milestone release of the Spring Mobile project is now available!
Spring Mobile provides extensions to Spring MVC that aid in the development of cross-platform mobile web applications. The defining feature of the 1.0.0.M1 release is support for server-side device detection.
As an answer to the basic question of "what mobile platforms to target?" In the end, a native experience for iPhone and Android users is chosen to be invested, while also developing a cross-platform mobile web application. The decision to go native was driven by the fact the application is consumer-oriented, and a large number of prospective consumers (application developers) own iPhone and Android devices. At the same time, the mobile web application aims to provide a good baseline experience that works cross-platform, something that's possible today with the rise of WebKit and HTML 5.
From development work, grew Spring Framework contributions: first, a Spring Mobile project that provides extensions to Spring MVC for developing mobile web applications; and second, a Spring Android project that supports the development of native Android clients that communicate with Spring-based back-ends.
The first problem was designing a web application that was pleasant for mobile visitors to use. While a smart phone may have a capable web browser, it still has a small screen and that needs to be accounted for. There are essentially two approaches to dealing with this problem:
1. Detect the device that originated the web request and serve a separate site to mobile devices.
For more information, visit SpringMobile