r/javahelp • • Mar 05 '16

Wanting to learn Java for enterprise level application development.

Hey guys,

I've been involved in web development for many years. Mainly using PHP, Node, Python and frontend languages/technologies. One language I've constantly neglected is Java. It brings back pain from my University days.

I've heard all the hype, and how most large high traffic sites are using Java. Since I started learning Service Orientated Architecture I've been reading the benefits of Java. I'm slowly moving into enterprise level application design and it makes sense to move with the flow and start using Java. I'm no stranger to OOP, and use OOP and design patterns in most of my projects.

But, I don't know where to begin. I am basically approaching Java web development as a noob.

Where is the best place to start? What should I avoid? What would you recommend I learn to begin?

Thanks for any advice.

20 Upvotes

7 comments sorted by

4

u/ggleblanc Mar 05 '16

Here's one place to start: Java EE & Java Web Learning Trail

1

u/TheSOADude Mar 05 '16

Excellent thank you.

7

u/DeliveryNinja JPain Mar 05 '16

Most the stuff I have been doing in Java has been using Spring framework.

Have a look at Spring Boot, it's helps manage dependencies and uses annotations to shortcut creating complex web applications. Also allows you to bundle the application with a container like Tomcat.

http://projects.spring.io/spring-boot/

Guides

http://spring.io/guides/gs/rest-service/ - this will take you through building a simple restful application.

http://spring.io/guides/gs/accessing-data-jpa/ - this will teach you how to do DB connectivity using JPA. Really easy. You can do simple queries with almost no implementation. You just annotate your domain objects to map them to columns and create a single interface for them.

The alternative is to go the Java EE route as ggleblanc shows below and another spring boot like tool http://www.dropwizard.io/0.9.2/docs/ but I haven't used either extensively.

3

u/snot3353 COMPUTERS!!! Mar 05 '16

Spring or Play Framework are probably your best bets.

1

u/k_graph Apr 11 '16

Useful IDEs :

  1. Eclipse - Eclipse Luna

  2. Netbeans - Welcome to NetBeans

To start learning Java Online :

  1. Java Tutorial : http://docs.oracle.com/javase/tutorial/

  2. Tutorials Point : Page on tutorialspoint.com/ja

  3. Vogella Eclipse, Android and Java training and support

  4. Mkyong Java web development tutorials

Java Reference Books :

  1. Head First Java : Page on www.headfirstlabs.com/boo

  2. Java for Dummies : www.dummies.com/store/Com

  3. Java complete reference - Latest Edition.

Try and confirm to these Coding Standards: http://cleancode.sourceforge.net...

http://www.codeproject.com/Artic...

Forums you can visit : StackOverflow CodeRanch

Read more about Java web deveopment

-2

u/cs02rm0 Mar 05 '16

Try dropwizard. Avoid anything with Spring in the name.