<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Java on Jamkey</title><link>https://jamkey.fr/tags/java/</link><description>Recent content in Java on Jamkey</description><generator>Hugo -- gohugo.io</generator><language>en-US</language><lastBuildDate>Fri, 27 Nov 2026 18:02:59 +0100</lastBuildDate><atom:link href="https://jamkey.fr/tags/java/index.xml" rel="self" type="application/rss+xml"/><item><title>Start a project with JHipster</title><link>https://jamkey.fr/start-a-project-with-jhipster/</link><pubDate>Sat, 09 Jul 2016 00:00:00 +0000</pubDate><guid>https://jamkey.fr/start-a-project-with-jhipster/</guid><description>&lt;img src="https://jamkey.fr/images/jhipster.jpg" alt="Featured image of post Start a project with JHipster" /&gt;&lt;p&gt;&lt;strong&gt;JHipster&lt;/strong&gt; is a free and open-source application generator used to develop quickly a modern web application using AngularJS and the Spring Framework.&lt;br&gt;
JHipster provides tools to generate a project with a Java stack on the server side (using Spring Boot) and a responsive Web front-end on the client side (with AngularJS and Bootstrap).&lt;br&gt;
The term ‘JHipster’ comes from ‘Java Hipster’, as its initial goal was to use all the modern and ‘hype’ tools available at the time.&lt;br&gt;
Today, it has reached a more enterprise goal, with a strong focus on developer productivity, tooling and quality.&lt;/p&gt;
&lt;p&gt;See this presentation for more information:&lt;br&gt;
&lt;a class="link" href="https://jhipster.github.io/presentation/#/" target="_blank" rel="noopener"
 &gt;https://jhipster.github.io/presentation/#/&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="what-jhipster-do-"&gt;What JHipster do ?
&lt;/h2&gt;&lt;h3 id="the-major-functionnalities"&gt;The major functionnalities
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;Generate a full stack application, with many options&lt;/li&gt;
&lt;li&gt;Generate CRUD entities&lt;/li&gt;
&lt;li&gt;Database migrations with Liquibase&lt;/li&gt;
&lt;li&gt;NoSQL databases support (Cassandra, MongoDB)&lt;/li&gt;
&lt;li&gt;Elasticsearch support&lt;/li&gt;
&lt;li&gt;Websockets support&lt;/li&gt;
&lt;li&gt;Automatic deployment to CloudFoundry, Heroku, OpenShift&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="the-stack"&gt;The Stack
&lt;/h3&gt;&lt;p&gt;&lt;strong&gt;Technology stack on the client side&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Single Web page application:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Responsive Web Design&lt;/li&gt;
&lt;li&gt;&lt;a class="link" href="http://html5boilerplate.com/" target="_blank" rel="noopener"
 &gt;HTML5 Boilerplate&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="link" href="http://getbootstrap.com/" target="_blank" rel="noopener"
 &gt;Twitter Bootstrap&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="link" href="http://angularjs.org/" target="_blank" rel="noopener"
 &gt;AngularJS&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Compatible with IE9+ and modern browsers&lt;/li&gt;
&lt;li&gt;Full internationalization support with &lt;a class="link" href="https://github.com/angular-translate/angular-translate" target="_blank" rel="noopener"
 &gt;Angular Translate&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Optional &lt;a class="link" href="https://www.npmjs.com/package/node-sass" target="_blank" rel="noopener"
 &gt;Sass&lt;/a&gt; support for CSS design&lt;/li&gt;
&lt;li&gt;Optional WebSocket support with Spring Websocket&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;With the great &lt;a class="link" href="http://yeoman.io/" target="_blank" rel="noopener"
 &gt;Yeoman&lt;/a&gt; development workflow:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Easy installation of new JavaScript libraries with &lt;a class="link" href="http://bower.io/" target="_blank" rel="noopener"
 &gt;Bower&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Build, optimization and live reload with &lt;a class="link" href="http://www.gulpjs.com/" target="_blank" rel="noopener"
 &gt;Gulp.js&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Testing with &lt;a class="link" href="http://karma-runner.github.io/" target="_blank" rel="noopener"
 &gt;Karma&lt;/a&gt; and &lt;a class="link" href="http://phantomjs.org/" target="_blank" rel="noopener"
 &gt;PhantomJS&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;And what if a single Web page application isn’t enough for your needs?&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Support for the &lt;a class="link" href="http://www.thymeleaf.org/" target="_blank" rel="noopener"
 &gt;Thymeleaf&lt;/a&gt; template engine, to generate Web pages on the server side&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Technology stack on the server side&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;A complete &lt;a class="link" href="http://spring.io/" target="_blank" rel="noopener"
 &gt;Spring application&lt;/a&gt;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a class="link" href="http://projects.spring.io/spring-boot/" target="_blank" rel="noopener"
 &gt;Spring Boot&lt;/a&gt; for easy application configuration&lt;/li&gt;
