Eclipse + JBoss + MySQL Development Environment Settings

xiaoxiao2021-03-06  112

J2EE is very good. As a development environment, if you use a classic configuration: JBuilder WebLogic Oracle, it is very comfortable, but the price is amazing. This configuration is mainly for large or ultra-large applications, hardware requirements are also high, and is not recommended for domestic small and medium-sized applications. Although domestic developers have long been accustomed to the D version, the author thinks it is necessary to prevent it in order to join the OpenSource ranks as soon as possible, and promote the development of domestic software industry. The Eclipse, JBoss, MySQL recommended by this article is highly open source software, and it is very practical. 1, JDK: to http://java.sun.com Download, recommended J2SDK1.4.x 2, jboss: to http://www.jboss.org download, the author uses JBoss-3.0.4_tomcat-4.0.6 3, mysql: go to http://www.mysql.com Download, the author uses mysql-4.0.13, you must download Mysql Control Center, to http://sourceforge.net/projects/mmmmysql/ Download Mysql JDBC driver, such as mm.mysql-2.0.14-you-must-unjar-me.jar 4, Eclipse: to http://www.eclipse.org download, the latest version is 3.0M8, if it is a novice Recommended download 2.1.2 and language packs (2.1.2_translations). To http://www.objectlearn.com/ download Lomboz (this plugin development J2EE must be required), it is necessary to note that the version of Lomboz must be consistent with the Eclipse version, otherwise it is not normal. Environmental settings (Take the root directory of Win2000 D disk): 1. The installation configuration of JDK will not be described here. 2, extract JBoss to D: /, extract mm.mysql-2.0.14-bin.mysql-2.0.14-bin.jar in MySQL's JDBC driver package to D: /JBoss-3.0.4_tomcat-4.0.6/server/default/lib In, then copy the mysql-service.xml under the D: /JBoss-3.0.4_tomcat-4.0.6/docs/examples/jca directory to D: /JBoss-3.0.4_tomcat-4.0.6/server/default/deploy In the directory, find the corresponding paragraph and make the following modification:

MySQLDS

JDBC: MySQL: // localhost: 3306 / test

Org.gjt.mm.mysql.driver

root

转载请注明原文地址:https://www.9cbs.com/read-125328.html

New Post(0)