 <p>You can download this <a href="http://www.box.net/shared/hxb7yeum17" rel="nofollow noreferrer">sample application</a> mentioned in this <a href="http://monstersandwich.blogspot.com/2010/01/shopping-cart-web-application-part-7.html" rel="nofollow noreferrer">blog</a>. It runs on GlassFish but it is an Eclipse project. You can easily <a href="http://netbeans.org/kb/docs/java/import-eclipse.html" rel="nofollow noreferrer">import</a> the Eclipse project into NetBeans.</p>