&lt;li&gt;&lt;a class="link" href="http://maven.apache.org/" target="_blank" rel="noopener"
 &gt;Maven&lt;/a&gt; or &lt;a class="link" href="http://www.gradle.org/" target="_blank" rel="noopener"
 &gt;Gradle&lt;/a&gt; configuration for building, testing and running the application&lt;/li&gt;
&lt;li&gt;&lt;a class="link" href="https://jhipster.github.io/profiles/" target="_blank" rel="noopener"
 &gt;« development » and « production » profiles&lt;/a&gt; (both for Maven and Gradle)&lt;/li&gt;
&lt;li&gt;&lt;a class="link" href="http://docs.spring.io/spring-security/site/index.html" target="_blank" rel="noopener"
 &gt;Spring Security&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="link" href="http://spring.io/guides/gs/rest-service/" target="_blank" rel="noopener"
 &gt;Spring MVC REST&lt;/a&gt; + &lt;a class="link" href="https://github.com/FasterXML/jackson" target="_blank" rel="noopener"
 &gt;Jackson&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Optional WebSocket support with Spring Websocket&lt;/li&gt;
&lt;li&gt;&lt;a class="link" href="http://projects.spring.io/spring-data-jpa/" target="_blank" rel="noopener"
 &gt;Spring Data JPA&lt;/a&gt; + Bean Validation&lt;/li&gt;
&lt;li&gt;Database updates with &lt;a class="link" href="http://www.liquibase.org/" target="_blank" rel="noopener"
 &gt;Liquibase&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="link" href="https://github.com/elastic/elasticsearch" target="_blank" rel="noopener"
 &gt;Elasticsearch&lt;/a&gt; support if you want to have search capabilities on top of your database&lt;/li&gt;
&lt;li&gt;&lt;a class="link" href="http://www.mongodb.org/" target="_blank" rel="noopener"
 &gt;MongoDB&lt;/a&gt; support if you’d rather use a document-oriented NoSQL database instead of JPA&lt;/li&gt;
&lt;li&gt;&lt;a class="link" href="http://cassandra.apache.org/" target="_blank" rel="noopener"
 &gt;Cassandra&lt;/a&gt; support if you’d rather use a column-oriented NoSQL database instead of JPA&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Ready to go into production:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Monitoring with &lt;a class="link" href="http://metrics.dropwizard.io/" target="_blank" rel="noopener"
 &gt;Metrics&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Caching with &lt;a class="link" href="http://ehcache.org/" target="_blank" rel="noopener"
 &gt;ehcache&lt;/a&gt; (local cache) or &lt;a class="link" href="http://www.hazelcast.com/" target="_blank" rel="noopener"
 &gt;hazelcast&lt;/a&gt; (distributed cache)&lt;/li&gt;
&lt;li&gt;Optional HTTP session clustering with &lt;a class="link" href="http://www.hazelcast.com/" target="_blank" rel="noopener"
 &gt;hazelcast&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Optimized static resources (gzip filter, HTTP cache headers)&lt;/li&gt;
&lt;li&gt;Log management with &lt;a class="link" href="http://logback.qos.ch/" target="_blank" rel="noopener"
 &gt;Logback&lt;/a&gt;, configurable at runtime&lt;/li&gt;
&lt;li&gt;Connection pooling with &lt;a class="link" href="https://github.com/brettwooldridge/HikariCP" target="_blank" rel="noopener"
 &gt;HikariCP&lt;/a&gt; for optimum performance&lt;/li&gt;
&lt;li&gt;Builds a standard WAR file or an executable JAR file&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="how-does-it-works"&gt;How does it works
&lt;/h2&gt;&lt;p&gt;Here is an example of JHipster generation. All the source code example are available in my GitHub: &lt;a class="link" href="https://github.com/jamkey/simplejhipster" target="_blank" rel="noopener"
 &gt;https://github.com/jamkey/simplejhipster&lt;/a&gt;&lt;/p&gt;
