Quick Look: Spring XD


Spring XD:  A really quick way to batch process data from an easy to run shell.   It’s very easy to setup to run a one node version of XD and use it on Windows, Mac or Linux.   Looks like a great tool.




Quick Loop: JHipster and Spring Boot Tools

Install Yeoman and other JavaScript Tools

npm install -g yo
npm install -g bower
npm install -g grunt-cli
npm install -g gulp
npm install -g karma
npm install jshint
npm install -g ngmin

Install JHipster

npm install -g generator-jhipster

Update your version of JHipster with:

npm update -g generator-jhipster

And then you can update your project when you run again.

yo jhipster
yo jhipster:entity foo
yo jhipster:service bar
grunt server
bower install
bower update
grunt build
java -jar jhipster-0.1-SNAPSHOT.war --spring.profiles.active=prod
mvn -Pprod package
-javaagent:spring_loaded/springloaded-jhipster.jar -noverify -Dspringloaded=plugins=io.github.jhipster.loaded.instrument.JHipsterLoadtimeInstrumentationPlugin
mvn -Pprod spring-boot:run
mvn spring-boot:run

The application will be available on http://localhost:8080.

Quick Look: Mocking Options

JMock is cool, because of this awesome book!


can test private and static
doesn’t need to worry about injections, works through class loader
mocks statics, 3rd party library, …