Matt RaibleMatt Raible is a Java Champion and Developer Advocate at Okta. developer.okta.com

The JHipster Mini-Book The JHipster Mini-Book is a guide to getting started with hip technologies today: Angular, Bootstrap, and Spring Boot. All of these frameworks are wrapped up in an easy-to-use project called JHipster.

This book shows you how to build an app with JHipster, and guides you through the plethora of tools, techniques and options you can use. Furthermore, it explains the UI and API building blocks so you understand the underpinnings of your great application.

For book updates, follow @jhipster-book on Twitter.

10+ YEARS


Over 10 years ago, I wrote my first blog post. Since then, I've authored books, had kids, traveled the world, found Trish and blogged about it all.

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
Comments:

Post a Comment:
  • HTML Syntax: Allowed