&lt;h3 id="proxy-setup"&gt;Proxy setup
&lt;/h3&gt;&lt;p&gt;Working in a corporate environment you very often have issue to access to Internet resources. A proxy is very often used by corporations to filter Internet accesses. Here are few tips to deal with proxies when using JHipster stack.&lt;/p&gt;
&lt;p&gt;In order to work JHipster will get NPM packages from the registry.&lt;/p&gt;
&lt;p&gt;You have to setup your proxy to work with command lines.&lt;/p&gt;
&lt;p&gt;JHipster uses NPM, Bower. But these tools used also Git commands and Github accesses !&lt;/p&gt;
&lt;p&gt;So you have to setup proxy for each tools. In the example, change &lt;Your ID&gt; and &lt;Your password&gt; by your Directory ID and password.&lt;/p&gt;
&lt;h4 id="npm-proxy-setup"&gt;NPM proxy setup
&lt;/h4&gt;&lt;p&gt;To use a HTTP proxy add a config to NPM.&lt;/p&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;npm config &lt;span class="nb"&gt;set&lt;/span&gt; proxy http://&amp;lt;Your ID&amp;gt;:&amp;lt;Your password&amp;gt;@&amp;lt;proxy host&amp;gt;:&amp;lt;proxy port&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;npm config &lt;span class="nb"&gt;set&lt;/span&gt; https-proxy http://&amp;lt;Your ID&amp;gt;:&amp;lt;Your password&amp;gt;@&amp;lt;proxy host&amp;gt;:&amp;lt;proxy port&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;To delete this config you just have to execute the following commands:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;npm config rm proxy
npm config rm https-proxy
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;With NPM you can also use a Nexus proxy to proxify all the access to NPM registry.&lt;/p&gt;
&lt;p&gt;To do that you have to add a config to NPM.&lt;/p&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;npm config set registry http://mynexus.mycorporate/nexus/content/groups/npm-all
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;strong&gt;All the config is put into a &lt;em&gt;.npmrc&lt;/em&gt; file in your home directory.&lt;/strong&gt;&lt;/p&gt;
&lt;h4 id="bower-proxy-setup"&gt;Bower proxy setup
&lt;/h4&gt;&lt;p&gt;Add a &lt;em&gt;.bowerrc&lt;/em&gt; file into your home directory to add a proxy config.&lt;/p&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;{
 &amp;#34;directory&amp;#34;: &amp;#34;library&amp;#34;,
 &amp;#34;registry&amp;#34;: &amp;#34;http://bower.herokuapp.com&amp;#34;,
 &amp;#34;proxy&amp;#34;: &amp;#34;http://&amp;lt;Your ID&amp;gt;:&amp;lt;Your password&amp;gt;@&amp;lt;my proxy host&amp;gt;:&amp;lt;my proxy port&amp;gt;&amp;#34;,
 &amp;#34;https-proxy&amp;#34;: &amp;#34;http://&amp;lt;Your ID&amp;gt;:&amp;lt;Your password&amp;gt;@&amp;lt;my proxy host&amp;gt;:&amp;lt;my proxy port&amp;gt;&amp;#34;
}
&lt;/code&gt;&lt;/pre&gt;&lt;h4 id="git-proxy-setup"&gt;Git proxy setup
&lt;/h4&gt;&lt;p&gt;To use a HTTP proxy add a config to Git.&lt;/p&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;git config --global http.proxy http://&amp;lt;Your ID&amp;gt;:&amp;lt;Your password&amp;gt;@&amp;lt;your proxy host&amp;gt;:&amp;lt;your proxy port&amp;gt;
git config --global https.proxy http://&amp;lt;Your ID&amp;gt;:&amp;lt;Your password&amp;gt;@&amp;lt;your proxy host&amp;gt;:&amp;lt;your proxy port&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;To delete this config you just have to execute the following commands:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;git config --global --unset http.proxygit config --global --unset https.proxy
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;In somes cases, you will have to uncheck the SSL verification. This is not recommended !&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;git config --global http.sslVerify false
&lt;/code&gt;&lt;/pre&gt;&lt;h3 id="install-jhipster"&gt;Install JHipster
&lt;/h3&gt;&lt;ol&gt;
&lt;li&gt;Install Java 8 from &lt;a class="link" href="http://www.oracle.com/technetwork/java/javase/downloads/index.html" target="_blank" rel="noopener"
 &gt;the Oracle website&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;(Optional) Install a Java build tool.
