EclipseJBossMySQL development environment setting overview

Source: Internet
Author: User
J2EE is good. As a development environment, if the classic configuration is used: JBuilder + Weblogic + Oracle, it is handy, but the price is amazing. This configuration is mainly for large-scale or ultra-large exploitation, and has high hardware requests. it is good for small and medium sized domestic exploitation of J2EE. As a development environment, if you use the classic configuration: JBuilder Weblogic Oracle, you are comfortable with it, but the price is amazing. This configuration is mainly used for large-scale or ultra-large scale utilization, and has high hardware requests. it is not recommended for the current situation where small and medium scale utilization is dominant in China.

Although domestic developers have long been used to it, the author believes that it is still necessary to take part in the OpenSource ranks as early as possible to promote the development of the domestic software industry.

Eclipse, JBoss, and MySQL recommended in this article are well-known open-source software and are very practical.

1. JDK: Http://java.sun.comDownload. J2SDK1.4. X is recommended.

2. JBoss: Http://www.jboss.orgDownload, I apply jboss-3.0.4_tomcat-4.0.6

3. MySQL: Http://www.mysql.comDownload, the author application mysql-4.0.13, also need to download MySQL Control Center (graphical management tool), Http://sourceforge.net/projects/mmmysql/Download the JDBC driver for MySQL, such as mm. mysql-2.0.14-you-must-unjar-me.jar

4. Eclipse: Http://www.eclipse.orgDownload. The latest version is 3.0M8. if you are a beginner, we recommend you download the 2.1.2 and Chinese packages (2.1.2 _ Translations ). To Http://www.objectlearn.com/Download lomboz (this plug-in is required for J2EE development). Note that the lomboz version must be consistent with the eclipse version. Otherwise, the lomboz version is abnormal.

Environment settings (take Windows 2000 drive D as the root directory ):

1. JDK installation and configuration will not be clarified here.

2. decompress JBoss to D: \, and select mm in the JDBC drive package of MySQL. mysql-2.0.14-bin.jar decompress to D: \ jboss-3.0.4_tomcat-4.0.6 \ server \ default \ lib, and then copy the jboss-3.0.4_tomcat-4.0.6 under the D: \ mysql-service.xml \ docs \ examples \ jca directory to D: \ jboss-3.0.4_tomcat-4.0.6 \ server \ default \ deploy Directory, find the corresponding paragraph and make the following corrections:

  
   MySqlDS jdbc:mysql://localhost:3306/test org.gjt.mm.mysql.Driver  root
  


3. install MySQL and MySQL Control Center and start mysqld-nt.exe in the mysql \ bindirectory to enable the mysql service. The application of MySQL Control Center is very convenient for governance (similar to SQL Server ).

4. decompress Eclipse (taking 3.0M8 as an example) to D: \, decompress the content in the plug-ins directory in the lomboz package to D: \ Eclipse \ plugins, and start eclipse. (1) window -- preferences -- lomboz, set JDK Tools. jar, Server Definitions -- Server types: JBoss 3.0 -- Application Server Directory: D:/jboss-3.0.4_tomcat-4.0.6; Classpath Variable: D:/jboss-3.0.4_tomcat-4.0.6 (2) window -- Customize Perspective -- Shortcuts -- New -- Java, check lomboz J2EE Wizards.

The development environment is finally set up. let's get started! (To a limited extent, it is inevitable that there will be errors in the rush. please correct me! I look forward to seeing domestic Java fans join the OpenSource ranks as early as possible. eclipse is very strong and interesting. I am also exploring and learning. I will share my learning experience with you in the future, you are welcome to discuss more leaders. Lgx522@21cn.com)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.