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!
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.
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.
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.
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With