&lt;ul&gt;
&lt;li&gt;Whether you choose to use &lt;a class="link" href="http://maven.apache.org/" target="_blank" rel="noopener"
 &gt;Maven&lt;/a&gt; or &lt;a class="link" href="http://www.gradle.org/" target="_blank" rel="noopener"
 &gt;Gradle&lt;/a&gt;, you normally don’t have to install anything, as JHipster will automatically install the &lt;a class="link" href="https://github.com/takari/maven-wrapper" target="_blank" rel="noopener"
 &gt;Maven Wrapper&lt;/a&gt; or the &lt;a class="link" href="http://gradle.org/docs/current/userguide/gradle_wrapper.html" target="_blank" rel="noopener"
 &gt;Gradle Wrapper&lt;/a&gt; for you.&lt;/li&gt;
&lt;li&gt;If you don’t want to use those wrappers, go to the official &lt;a class="link" href="http://maven.apache.org/" target="_blank" rel="noopener"
 &gt;Maven webiste&lt;/a&gt; or &lt;a class="link" href="http://www.gradle.org/" target="_blank" rel="noopener"
 &gt;Gradle website&lt;/a&gt; to do your own installation.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Install Git from &lt;a class="link" href="http://git-scm.com/" target="_blank" rel="noopener"
 &gt;git-scm.com&lt;/a&gt;. We recommend you also use a tool like &lt;a class="link" href="http://www.sourcetreeapp.com/" target="_blank" rel="noopener"
 &gt;SourceTree&lt;/a&gt; if you are starting with Git.&lt;/li&gt;
&lt;li&gt;Install Node.js from &lt;a class="link" href="http://nodejs.org/" target="_blank" rel="noopener"
 &gt;the Node.js website&lt;/a&gt; (prefer an LTS version). This will also install npm, which is the node package manager we are using in the next commands.&lt;/li&gt;
&lt;li&gt;Install Yeoman:&lt;/li&gt;
&lt;/ol&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;npm install -g yo
&lt;/code&gt;&lt;/pre&gt;&lt;ol start="6"&gt;
&lt;li&gt;Install Bower:&lt;/li&gt;
&lt;/ol&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;npm install -g bower
&lt;/code&gt;&lt;/pre&gt;&lt;ol start="7"&gt;
&lt;li&gt;Install Gulp:&lt;/li&gt;
&lt;/ol&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;npm install -g gulp
&lt;/code&gt;&lt;/pre&gt;&lt;ol start="8"&gt;
&lt;li&gt;Install JHipster:&lt;/li&gt;
&lt;/ol&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;npm install -g generator-jhipster
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;To know the version of JHipster you use execute the command:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;npm list -g generator-jhipster 
/Users/sebastien/.node/lib 
└── generator-jhipster@3.4.2 
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;You will need a compiler for your OS (Visual C++ for Windows…) in order to build some tools and benefit from all the features.&lt;/p&gt;
&lt;p&gt;Example for Windows:&lt;/p&gt;
&lt;p&gt;&lt;a class="link" href="http://www.microsoft.com/fr-fr/download/details.aspx?id=19988" target="_blank" rel="noopener"
 &gt;http://www.microsoft.com/fr-fr/download/details.aspx?id=19988&lt;/a&gt;&lt;/p&gt;
&lt;h3 id="generate-the-base-project"&gt;Generate the base project
&lt;/h3&gt;&lt;p&gt;In this example we start generating a simple application called &lt;strong&gt;simplejhipster&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Launch the Yeoman JHipster generator and just follow the questions.&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;$ mkdir simplejhipster
$ cd simplejhipster
$ yo jhipster
 
 ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
 ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
 ██ ████████ ██ ███████ █████ ██ ██████ ███████
 ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
 ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██

 http://jhipster.github.io

