/spring-mobile-samples

Spring Mobile Sample Applications

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Spring Mobile Samples

Spring Mobile is an extension to the popular web framework Spring Web MVC, that aims to simplify the development of mobile web applications. This repository contains sample projects illustrating usage of Spring Mobile. See Spring Mobile on GitHub for more information about building from source.

Sample Applications

The following sample applications demonstrate the capabilities of Spring Mobile for server-side device detection and handling. See the README within each sample project for more information and additional instructions.

Build and Deploy

Most of the sample apps can be built and run using the following commands from within the sample's folder.

  1. Build the app:

    $ mvn clean package
  2. Deploy the .war to a Servlet 3 ServletContainer using Maven:

    $ mvn tomcat7:run

    Note: you may also import the project into your IDE and deploy to a Servlet 3 container such as Tomcat 7.

Contribute

Pull requests are welcome. See the contributor guidelines for details.

License

Spring Mobile is released under version 2.0 of the Apache License.