Caucho maker of Resin Server | Application Server (Java EE Certified) and Web Server


Resin Documentation

home company docs 
app server 
 Resin Server | Application Server (Java EE Certified) and Web Server


Seam on Resin

Steps required to run the seam-booking example. Software Prerequisites:

  • Resin 4.0.29+
  • Seam 3.1.0+

Prepare seam-booking example

  • Unzip seam-3.1.0.Final.jar
  • Change into seam-3.1.0.Final/examples/seam-booking directory
  • Issue mvn install command
  • Copy expanded seam-booking directory into Resin's webapps directory
  • Edit WEB-INF/classes/META-INF/persistence.xml (see below)
  • Add "WEB-INF/resin-web.xml to add a datasource (see below)
  • Copy the required libraries into webapp-jars directory (see list of libraries below)


<?xml version="1.0" encoding="UTF-8"?>
<persistence xmlns=""
   <persistence-unit name="booking">
           <property name="eclipselink.ddl-generation" value="drop-and-create-tables"/>
           <property name="eclipselink.ddl-generation.output-mode" value="database"/>


<web-app xmlns="">
    <driver type="org.hsqldb.jdbc.JDBCDriver">

Copy seam-3.1.0-Final/lib jar files to Resin's webapp-jars directory

  • drools-api.jar
  • drools-compiler.jar
  • drools-core.jar
  • hibernate-core-4.0.0.Final.jar
  • hibernate-validator-4.2.0.Final.jar
  • hsql.jar
  • javassist.jar
  • jtds.jar
  • portal-service.jar
  • portlet.jar
  • saxpath.jar

Copyright © 1998-2015 Caucho Technology, Inc. All rights reserved. Resin ® is a registered trademark. Quercustm, and Hessiantm are trademarks of Caucho Technology.

Cloud-optimized Resin Server is a Java EE certified Java Application Server, and Web Server, and Distributed Cache Server (Memcached).
Leading companies worldwide with demand for reliability and high performance web applications including, CNET, DZone and many more are powered by Resin.

home company docs 
app server