ECLIPSE+JBOSS+MYSQL development environment Set the whole introduction

Source: Internet
Author: User
Tags join mysql jboss root directory
Mysql| strategy is very good. As a development environment, if the use of classic configuration: Jbuilder+weblogic+oracle, naturally handy, but the price is amazing. This configuration is mainly for large or super large applications, hardware requirements are very high for the domestic small and medium-sized applications of the current situation, not recommended.

Although the domestic developers have long been accustomed to, but I think it is still in the bud, should join the ranks of opensource as soon as possible to promote the development of domestic software industry.

The eclipse, JBoss, and MySQL recommended in this article are highly prestigious open source software and are very useful.

1, JDK: To http://java.sun.comDownload, recommend the use of j2sdk1.4.x

2, JBoss: To http://www.jboss.orgDownload, the author uses jboss-3.0.4_tomcat-4.0.6

3, MySQL: To http://www.mysql.comDownload, the author uses the mysql-4.0.13, also must download the MySQL control Center (graphical management tool), to http://sourceforge.net/projects/mmmysql/Download MySQL's JDBC driver, such as Mm.mysql-2.0.14-you-must-unjar-me.jar

4, Eclipse: To http://www.eclipse.orgDownload, the latest version for 3.0M8, if the novice is recommended to download 2.1.2 and Chinese package (2.1.2_translations). To http://www.objectlearn.com/Download Lomboz (this plugin is required to develop Java EE), it should be noted that Lomboz version must be consistent with the Eclipse version, otherwise not normal.

Environment settings (take the root directory of the D disk under Windows 2000 for example):

1, the JDK installation configuration is no longer explained.

2, the JBoss extract to D:\, the MySQL JDBC Drive package in the Mm.mysql-2.0.14-bin.jar extract into the D:\jboss-3.0.4_tomcat-4.0.6\server\default\lib, and then D:\ Mysql-service.xml Copy to D:\jboss-3.0.4_tomcat-4.0.6\server\default\ in the JBOSS-3.0.4_TOMCAT-4.0.6\DOCS\EXAMPLES\JCA directory Deploy directory, locate the appropriate paragraph and make the following modifications:

 
       
         Mysqlds jdbc:m 
 Ysql://localhost:3306/test org.gjt.mm.mysql.Driver root 
        


    3, install MySQL and MySQL control Center, start the Mysqld-nt.exe in the Mysql\bin directory, that is, open the MySQL service. It is easy to manage using MySQL control center (similar to SQL Server).

    4, extract Eclipse (for example, 3.0M8) to D:\, and then extract the contents of the plugins directory in the Lomboz package into D:\Eclipse\plugins. 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, tick Lomboz java Wizards.

     Development environment is finally set up, let's go! The level is limited, the haste inevitably is wrong, welcome prawns to correct! I hope that the domestic Java fans to join the opensource, Eclipse is very powerful and interesting, the author is also exploring learning, in the future will be the learning experience with you share, welcome more discussion guidance. lgx522@21cn.com)

Related Article

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.