Outils pour utilisateurs

Outils du site


informatique:java:frameworks:spring_framework

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
informatique:java:frameworks:spring_framework [08/12/2014 00:29] – [Tips] Hot swapping with spring-loaded cyrilleinformatique:java:frameworks:spring_framework [01/03/2019 19:34] (Version actuelle) – [Solution spring-loaded] cyrille
Ligne 2: Ligne 2:
  
 http://spring.io 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 ===== ===== Tips =====
 +
 +==== Dependencies injection ====
 +
 +All of your application components (@Component, @Service, @Repository, @Controller etc.) will be automatically registered as Spring Beans.
 +
  
 ==== Hot swapping ==== ==== 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://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   * http://docs.spring.io/spring-boot/docs/current-SNAPSHOT/reference/htmlsingle/#howto-hotswapping
     * https://github.com/spring-projects/spring-loaded     * https://github.com/spring-projects/spring-loaded
 +
 +Configurer Eclipse:
 +
 {{:informatique:java:frameworks:springloaded-eclipse-configuration.png?320|}} {{:informatique:java:frameworks:springloaded-eclipse-configuration.png?320|}}
 +
 +Maven:
 +<code xml>
 +    <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>
 +</code>
 +
 +Spring, dans src/main/resources/application.properties :
 +  spring.thymeleaf.cache: false
 +
 +==== Source and Javadoc ====
 +
 +Avec le plugin eclipse de maven:
 +<code>
 +mvn eclipse:eclipse -DdownloadSources=true  -DdownloadJavadocs=true
 +</code>
 +
informatique/java/frameworks/spring_framework.1417994981.txt.gz · Dernière modification : 08/12/2014 00:29 de cyrille

Sauf mention contraire, le contenu de ce wiki est placé sous les termes de la licence suivante : CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki