Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Introduction to JHipster

Driss Amri
September 17, 2015

Introduction to JHipster

A short introduction to modern java web development with JHipster.

This session was recorded and put on YouTube (Bad audio): https://youtu.be/lKzdgmoWIBo?list=LLATE3uiONzGMbrNW-I2DDPw&t=1461

Driss Amri

September 17, 2015
Tweet

More Decks by Driss Amri

Other Decks in Technology

Transcript

  1. Modern web application Java development
    JHipster

    View Slide

  2. Who is Driss Amri?
    Blogger at drissamri.be
    Traveler, Diver, Programmer

    View Slide

  3. Hipster
    n, noun
    1. One who is exceptionally aware of or interested in the latest trends and tastes.

    View Slide

  4. Eww, Java?!
    TIOBE
    GitHub

    View Slide

  5. Java 8
    Parallel Collections
    JSR 310 Date and Time API
    Functional Interfaces with default methods
    Lambda Expressions (Closures)
    Nashorn JavaScript engine

    View Slide

  6. Trends in Java
    Annotations
    Environments: development, production
    Microservices
    No containers
    Monitoring

    View Slide

  7. Production-ready applications
    ● HTTP Caching and GZip?
    ● JavaScript minification?
    ● Monitoring?
    ● Logging?
    ● Deployment?
    ● …

    View Slide

  8. Backend development

    View Slide

  9. Spring Boot Demo
    https://github.com/craftworkz/ucll-workshop-jhipster

    View Slide

  10. Spring Initializr @ start.spring.io

    View Slide

  11. Spring Boot
    Create standalone Spring application
    Embedded web container
    Convention over configuration
    Defaults to Spring best practises
    Production ready features

    View Slide

  12. Frontend development

    View Slide

  13. JavaScript MVC frameworks
    HTML 5 and CSS 3
    Mobile First
    Front-end optimization
    REST API’s
    Trends in Web Development

    View Slide

  14. View Slide

  15. View Slide

  16. What if we...

    View Slide

  17. View Slide

  18. Foundation
    Spring Boot
    Spring Security
    AngularJS
    Bootstrap
    Bower
    Metrics
    Liquibase
    JHipster
    Options
    Java 8 or Java 7 (legacy)
    Maven or Gradle
    Authentication: Token-based,
    Cookie-based, OAuth2
    Caching: EhCache or Hazelcast
    Grunt or gulp.js

    View Slide

  19. JHipster demo
    https://github.com/craftworkz/ucll-workshop-jhipster

    View Slide

  20. JHipster demo (cont’d)

    View Slide

  21. JHipster demo (cont’d)

    View Slide

  22. Demo JHipster on Bluemix
    Problem https://github.com/jhipster/generator-jhipster/issues/2009

    View Slide

  23. Production-ready applications with JHipster
    HTTP Caching and GZip?
    JavaScript minification?
    Monitoring?
    Logging?
    Deployment?

    View Slide

  24. Basics
    Maven
    Yeoman
    Grunt
    Bower
    Spring (Boot)
    AngularJS
    Bootstrap
    Frameworks to check
    Advanced
    Liquibase
    Spring Security
    BrowserSync
    Karma
    Gatling
    Swagger

    View Slide

  25. Get started!
    http://jhipster.github.io/
    https://github.com/jhipster/generator-jhipster
    http://stackoverflow.com/search?q=[jhipster]
    https://console.eu-gb.bluemix.net
    http://www.jhipster-book.com

    View Slide

  26. Questions?
    https://drissamri.be
    https://twitter.com/drams88
    https://speakerdeck.com/drissamri
    https://github.com/drissamri
    http://craftworkz.co
    https://twitter.com/craftworkz_co
    http://www.slideshare.net/craftworkz
    https://github.com/craftworkz
    https://bluemixdevs.mybluemix.net

    View Slide