Wednesday April 23, 2003
Struts + OJB Example at SourceForge James Mitchell has contributed a modified version of Chuck Cavaness' Beer4All Shopping cart demo to the Struts' SourceForge Project. If you're looking for an example of using OJB with Struts, this is probably your best bet. From the struts-user mailing list:
Ok, just got off the phone with Chuck. He said he doesn't mind, so here is the version that I have: http://sourceforge.net/projects/struts/ Note - This is a simple webapp and not all the features have been implemented. I will continue to improve the codebase over the next few months, but this is a "use at your own risk" sample application. To deploy "as is", you will need to configure your database connection (repository.xml) and create a database (or change the config) called 'ojb' with a user 'ojb' and password 'ojb'. Next execute the sql.sql against the new database to create the necessary data and internal tables (OJB). Use you best judgment to deploy on your container. I can help if using Tomcat, Resin, or JBoss/Tomcat. Personally, I use JBoss/Tomcat so the unzipped/exploded war should deploy if you extract it to server/default/deploy. Have fun!!! -- James Mitchell Software Developer/Struts Evangelist http://www.open-tools.org
BTW, there are quite a few Hibernate example apps (appfuse, hibernate and struts-resume) at the Struts SF project as well.
Posted in Java
at Apr 23 2003, 10:22:43 AM MDT
Add a Comment
Search This Site
Recent Entries
- Wine Tasting in Napa Valley
- How to build a Shot-Ski
- Bus Project Update
- Farewell to the 2011-2012 Ski Season
- Cruising around the Western Caribbean
- Spring Break!
- A Spectacular Trip to Stockholm and Madrid
- Comparing Web Frameworks and HTML5 with Play Scala at Jfokus 2012
- Play Framework 2.0 with Peter Hilton at Jfokus
- Secure JSON Services with Play Scala and SecureSocial