Two in one: spring-mobile & spring-android
Continuing the topic of new projects, SpringSource would like to tell in one post at once about two new projects: Spring Mobile & Spring Android .
3 projects unite these projects:
* These libraries are intended for the development of mobile applications (but from different angles);
* Version 1.1.0.M1 - which in the SpringSource language means a very, very first version;
* These projects, like the Spring Social discussed earlier, grew out of GreenHouse , a project whose meaning I did not quite understand, but which nevertheless can serve as a good example of using a wide range of libraries from Spring Source.
So in order:
The aim of the project is to simplify the development of Spring MVC applications adapted for mobile devices. Until that functionality there are not very many - most importantly - it is the client's definition of the type (mobile or standard), with which the user is logged, so you can use design type: . That is, $ {currentDevice.mobile} - the mobile version of the browser uses the client or standard. In addition, there are: * Automatic redirection of mobile clients to the mobile version of the site; * Determining the type of device using WURFL .
The goal of the project is to simplify the development of native applications for the Android platform using the Spring Framework. So far, only RestTemplate has been implemented in the project - which allows you to communicate with an external application using the REST protocol: In the future, it is planned to adapt Spring Security & OAuth. Hmm, here I’m not very up to date, it seemed to me that working with REST should not be a problem in Android, but, “since the stars are lit, then someone needs this” Not much in both projects, but this is only the beginning. You can read more in the developer blog: Spring into Mobile Application Development
3 projects unite these projects:
* These libraries are intended for the development of mobile applications (but from different angles);
* Version 1.1.0.M1 - which in the SpringSource language means a very, very first version;
* These projects, like the Spring Social discussed earlier, grew out of GreenHouse , a project whose meaning I did not quite understand, but which nevertheless can serve as a good example of using a wide range of libraries from Spring Source.
So in order:
Sping mobile
The aim of the project is to simplify the development of Spring MVC applications adapted for mobile devices. Until that functionality there are not very many - most importantly - it is the client's definition of the type (mobile or standard), with which the user is logged, so you can use design type: . That is, $ {currentDevice.mobile} - the mobile version of the browser uses the client or standard. In addition, there are: * Automatic redirection of mobile clients to the mobile version of the site; * Determining the type of device using WURFL .
Please try again or /signup" />">sign up
Sping Android
The goal of the project is to simplify the development of native applications for the Android platform using the Spring Framework. So far, only RestTemplate has been implemented in the project - which allows you to communicate with an external application using the REST protocol: In the future, it is planned to adapt Spring Security & OAuth. Hmm, here I’m not very up to date, it seemed to me that working with REST should not be a problem in Android, but, “since the stars are lit, then someone needs this” Not much in both projects, but this is only the beginning. You can read more in the developer blog: Spring into Mobile Application Development
RestTemplate restTemplate = new RestTemplate(new CommonsClientHttpRequestFactory());
Event event = restTemplate.getForObject("https://myapp.com/event/{name}", Event.class, "springone2gx");