Internet Shop in Ajax: Difference between revisions
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
** GWT servlet library (gwt-servlet.jar) | ** GWT servlet library (gwt-servlet.jar) | ||
** Hibernate library (hibernate3.jar) | ** Hibernate library (hibernate3.jar) | ||
** MySQL JDBC driver (jdbc-mysql.jar) | ** MySQL JDBC driver (jdbc-mysql.jar) | ||
* In addition, you may also have to add the following libraries, which seem to be dependencies of Hibernate: | |||
** DOM4J library (dom4j.jar) | |||
** Code Generation Library (cglib.jar) | |||
'''Important Note:''' Since they are JAR files, put them in lib/, not classes/ ! | '''Important Note:''' Since they are JAR files, put them in lib/, not classes/ ! | ||
Note: Under Gentoo, it is recommended to install all these packages using Portage. Then create symlinks from the Tomcat directories to the actual JARs. | |||
== SQL Tables == | == SQL Tables == |
Revision as of 10:08, 15 March 2007
Ajax Shop Project.
Configuring Tomcat in order to deploy the web application
- Logging must be configured through log4j. A sample log4j.properties file is present in the doc/ directory of the project.
- The following libraries (JAR files) are needed (place them in WEB-INF/lib in your webapp directory, or in the shared/lib directory):
- GWT servlet library (gwt-servlet.jar)
- Hibernate library (hibernate3.jar)
- MySQL JDBC driver (jdbc-mysql.jar)
- In addition, you may also have to add the following libraries, which seem to be dependencies of Hibernate:
- DOM4J library (dom4j.jar)
- Code Generation Library (cglib.jar)
Important Note: Since they are JAR files, put them in lib/, not classes/ !
Note: Under Gentoo, it is recommended to install all these packages using Portage. Then create symlinks from the Tomcat directories to the actual JARs.
SQL Tables
ShopItem
- ID
- ShopID
- Price
- Name
- Auction / Sale
- Image
- Description
- Status
- DateEntered
ShopCategory
- ShopID
- Name
- ID
- Subcategory (boolean)