Welcome to the JHipster Generator v3.4.2
Application files will be generated in folder: /Users/sebastien/veille/jhipsterexample
? (1/16) Which *type* of application would you like to create? Monolithic application (recommended for simple projects)
? (2/16) What is the base name of your application? simplejhipster
? (3/16) What is your default Java package name? fr.jamkey.jhipster
? (4/16) Which *type* of authentication would you like to use? HTTP Session Authentication (stateful, default Spring Security mechanism)
? (5/16) Do you want to use social login (Google, Facebook, Twitter)? Warning, this doesn&amp;#39;t work with Cassandra! No
? (6/16) Which *type* of database would you like to use? SQL (H2, MySQL, MariaDB, PostgreSQL, Oracle)
? (7/16) Which *production* database would you like to use? MySQL
? (8/16) Which *development* database would you like to use? H2 with disk-based persistence
? (9/16) Do you want to use Hibernate 2nd level cache? Yes, with ehcache (local cache, for a single node)
? (10/16) Do you want to use a search engine in your application? No
? (11/16) Do you want to use clustered HTTP sessions? No
? (12/16) Do you want to use WebSockets? No
? (13/16) Would you like to use Maven or Gradle for building the backend? Gradle
? (14/16) Would you like to use the LibSass stylesheet preprocessor for your CSS? No
? (15/16) Would you like to enable internationalization support? Yes
? Please choose the native language of the application? English
? Please choose additional languages to install French
? (16/16) Which testing frameworks would you like to use? Gatling, Cucumber, Protractor
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Yeoman will generate all the directory tree, Java classes, Javascript front, configuration, resources and build script from your choices.&lt;/p&gt;
&lt;p&gt;The commands ‘&lt;em&gt;npm install&lt;/em&gt;‘ and ‘&lt;em&gt;bower install&lt;/em&gt;‘ are executed at the end to retrieve all the NPM and Bower dependencies&lt;/p&gt;
&lt;p&gt;An advice here is to commit/push/tag the base project now, just after generating the base application.&lt;/p&gt;
&lt;p&gt;It will be very usefull in order to use the merge features of Git when you will use again the generator.&lt;/p&gt;
&lt;p&gt;For example, our SimpleJHipster application is tagged with a v0.0 version containing the base generation project:&lt;/p&gt;
&lt;p&gt;&lt;a class="link" href="https://github.com/jamkey/simplejhipster/releases/tag/v0.0" target="_blank" rel="noopener"
 &gt;https://github.com/jamkey/simplejhipster/releases/tag/v0.0&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;All the generation configuration is kept into the &lt;em&gt;.yo-rc.json&lt;/em&gt; file at the root of the project.&lt;/p&gt;
&lt;p&gt;Keep this file and just execute ‘yo jhipster’ and you will get the same base application.&lt;/p&gt;
&lt;p&gt;The directory generated will look like this:&lt;/p&gt;
&lt;p&gt;&lt;img alt="Alt text" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://jamkey.fr/images/jhipster/jhipster-directory.png"&gt;&lt;/p&gt;
&lt;h4 id="test-the-generated-application"&gt;Test the generated application
&lt;/h4&gt;&lt;p&gt;Execute the following command to launch the application:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;gradle 
:bower 
:cleanResources UP-TO-DATE 
:nodeSetup SKIPPED 
:gulpConstantDev 
[14:49:03] Using gulpfile ~/veille/simplejhipster/gulpfile.js 
[14:49:03] Starting ‘ngconstant:dev’… 
[14:49:03] Finished ‘ngconstant:dev’ after 16 ms 
:processResources 
:compileJava 
:compileScala UP-TO-DATE 
:classes 
:findMainClass 
:bootRun 
14:49:07.934 [main] DEBUG org.springframework.beans.factory.config.YamlPropertiesFactoryBean – Loading from YAML: class path resource [config/application.yml] 
14:49:07.962 [main] DEBUG org.springframework.beans.factory.config.YamlPropertiesFactoryBean – Merging document (no matchers set): {management={context-path=/management, health={mail={enabled=false}}}, spring={application={name=simplejhipster}, profiles={active=dev}, jpa={open-in-view=false, hibernate={ddl-auto=none, naming-strategy=org.springframework.boot.orm.jpa.hibernate.SpringNamingStrategy}}, messages={basename=i18n/messages}, mvc={favicon={enabled=false}}, thymeleaf={mode=XHTML}}, security={basic={enabled=false}}, jhipster={async={corePoolSize=2, maxPoolSize=50, queueCapacity=10000}, mail={from=simplejhipster@localhost}, swagger={title=simplejhipster API, description=simplejhipster API documentation, version=0.0.1, termsOfServiceUrl=null, contactName=null, contactUrl=null, contactEmail=null, license=null, licenseUrl=null}, ribbon={displayOnActiveProfiles=dev}}} 
14:49:07.963 [main] DEBUG org.springframework.beans.factory.config.YamlPropertiesFactoryBean – Loaded 1 document from YAML resource: class path resource [config/application.yml] 
14:49:08.021 [restartedMain] DEBUG org.springframework.beans.factory.config.YamlPropertiesFactoryBean – Loading from YAML: class path resource [config/application.yml] 
14:49:08.024 [restartedMain] DEBUG org.springframework.beans.factory.config.YamlPropertiesFactoryBean – Merging document (no matchers set): {management={context-path=/management, health={mail={enabled=false}}}, spring={application={name=simplejhipster}, profiles={active=dev}, jpa={open-in-view=false, hibernate={ddl-auto=none, naming-strategy=org.springframework.boot.orm.jpa.hibernate.SpringNamingStrategy}}, messages={basename=i18n/messages}, mvc={favicon={enabled=false}}, thymeleaf={mode=XHTML}}, security={basic={enabled=false}}, jhipster={async={corePoolSize=2, maxPoolSize=50, queueCapacity=10000}, mail={from=simplejhipster@localhost}, swagger={title=simplejhipster API, description=simplejhipster API documentation, version=0.0.1, termsOfServiceUrl=null, contactName=null, contactUrl=null, contactEmail=null, license=null, licenseUrl=null}, ribbon={displayOnActiveProfiles=dev}}} 
14:49:08.025 [restartedMain] DEBUG org.springframework.beans.factory.config.YamlPropertiesFactoryBean – Loaded 1 document from YAML resource: class path resource [config/application.yml]

