<document>
<localtoc/>

Because Resin will detect and reload web-apps automatically, you can configure a Resin web-app to point directly to your IDE's build space. When you build the project in the IDE, Resin will automatically pick up the changes without any need for a deploy step.

<resin xmlns="http://caucho.com/ns/resin"> <cluster id=""> <server id=""> <http port="8080"/> </server> <host id=""> <web-app id="/test" root-directory="/home/ferg/ws/test/build"/> </host> </cluster> </resin>

See http://wiki.caucho.com/Eclipse

See http://wiki.caucho.com/IntelliJ

See http://wiki.caucho.com/Db2

- http://wiki.caucho.com/Hsqldb
- hsqldb homepage

"hsqldb is a relational database engine written in Java. It offers a small (less than 160k), fast database engine which offers both in memory and disk based tables."

- See http://wiki.caucho.com/Informix
- IBM Informix drivers

<web-app xmlns="http://caucho.com/ns/resin"> <database> <name>jdbc/informix</name> <driver> <type>com.informix.jdbcx.IfxConnectionPoolDataSource</type> <url>jdbc:informix-sqli://123.45.67.89:1533/dbname</url> <init-param param-name="INFORMIXSERVER" param-value="myserver"/> <user>username</user> <password>password</password> </driver> </database> </web-app> <web-app xmlns="http://caucho.com/ns/resin"> <database> <name>jdbc/informix-xa</name> <xa>true</xa> <driver type="com.informix.jdbcx.IfxXADataSource"> <url>jdbc:informix-sqli://123.45.67.89:1533/dbname</url> <init-param param-name="INFORMIXSERVER" param-value="myserver"/> <user>username</user> <password>password</password> </driver> ... </database> </web-app>

See http://wiki.caucho.com/Interbase

- See http://wiki.caucho.com/Mysql for more information

<web-app xmlns="http://caucho.com/ns/resin"> <database> <name>jdbc/mysql</name> <driver> <type>com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource</type> <url>jdbc:mysql://localhost:3306/dbname</url> <user>username</user> <password>password</password> </driver> </database> </web-app>

- http://wiki.caucho.com/Oracle
- Oracle JDBC Frequently Asked Questions

<web-app xmlns="http://caucho.com/ns/resin"> <database> <name>jdbc/oracle</name> <driver> <type>oracle.jdbc.pool.OracleConnectionPoolDataSource</type> <url>jdbc:oracle:thin:@localhost:1521:dbname</url> <user>username</user> <password>password</password> </driver> </database> </web-app>

Note, the XADataSource is only needed for distributed transactions. If your transactions only include the single data source, the OracleConnectionPoolDataSource will be more efficient.

<web-app xmlns="http://caucho.com/ns/resin"> <database> <jndi-name>jdbc/oracle-xa</jndi-name> <xa>true</xa> <driver> <type>oracle.jdbc.xa.client.OracleXADataSource</type> <url>jdbc:oracle:thin:@localhost:1521:dbname</url> <user>username</user> <password>password</password> </driver> ... </database> </web-app>

- See http://wiki.caucho.com/Postgres
- PostgreSQL JDBC Drivers

<web-app xmlns="http://caucho.com/ns/resin"> <database> <name>jdbc/name</name> <driver> <type>org.postgresql.Driver</type> <url>jdbc:postgresql://127.0.0.1:5432/dbname</url> <user>username</user> <password>password</password> </driver> </database> </web-app>

- See http://wiki.caucho.com/SQLServer

<web-app xmlns="http://caucho.com/ns/resin"> <database> <name>jdbc/sqlserver</name> <driver type="com.microsoft.jdbcx.sqlserver.SQLServerDataSource"> <serverName>csdevsqla01.office.foo</serverName> <portNumber>1433</portNumber> <databaseName>Reports</databaseName> <user>XXX</user> <password>YYY</password> <selectMethod>cursor</selectMethod> </driver> <xa>true</xa> </database> </web-app>

- See http://wiki.caucho.com/Sybase

<web-app xmlns="http://caucho.com/ns/resin"> <database> <name>jdbc/sybase</name> <driver type="com.sybase.jdbc2.jdbc.SybConnectionPoolDataSource"> <network-protocol>Tds</network-protocol> <port-number>5000</port-number> <server-name>myhost</server-name> <database-name>mydb</database-name> <user>XXX</user> <password>YYY</password> </driver> </database> </web-app>

Groovy information is available at http://wiki.caucho.com/Groovy

Hibernate information is available at http://wiki.caucho.com/Hibernate

</document>