Step 1 Java, Hibernate, Struts, Tomcat, Eclipse, mySQL, JSP, Servlets, AJAX Tutorial with Testing
When I was learning some J2EE technology, I never quite found a tutorial that covered all the areas that I wanted to learn with easy step by step instructions. So I am going to attempt to do that here. If you find my tutorial helpful, please leave a comment, and if you know of something I should mention to help you, then you can leave a comment about that too.
All the technologies that I will mention are open source so you can download them directly to your computer.
Assumptions:
I am assuming you are using Windows XP or Windows Vista, and I am assuming that you have some programming experience in Java. You will also need to know how to use the web. If you need to learn JAVA first, you can visit the following tutorials.
Some tutorials are:
http://java.sun.com/docs/books/tutorial/
http://www.javabeginner.com/
http://www.java2s.com/Tutorial/Java/CatalogJava.htm/
You will also need to be familiar with HTML and XML.
XML tutorial: http://www.w3schools.com/xml/default.asp
HTML tutorial: http://www.w3schools.com/html/html_intro.asp
If you are a beginner Java programmer and you want to get familiar with a beginning Java IDE, you can download BlueJay at:
http://www.bluej.org/download/download.html
Step 1 download needed files :
You will need to make sure you have the technology installed on your computer.
You should put these entire downloads in a separate folder for when we need them.
Download Tomcat 5.5 (select the zip link under the Binary Distributions Core): http://tomcat.apache.org/download-55.cgi
Download Eclipse (Eclipse IDE for Java Developers (85 MB) select a mirror to download eclipse from:
http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/ganymede/R/eclipse-java-ganymede-win32.zip
Download the Tomcat Eclipse plugin from (tomcatPlughV321.zip version 3.2.1): http://www.eclipsetotale.com/tomcatPlugin.html
I am going to start with a tutorial for Struts 1 because Struts 2 is quite different. So visit this website and download struts-1.3.8-all.zip. http://struts.apache.org/download.cgi#struts20112
Download mySQL (windows ZIP/Setup.EXE): http://mysql.llarian.net/downloads/mysql/5.1.html
Download Hibernate from (hibernate-distribution-3.3.0.SP1-dist.zip): http://sourceforge.net/project/showfiles.php?group_id=40712&package_id=127784&release_id=620785/&abmode=1
The c3p0-0.9.1.2 jar file is included in the Hibernate download or you can download it separately from here:
http://sourceforge.net/project/showfiles.php?group_id=25357
You will need this for hibernate to manage your connection pool.
You also need a version of xerces and xalan for Struts.
You should download Xerces-J-bin.1.4.4.zip from http://archive.apache.org/dist/xml/xerces-j/
and
xalan-j_2_7_1
http://www.apache.org/dyn/closer.cgi/xml/xalan-j
You can download JAVA 1.5 here if you do not already have it: http://java.sun.com/javase/downloads/index_jdk5.jsp
I would download Java JDK 5.0 with Java EE
After downloading all of your needed files for this tutorial, go to step two for set up and configuration.
Go To Step 2

5 comments:
Greg,
why do you choose SweetDEV RIA?
Thanks,
Jef
Well, I was playing around with and it seems pretty easy to create trees and things like that. I am going to start expanding on some of this stuff when I get the time.
Greg this looks fab. As a developer who learned Java at university but never used it in the real world, i have had a real desire to learn struts. I have tried the Geronimo and webspshere tutorials but have frustratingly not been able to get their complicated set ups. Your series looks much more promising. Thank you for taking the time to put it together.
Thats great Paul. If you get stuck some where, leave a comment and I will see if I can help you.
Greg,
Your effort is much appreciated
Post a Comment