Resources for a .net programmer for learning Java EE

Possible duplicate:
Java: A good introduction to the J2EE framework for noobs

I'm not new to programming at all - I've been programming in .net for over ten years. I did Java from time to time, but never at the enterprise level. Now I would like to learn how to use Java EE.

What are some good online resources or books that I can buy? I'll need a step-by-step download guide to set up my environment (I already have the Glassfish toolbox for eclipse, but I'm not sure if that's what I need or where to go with it ..).

I think coding a simple website to do basic crud operations will give me a good start.


source to share

3 answers

To begin with, I avoid everything J2EE says as it is an outdated ugly version. Look for Java EE 6, or at least Java EE 5.

Also, my recommendation would be to download the Java EE version of Netbeans as it has everything you need. This same site has several starter tutorials and a longer tutorial on ecommerce

If you want to get started with servlets and JSPs in Tomcat, just make sure it is selected during the installation procedure.



Glassfish is fine. You can also consider JBOSS; it is another open source Java EE application server and will cost you nothing to try.

I'm not sure if WebLogic from BEA / Oracle is still available for developer download, but this is my favorite Java EE application server. Version 9/10 from BEA, before Oracle bought them, was simply the best.

You can start with a servlet / JSP engine like Tomcat or Jetty. You will start with servlets (HTTP listeners that respond to GET / POST requests); JSP (a templating language that uses tags that are compiled into servlets and run on the server - thinks of them as servlet / HTML factories); and JDBC (Relational Database Communication). You can go a long way with just these.

Once you get the hang of those, you can decide between a Java EE (EJB) or Spring solution. Spring is not part of the Java EE specification, but it is a great alternative. It is a combination of dependency injection, aspect-oriented programming, and robust modules for persistence, remote access, messaging, web services, web MVC, LDAP, and more.



NetBeans IDE is not as ubiquitous as eclipse (which is why eclipse is a very good choice), but makes Java EE 6 with Java 7 and GlassFish very simple. And has several tutorials.



All Articles