Topic: What's Struts-Hibernate?

  Print this page

1.What's Struts-Hibernate? Copy to clipboard
Posted by: helloworld
Posted on: 2003-09-24 23:45

Quick-Start FAQ
===============

* What's Struts-Hibernate?

Struts-Hibernate is suite of example applications and utilities about using the Hibernate persistence tool with the Struts application framework. The initial posting includes a port of the Hibernate eg1 servlet to a Struts application.

* How do I get started?

To build the complete project from scratch, copy the build.properties.sample file to build.properties
and conform the paths with your setup.

Everything you need should be in Struts RC1 or Hibernate 2.0 B3 distributions.

You can then use the 'all' target to build the project from scratch.

Using a default MySQL setup, 'all' will DROP AND CREATE the database.

DO NOT run 'all' if you have a working database that you would like to retain.

Backing up and restoring any existing database is YOUR responsibility.

To run the web applications interactively, set the document root to
the 'webapps' folder under the 'target' folder.

The target 'webapps.dist' (called by 'all') creates a WAR in the 'dist' folder
ready to deploy on your development or production server.

See 'hibername-schema.ddl' for a database description you can deploy on a remote server.

To use a different database, change the jdbc_driver build property
and the relevant properties in 'src/init/hibernate.properties'.

Running 'all' or 'exportSchema' will create the appropriate database and ddl or your driver.

###

struts-hibernate-src.zip (48.91k)

2.Re:What's Struts-Hibernate? [Re: helloworld] Copy to clipboard
Posted by: ringayumi
Posted on: 2003-09-25 00:07

Thanks , both are good framework!!
MVC framework and object persistence framework~

3.Re:What's Struts-Hibernate? [Re: helloworld] Copy to clipboard
Posted by: ajinjin
Posted on: 2003-09-26 08:57

thank u

4.Re:What's Struts-Hibernate? [Re: helloworld] Copy to clipboard
Posted by: markc
Posted on: 2003-09-26 11:32

struts - MVC framework (刚在学)
hibernate - object persistence framework (没用过)


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923