Jump to content

  • Log in with Facebook Log in with Twitter Log In with Google Sign In
  • Create Account

Java EE/Spring/Hibernate etc

- - - - -

  • Please log in to reply
1 reply to this topic



    L3: Novice

  • ET Member
  • 119 posts
On the road to fame
  • Admin:14
  • Server:NQ1
  • Steam ID:STEAM_0:0:48721031
  • T-M:2-0
Hey, so here I am, trying to learn these things. And I'd like to ask experienced coders in these technologies from which sources get the knowledge, on which put biggest pressure, what be aware of end so on. Would love to get some feedback or tips :)

Click here to login or here to register to remove this ad, it's free!



    L9: Master

  • Platinum VIP
  • 2,378 posts
Has a brilliant future
  • Admin:7
  • Server:NQ1

This is basically my job.

Well, used to be. Still come into contact with it regularly, but I'm more specialized nowadays.


First step should be making sure you understand the conceps of Inversion of Control and Dependency Injection.

Found that this tutorial tends to help a lot of people with Dependency Injection (and IoC).: https://www.journald...xample-tutorial


After that it depends on what you use case is, but generally speaking Spring has some sample code on their website for basically every component.

Most of the things you will run into, will be solved on StackOverflow.

  • Hibernate: try to stick with the JPA specification. Won't be always possible, but helps switching to different ORMs down the line
  • Might be worth looking into Spring Data  (JPA). Adds another abstraction layer to data management.
  • I'm assuming you are using Maven or Gradle (or equivalent): if not => do that.
  • Don't bother with Spring MVC, make REST endpoints and build your front end in Javascript (or be like me: let others build the front end)

You will notice it's really easy to get stuck in the Spring economy. Spring is a behemoth in Java development. But be aware there are other solution ;)


Example: we recently built a microservice architecture based application using Dropwizard and Google Guice. JDBI instead of Hibernate. This had some other fun things like AKKA and Kafka, but don't worry about those just yet :)

I like this stack way more than the standard Spring/Hibernate setup. It makes Spring feel ancient



Don't frequent these forums anymore, but I am on Discord basically 24/7. Feel free to add me there in case you have more specific questions.

Edited by DrJoske, 15 November 2017 - 01:54 PM.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users