This tutorial uses Servlets and JSPs in combination with Couchbase
Server 2.0 to display and manage beers and breweries found in the
beer-sample dataset. The easiest way is to
develop it with your IDE (like Eclipse or NetBeans) and then
publish it automatically to your application server (Apache Tomcat
or GlassFish) through a war archive. The code
used here is designed to be as portable as possible, but it may be
the case that you need to tweak one or two things if you have a
slightly different version or a customized setup.