Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting Started With Java EE [duplicate]

Tags:

I am about to start a web project and have been working almost exclusively with a LAMP stack for the past 5 years. I would like to build something larger and more scalable and hence have been looking into Java EE. The division of logic between JSP and EJB seems ideal for what I want to do.

Can anyone recommend resources for getting familiar with Java EE? And perhaps if anyone knows of technologies that are more scalable than PHP that I should consider as well, I'm all ears.

Thanks a lot!

like image 611
Bryan Marble Avatar asked Nov 14 '08 20:11

Bryan Marble


People also ask

Is Java EE still relevant?

Java Enterprise Edition (Java EE) is still the go-to Java-based platform for running enterprise applications. Enterprises use Java EE to run their software due to its platform independence, support for most modern hardware, and demand for fewer technical dependencies.

Is Java EE deprecated?

Related modules in Java SE 9 are also deprecated for removal: java.se.ee (Aggregator module for the six modules above) jdk.xml.ws (Tools for JAX-WS) jdk.

Is Java EE same as Jakarta EE?

How about Java 2EE, J2EE, or now Jakarta EE? Actually, these are all different names for the same thing: a set of enterprise specifications that extend Java SE.

Is Java EE better than Java SE?

In this short article, we got to know what the three Java Editions are, and we compared the functionalities that each of them provides. Java SE can be used for simple applications. It's the best starting point for learning Java. We can use Java EE to create more complex and robust applications.


2 Answers

I strongly recommend starting with a good book. This is a complex topic and even an experienced developer needs some help to get started.

I also recommend to get familiar with non Sun technologies right for the beginning. Database persistence is much easier with frameworks such as Hibernate and iBatis than with Entity Beans (even in the new Java EE standard). Have a look at a dependency injection framework like Spring and Guice. In fact Spring offers much more than dependency injection (aspect oriented development, web services framework, MVC, wrappers for JDBC and JMS).

Another important thing is the selection of IDE. In the free world you can either go with Eclipse (Java EE edition) or NetBeans. Both are good, I find NetBeans a little slow, but it's getting better. I also recommend Tomcat as the application server. Although it doesn't implement the Java EE standard completely (no EJBs), there are little things that you can't do. Full application servers are JBoss from RedHat and GlassFish from Oracle. GlassFish is nicely integrated in NetBeans (has nothing to do with Sun's previous application server - it is fast and reliable).

EDIT

The question about JEE books is now closed. Answers suggested http://www.theserverside.com/, J2EE: The Big Picture and Manning publications, for books like "Spring in Action" and "Java Persistence with Hibernate". I am sure there are now more good books available.

like image 160
kgiannakakis Avatar answered Dec 29 '22 11:12

kgiannakakis


I am personally a big fan of Sun's official tutorials even when I am familiar with the basic subject matter. I've found them fairly good for skimming and seeing what's relevant and what's not, and they are freely available online.

The only problem with them is that they don't cover commonplace tools and libraries, so once you've covered your bases, look for Java EE best practices and tools.

Also, skip the Sun application servers and go straight for Tomcat and JBoss.

like image 20
Uri Avatar answered Dec 29 '22 11:12

Uri