██  ██    ██  ████████  ███████    ██████  ████████  ████████  ███████ 
██  ██    ██     ██     ██    ██  ██          ██     ██        ██    ██ 
██  ████████     ██     ███████    █████      ██     ██████    ███████ 
██    ██  ██    ██     ██     ██             ██     ██     ██        ██   ██ 
██████   ██    ██  ████████  ██        ██████      ██     ████████  ██    ██

:: JHipster   :: Running Spring Boot 1.3.5.RELEASE :: 
:: http://jhipster.github.io ::

2016-07-09 14:49:08.593  INFO 34917 — [  restartedMain] fr.jamkey.jhipster.SimplejhipsterApp     : Starting SimplejhipsterApp on MacBook-Pro-de-Sebastien.local with PID 34917 (/Users/sebastien/veille/simplejhipster/build/classes/main started by sebastien in /Users/sebastien/veille/simplejhipster) 
2016-07-09 14:49:08.594 DEBUG 34917 — [  restartedMain] fr.jamkey.jhipster.SimplejhipsterApp     : Running with Spring Boot v1.3.5.RELEASE, Spring v4.2.6.RELEASE 
2016-07-09 14:49:08.594  INFO 34917 — [  restartedMain] fr.jamkey.jhipster.SimplejhipsterApp     : The following profiles are active: dev 
2016-07-09 14:49:08.922 DEBUG 34917 — [kground-preinit] org.jboss.logging                        : Logging Provider: org.jboss.logging.Slf4jLoggerProvider found via system property 
2016-07-09 14:49:10.504 DEBUG 34917 — [  restartedMain] f.j.jhipster.config.AsyncConfiguration   : Creating Async Task Executor 
2016-07-09 14:49:10.865 DEBUG 34917 — [  restartedMain] f.j.j.config.MetricsConfiguration        : Registering JVM gauges 
2016-07-09 14:49:10.872 DEBUG 34917 — [  restartedMain] f.j.j.config.MetricsConfiguration        : Initializing Metrics JMX reporting 
2016-07-09 14:49:11.603  INFO 34917 — [ost-startStop-1] fr.jamkey.jhipster.config.WebConfigurer  : Web application configuration, using profiles: [dev] 
2016-07-09 14:49:11.604 DEBUG 34917 — [ost-startStop-1] fr.jamkey.jhipster.config.WebConfigurer  : Initializing Metrics registries 
2016-07-09 14:49:11.606 DEBUG 34917 — [ost-startStop-1] fr.jamkey.jhipster.config.WebConfigurer  : Registering Metrics Filter 
2016-07-09 14:49:11.606 DEBUG 34917 — [ost-startStop-1] fr.jamkey.jhipster.config.WebConfigurer  : Registering Metrics Servlet 
2016-07-09 14:49:11.607 DEBUG 34917 — [ost-startStop-1] fr.jamkey.jhipster.config.WebConfigurer  : Initialize H2 console 
2016-07-09 14:49:11.608  INFO 34917 — [ost-startStop-1] fr.jamkey.jhipster.config.WebConfigurer  : Web application fully configured 
2016-07-09 14:49:11.901 DEBUG 34917 — [ost-startStop-1] f.j.j.config.DatabaseConfiguration       : Configuring Datasource 
2016-07-09 14:49:12.151 DEBUG 34917 — [ost-startStop-1] f.j.j.config.DatabaseConfiguration       : Configuring Liquibase 
2016-07-09 14:49:12.165  WARN 34917 — [ster-Executor-1] f.j.j.c.liquibase.AsyncSpringLiquibase   : Starting Liquibase asynchronously, your database might not be ready at startup! 
objc[34917]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/bin/java and /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/libinstrument.dylib. One of the two will be used. Which one is undefined. 
2016-07-09 14:49:13.400 DEBUG 34917 — [ster-Executor-1] f.j.j.c.liquibase.AsyncSpringLiquibase   : Started Liquibase in 1235 ms 
2016-07-09 14:49:14.427  INFO 34917 — [ost-startStop-1] fr.jamkey.jhipster.SimplejhipsterApp     : Running with Spring profile(s) : [dev] 
2016-07-09 14:49:15.648 DEBUG 34917 — [  restartedMain] f.j.jhipster.config.CacheConfiguration   : Starting Ehcache 
2016-07-09 14:49:15.650 DEBUG 34917 — [  restartedMain] f.j.jhipster.config.CacheConfiguration   : Registering Ehcache Metrics gauges 
2016-07-09 14:49:16.017 DEBUG 34917 — [  restartedMain] f.j.j.c.apidoc.SwaggerConfiguration      : Starting Swagger 
2016-07-09 14:49:16.026 DEBUG 34917 — [  restartedMain] f.j.j.c.apidoc.SwaggerConfiguration      : Started Swagger in 9 ms 
2016-07-09 14:49:16.903  INFO 34917 — [  restartedMain] fr.jamkey.jhipster.SimplejhipsterApp     : Started SimplejhipsterApp in 8.877 seconds (JVM running for 9.277) 
2016-07-09 14:49:16.903  INFO 34917 — [  restartedMain] fr.jamkey.jhipster.SimplejhipsterApp     : 
———————————————————- 
Application ‘simplejhipster’ is running! Access URLs: 
Local:         http://127.0.0.1:8080 
External:     http://192.168.0.48:8080 
———————————————————- 
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Go to the provided URL, you should see the generated application up and running:&lt;/p&gt;
&lt;p&gt;&lt;img alt="Alt text" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://jamkey.fr/images/jhipster/jhipster-screen.png"&gt;&lt;/p&gt;
&lt;h2 id="add-new-entities"&gt;Add new entities
&lt;/h2&gt;&lt;p&gt;You can add entities to JHipster with the command line. But it is very convenient, fast and useful by the JDL Studio which is an open source UML online application:&lt;/p&gt;
&lt;p&gt;&lt;a class="link" href="https://jhipster.github.io/jdl-studio/" target="_blank" rel="noopener"
 &gt;https://jhipster.github.io/jdl-studio/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="Alt text" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://jamkey.fr/images/jhipster/jdlstudio.png"&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Method:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;write your entities en the left with the simple description language&lt;/li&gt;
