Copyright by mitkook, Forwording without authorized is forbidden!
For the project implement, I start to study J2EE. Presently, the notes for studying is as follows:
-= Platform Constructing =-
1. Download J2SE :http://java.sun.com/javase/downloads/index.jsp
2. Download J2EE :http://java.sun.com/javaee/downloads/index.jsp
3. Choose an IDE : JCreator/Eclipse/JBuilder will be okay! Of course, you can use Ant instead!
4. Change System's Environment Variables :
JAVA_HOME = The location of the J2SE SDK installation J2EE_HOME = The location of the J2EE SDK installation PATH Should include the bin directories of the J2EE SDK, and J2SE installations
As for me:
J2SE location: C:/Program Files/Java/jdk1.5.0 J2EE location: D:/Program Files/Sun/AppServer/jdk
Then, My Computer -> Properties -> Advanced -> Environment Variables -> System Variables ->
JAVA_HOME = C:/Program Files/Java/jdk1.5.0 J2EE_HOME = D:/Program Files/Sun/AppServer/jdk CLASSPATH = .;%JAVA_HOME%/lib;%JAVA_HOME%/lib/tools.jar; D:/Program Files/Sun/AppServer/lib/j2ee.jar;.; PATH [COLOR=orangered]+=[/COLOR] D:/Program Files/Sun/AppServer/bin; C:/Program Files/Java/jdk1.5.0/bin
5. If use IDE to compile the java-files, must include the j2ee.jar !
Take JCreator for instance:
Configure -> Options -> JDK Profiles -> "Insert your J2EE's JDK Path" -> "Click" Up to Select it as the current JDK -> "Click" Edit -> Add -> Add Achive... -> "Add your j2ee.jar Path" -> Finish!
6. You have succeed to constructing a J2EE Platform! Enjoy it!
-= Useful URLs =-
http://www.java-cn.com - Many Documents to download
http://www.chinajavaworld.com - The Best Forum For Java in China PR
http://community.csdn.net/ - Java J2EE / EJB / JMS Forum
http://www.tusc.com.au/tutorial/html/index.html
- Tutorial for building J2EE Applications using JBOSS and ECLIPSE (Under Linux)
http://blog.csdn.net/wri1982/archive/2005/05/08/373435.aspx
- 在eclipse + MyEclipse下配置建立J2EE工程
http://blog.csdn.net/gaolongbiti/archive/2005/05/21/377545.aspx
- MyEclipse J2EE Enterprise Application Projects - Quckstart
http://www.laliluna.de/tutorials.html
- Lots of Tutorials for Hibernate, EJB 2, EJB 3 Struts, JavaServerfaces (JSF) Tomcat, JBoss, Myeclipse, Eclipse and others!