====== Spring Framework ====== http://spring.io Doc * [[http://docs.spring.io/spring-boot/docs/1.3.2.BUILD-SNAPSHOT/reference/htmlsingle/|Spring-Boot 1.3.2]] * [[http://docs.spring.io/spring/docs/current/spring-framework-reference/htmlsingle/|spring-framework-reference]] * Spring Data: * [[http://docs.spring.io/spring-data/data-jpa/docs/current/reference/html/|data-jpa]] * Sprint Data REST (@RepositoryRestResource, @Projection, ...) * [[http://docs.spring.io/spring-data/rest/docs/current/reference/html/|spring-data-rest Reference]] * [[http://docs.spring.io/spring-data/rest/docs/current/reference/html/#getting-started.basic-settings|Basic settings for Spring Data REST]]: basePath, defaultPageSize, sortParamName ... * [[http://projects.spring.io/spring-data-rest/|spring-data-rest Getting started]] * [[http://blog.shinetech.com/2015/04/15/spring-data-rest-and-projections/|Spring Data REST and Projections]] Hébergement sur le web; * [[https://devcenter.heroku.com/categories/java|Heroku]] ===== Tips ===== ==== Dependencies injection ==== All of your application components (@Component, @Service, @Repository, @Controller etc.) will be automatically registered as Spring Beans. ==== Hot swapping ==== [[https://spring.io/blog/2015/06/17/devtools-in-spring-boot-1-3|DevTools in Spring Boot]] === Solution spring-boot-devtools === * http://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/#howto-hotswapping * http://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/#using-boot-devtools === Solution spring-loaded === * http://blog.netgloo.com/2014/05/21/hot-swapping-in-spring-boot-with-eclipse-sts/ * http://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/#howto-hotswapping * https://github.com/spring-projects/spring-loaded Configurer Eclipse: {{:informatique:java:frameworks:springloaded-eclipse-configuration.png?320|}} Maven: org.springframework.boot spring-boot-maven-plugin org.springframework springloaded 1.2.0.RELEASE Spring, dans src/main/resources/application.properties : spring.thymeleaf.cache: false ==== Source and Javadoc ==== Avec le plugin eclipse de maven: mvn eclipse:eclipse -DdownloadSources=true -DdownloadJavadocs=true