struts+jdon+hibernate

所属分类:Web服务器
开发工具:Java
文件大小:4092KB
下载次数:5
上传日期:2006-03-02 11:17:57
上 传 者tianling8
说明:  基于j2ee的轻量级应用平台框架,struts+jdon+hibernate
(based on the J2ME platform lightweight application framework, Apache struts jdon)

文件列表:
struts+jdon+hibernate\.classpath (1602, 2005-08-23)
struts+jdon+hibernate\.externalToolBuilders\New_Builder (1).launch (880, 2005-08-23)
struts+jdon+hibernate\.externalToolBuilders\org.eclipse.jdt.core.javabuilder (3).launch (425, 2005-06-23)
struts+jdon+hibernate\.externalToolBuilders (0, 2005-08-22)
struts+jdon+hibernate\.project (876, 2005-06-23)
struts+jdon+hibernate\bak (0, 2005-08-23)
struts+jdon+hibernate\build.xml (2075, 2005-08-23)
struts+jdon+hibernate\database.sql (297, 2005-06-23)
struts+jdon+hibernate\diagrams\com\default.txvpck (294, 2005-08-23)
struts+jdon+hibernate\diagrams\com\jdon\default.txvpck (293, 2005-08-23)
struts+jdon+hibernate\diagrams\com\jdon\framework\default.txvpck (294, 2005-08-23)
struts+jdon+hibernate\diagrams\com\jdon\framework\test\dao\default.txvpck (293, 2005-08-23)
struts+jdon+hibernate\diagrams\com\jdon\framework\test\dao (0, 2005-08-23)
struts+jdon+hibernate\diagrams\com\jdon\framework\test\default.txvpck (294, 2005-08-23)
struts+jdon+hibernate\diagrams\com\jdon\framework\test\model\default.txvpck (293, 2005-08-23)
struts+jdon+hibernate\diagrams\com\jdon\framework\test\model (0, 2005-08-23)
struts+jdon+hibernate\diagrams\com\jdon\framework\test\service\default.txvpck (293, 2005-08-23)
struts+jdon+hibernate\diagrams\com\jdon\framework\test\service (0, 2005-08-23)
struts+jdon+hibernate\diagrams\com\jdon\framework\test\web\default.txvpck (293, 2005-08-23)
struts+jdon+hibernate\diagrams\com\jdon\framework\test\web (0, 2005-08-23)
struts+jdon+hibernate\diagrams\com\jdon\framework\test (0, 2005-08-23)
struts+jdon+hibernate\diagrams\com\jdon\framework (0, 2005-08-23)
struts+jdon+hibernate\diagrams\com\jdon (0, 2005-08-23)
struts+jdon+hibernate\diagrams\com (0, 2005-08-23)
struts+jdon+hibernate\diagrams\default.txvpck (294, 2005-08-23)
struts+jdon+hibernate\diagrams (0, 2005-08-23)
struts+jdon+hibernate\dist\testApplication.ear (22307, 2005-08-23)
struts+jdon+hibernate\dist\testWeb.war (25548, 2005-08-23)
struts+jdon+hibernate\dist (0, 2005-08-23)
struts+jdon+hibernate\lib\antlr.jar (388562, 2004-11-23)
struts+jdon+hibernate\lib\aopalliance.jar (4467, 2005-07-28)
struts+jdon+hibernate\lib\asm.jar (25822, 2004-05-15)
struts+jdon+hibernate\lib\cglib-2.0.jar (261272, 2004-05-15)
struts+jdon+hibernate\lib\commons-beanutils.jar (118726, 2004-11-23)
struts+jdon+hibernate\lib\commons-collections.jar (175426, 2004-11-23)
struts+jdon+hibernate\lib\commons-digester.jar (109096, 2004-11-23)
struts+jdon+hibernate\lib\commons-fileupload.jar (22379, 2004-11-23)
struts+jdon+hibernate\lib\commons-logging.jar (38015, 2004-11-23)
struts+jdon+hibernate\lib\commons-pool-1.2.jar (42492, 2005-07-28)
struts+jdon+hibernate\lib\commons-validator.jar (84260, 2004-11-23)
... ...

this is a simple application Demo for Jdon framework, deploy the testApplication.ear to JBoss server, run it in browser url: http://localhost:8080/testWeb/ Demo Running: http://www.jdon.com:8080/testWeb/ the applicationlog.txt is a server.log of jboss that running a complication j2ee system with Jdonframework! you can find all function are active; intall Details (http://www.jdon.com/jdonframework/demo.htm) 1. download J2SE1.4, setup Windows/Linux ENV : JAVA_HOME=your j2se1.4 directory 2. download Tomcat/JBoss 3.X/JBoss 4.x 3. if you use jboss, copy lib/*.jar to jboss/server/default/lib if you use tomcat, copy lib/*.jar to tomcat/common/lib 4. if your use jboss, copy dist/testApplication.ear or dist/testWeb.war (only select one bewtween them) to jboss/server/default/deploy if you use tomcat, copy dist/testWeb.war to tomcat/webapps 5. startup your database. open database.sql , and populate the table testuser into your database. remember your database name, here is "test", if change it, you must change mysql-ds.xml's value. 6. if your database is MYSQL, below is configure for jboss, if you use tomcat. reference this artilce: http://www.7880.com/Info/Article-37f05fa0.html copy mysql-ds.xml to jboss/server/default/deploy, open mysql-ds.xml: TestDS jdbc:mysql://localhost:3306/test com.mysql.jdbc.Driver root if your mysql database's root password changed ,change the value if your database is not MYSQL, check jboss reference, know how to edit other db such as Oracle deploy file; note: the jndi name must be TestDS, it has configured in application. 7. startup jboss/bin/startup.bat or tomat/bin/startup.bat check the console, if there are many errors, open jboss/server/default/log/server.log and will find it maybe caused by database connection, carefully check step 7/8 8. open browser, http://localhost:8080/testWeb/

近期下载者

相关文件


收藏者