<attribute name="JndiName">MySqlDS</attribute> <attribute name="ManagedConnectionFactoryProperties"> <properties> <config-property name="ConnectionURL" type="java.lang.String">jdbc:mysql://localhost:3306
/test</config-property> <config-property name="DriverClass" type="java.lang.String">org.gjt.mm.mysql.Driver
</config-property> <!--set these only if you want only default logins, not through JAAS --> <config-property name="UserName" type="java.lang.String">root</config-property> <config-property name="Password" type="java.lang.String"></config-property> </properties> </attribute>
3、安装MySQL和MySQL Control Center,到mysql\bin目录中启动mysqld-nt.exe,即开启mysql服务。使用MySQL Control
Center很方便地进行管理(类似SQL Server)。
4、将Eclipse(以3.0M8为例)解压到D:\,再将lomboz包中plugins目录中的内容解压到D:\Eclipse\plugins中,启动eclipse。(1)window--preferences--lomboz,设置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,勾选lomboz J2EE Wizards。
开发环境总算是设置好了,下面就出发吧!
| 第1页: 第1页 |