&lt;li&gt;write your relationship&lt;/li&gt;
&lt;li&gt;you can see the result in a UML point of view on the right&lt;/li&gt;
&lt;li&gt;click download to get the JDL file&lt;/li&gt;
&lt;li&gt;copy the JDL file at the root of the project&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Here is a JDL file sample we will use for the SimpleJHipster application:&lt;/p&gt;
&lt;p&gt;&lt;a class="link" href="https://github.com/jamkey/simplejhipster/blob/master/simplejhipster.jdl" target="_blank" rel="noopener"
 &gt;https://github.com/jamkey/simplejhipster/blob/master/simplejhipster.jdl&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Install the JHipster-UML generator:&lt;/strong&gt;&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;npm install -g jhipster-uml
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;The syntax of execution is the following:&lt;/p&gt;
&lt;p&gt;Syntax:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;jhipster-uml &amp;lt;xmi file&amp;gt; [-options]

The options are: -db &amp;lt;the database name&amp;gt;

Defines which database type your app uses; -dto [BETA] Generates DTO with MapStruct for the selected entities; -paginate Generates pagination for the selected entities; -service Generates services for the selected entities.

Once you have the JDL file in your project (here called ‘jhipster-example.jdl’), call the JHipster-UML generator to add the entities to you current JHipster project:

