Table des matières

Spring Framework

http://spring.io

Doc

Hébergement sur le web;

Tips

Dependencies injection

All of your application components (@Component, @Service, @Repository, @Controller etc.) will be automatically registered as Spring Beans.

Hot swapping

DevTools in Spring Boot

Solution spring-boot-devtools

Solution spring-loaded

Configurer Eclipse:

Maven:

    <build>
        <plugins>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
	                <dependencies>
			        <dependency>
			            <groupId>org.springframework</groupId>
			            <artifactId>springloaded</artifactId>
			            <version>1.2.0.RELEASE</version>
			        </dependency>
			</dependencies>
            </plugin>
        </plugins>
    </build>

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