r/javahelp • • Dec 08 '20

Popular Java frameworks worth learning ?

For people that have been using Java in a work environment or that are looking for employment , What java libraries should I pick up as a recent graduate ?

17 Upvotes

30 comments sorted by

View all comments

5

u/__helix__ Dec 08 '20

Early on, almost everything you might be doing is some sort of CRUD web app. If you can go end to end, you are ahead of your peers.

Spring, like others have said, likely as a basis for some sort of REST endpoint. Assuming you are a junior developer and list it, I'd ask:

  • create a rest endpoint that does a telephone number lookup in a database. You pick the database.

  • Would ask you to talk about an MVC pattern, and see if you had seen design patterns before. May ask about a singleton, and how Spring uses those.

  • How are you set up the endpoint? Controller config and setup for POST/GET/params etc.

  • How are you configuring your application properties to deal with different test/stage/prod settings.

  • How did you test it?

While it could be argued if it is a framework - JDBC, connecting to Elastic, Cassandra, or one of the other 'major' databases - should be within your skill set.

Lastly, learn docker. Makes it very easy to hand code/environments off and likely will be part of your day to day.

2

u/Falcao_E Dec 08 '20

Thanks for this. Needles to say after reading the comments that spring is a must

1

u/__helix__ Dec 08 '20

Just one of the more common options. Spring has more or less taken over what use to be the J2EE space of 'common' configuration, components, and application development. It has a very rich set of tools at this point. I've not touched them all.

Faster Jackson for parsing JSON/XML/YAML. Apache commons, and other smaller components are worth your time too.

Ideally you should know the basics on GIT, a bit of Maven or Gradle, a CI/CD pipeline like Jenkins, and a testing framework like JUnit/Spock/Cucumber. Keep in mind - expectation as a new grad is not very high - so if you can connect the dots on these or more, you are in very good shape.

Continued practice with the language is always a good thing. Get to know streams, lambdas, completable futures, and some of the more advanced Java concepts. Universities tend to focus on Java 6/7 style coding.