nbsp;jhipster-uml simplejhipster.jdl -db 
In the One-to-Many relationship from Department to Employee, only bidirectionality is supported for a One-to-Many association. The other side will be automatically added. 
In the One-to-Many relationship from Employee to Job, only bidirectionality is supported for a One-to-Many association. The other side will be automatically added. 
Creating: 
Region 
Country 
Location 
Department 
Task 
Employee 
Job 
JobHistory 
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Again, an advice here is to commit/push/tag the project now, just after generating the entities of the application.&lt;/p&gt;
&lt;p&gt;For example, our SimpleJHipster application is tagged with a v0.1 version containing the base generation project:&lt;/p&gt;
&lt;p&gt;&lt;a class="link" href="https://github.com/jamkey/simplejhipster/releases/tag/v0.1" target="_blank" rel="noopener"
 &gt;https://github.com/jamkey/simplejhipster/releases/tag/v0.1&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The entities are now created. You can now re-launch the application to see the results.&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;$ gradle
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Once logged into the UI, you have access to management pages of the generated entities:&lt;/p&gt;
&lt;p&gt;&lt;img alt="Alt text" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://jamkey.fr/images/jhipster/jhipster-entities.png"&gt;&lt;/p&gt;
&lt;p&gt;Jhipster will manage merge of modifications by command line.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;You now have a complete application you can start from. With all bindings (Spring AngularJS, Security, API, administration) and conventions relevant for you application.&lt;/strong&gt;&lt;/p&gt;
&lt;h2 id="next-steps"&gt;Next steps
&lt;/h2&gt;&lt;p&gt;Since JHipster version 3, the generation is &lt;strong&gt;micro-service&lt;/strong&gt; oriented. Back and front can be separated easily.&lt;/p&gt;
&lt;p&gt;A JHipster Dashboard based on Hystrix can monitor circuit breakers.&lt;/p&gt;
&lt;p&gt;&lt;a class="link" href="https://github.com/jhipster/jhipster-dashboard" target="_blank" rel="noopener"
 &gt;https://github.com/jhipster/jhipster-dashboard&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;JHipster also provides a &lt;strong&gt;Registry&lt;/strong&gt; for micro-services to plug-in.&lt;/p&gt;
&lt;p&gt;&lt;a class="link" href="https://github.com/jhipster/jhipster-registry" target="_blank" rel="noopener"
 &gt;https://github.com/jhipster/jhipster-registry&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A &lt;strong&gt;JHipster Console&lt;/strong&gt; based on Elastic Stack is also available:&lt;/p&gt;
&lt;p&gt;&lt;a class="link" href="https://github.com/jhipster/jhipster-console" target="_blank" rel="noopener"
 &gt;https://github.com/jhipster/jhipster-console&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Have a look at the JHipster website:&lt;/p&gt;
&lt;p&gt;&lt;a class="link" href="https://jhipster.github.io/" target="_blank" rel="noopener"
 &gt;https://jhipster.github.io/&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="external-links"&gt;External Links
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;JHipster site&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a class="link" href="https://jhipster.github.io/" target="_blank" rel="noopener"
 &gt;https://jhipster.github.io/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A JHipster book is being written by Matt Raible, the author of &lt;a class="link" href="https://en.wikipedia.org/wiki/AppFuse" target="_blank" rel="noopener"
 &gt;AppFuse&lt;/a&gt;.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a class="link" href="http://www.jhipster-book.com/" target="_blank" rel="noopener"
 &gt;http://www.jhipster-book.com/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Node behind a proxy&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a class="link" href="http://jjasonclark.com/how-to-setup-node-behind-web-proxy" target="_blank" rel="noopener"
 &gt;http://jjasonclark.com/how-to-setup-node-behind-web-proxy&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;NPM Nexus proxy&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;ul&gt;
&lt;li&gt; &lt;a class="link" href="https://books.sonatype.com/nexus-book/reference/npm-proxying-registries.html#fig-npm-proxy" target="_blank" rel="noopener"
 &gt;https://books.sonatype.com/nexus-book/reference/npm-proxying-registries.html#fig-npm-proxy&lt;/a&gt;&lt;/li&gt;
&lt;li&gt; &lt;a class="link" href="https://books.sonatype.com/nexus-book/reference/npm-configuring.html" target="_blank" rel="noopener"
 &gt;https://books.sonatype.com/nexus-book/reference/npm-configuring.html&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;</description></item></channel></rss>