Cloudscape and Derby are relational database managers implemented in Java. Tomcat is the reference servlet container implemented in Java. This article is a cookbook, providing step-by-step recipes for integrating them in three common scenarios: the prototype integration, the casual integration, and the enterprise integration.