Resources
Resin

Change Log
Documentation

Orientation
Features
Installation
Configuration
Web Applications
JSP
Servlets and Filters
Databases
Admin (JMX)
Security
XML and XSLT
XTP
Resources (JNDI)
Performance
Protocols
Third-party
Troubleshooting

Library
Tutorials
Scrapbook
XTP
Documentation
Library

Resource Library

Resin provides a set of resources for convenience.

Resource Tutorials
A Simple Resource Bean

Resources are beans configured in the resin.conf or web.xml and stored in JNDI.

A Resource with JCA Lifecycle

Resources can receive lifecycle events by implementing javax.resource.ResourceAdapter.

Resource Thread Management

Resources using threads will want to use JCA's work management API. The work management API lets Resin manage threads for the resource rather than forcing the resource to manage its own threads. Since Resin is in a better position to manager threads, using the Work API is not only a convenience, but is a cleaner and more reliable implementation.

Resource Timers

Resources can use the JCA timer capability to manage periodic tasks. The timers use the familiar java.util.Timer , providing extra support for the environment lifecycle.

CronResource

CronResource is a convenient resource which schedules application Work tasks at configurable intervals.

Connector

This is an advanced Connector tutorial for those interested in implementing Connector drivers or who jus want to understand the inner workings. Connectors are a generatization of the JDBC DataSource, supporting pooling and transactions for any Connector following the interface.

Application configuration files using a custom JNDI object

A common requirement is the need to read, and possibly write, configuration files for an application.

JNDI/JCA Scrapbook

A repository of notes and comments that will eventually make their way into the documentation. Please treat the information here with caution, it has often not been verified.


XTP
Documentation
Library
Copyright © 1998-2003 Caucho Technology, Inc. All rights reserved.
Resin® is a registered trademark, and HardCoretm and Quercustm are trademarks of Caucho Technology, Inc.