Mastering Resin
Chapter 2: Setting up the Resin Server
- Listing 2.1: A base configuration file.
Chapter 4: Using Servlets and Resin
- Listing 4.1: The database servlet.
- Listing 4.2: The ViewAccount servlet.
- Listing 4.3: DisplayHistory.jsp.
Chapter 5: Using XTP and StyleScript
- Listing 5.1: The ViewAccount servlet.
Chapter 6: Object-Relational Mapping with CMP
- Listing 6.1: Our servlet code.
- Listing 6.2: groupHome.java.
- Listing 6.3: groupHome.java.
- Listing 6.4: groupBean.java.
- Listing 6.5: The LoginBean class.
Chapter 7: Using XDoclet with Resin
- Listing 7.1: Our new entity bean.
- Listing 7.2: Our Ant build file.
- Listing 7.3: LogsBean with XDoclet tags added.
Chapter 8: The Burlap Web Service Protocol
- Listing 8.1: A basic Burlap client for the BasicAPI Web service.
- Listing 8.2: The CAServiceAPI interface code.
- Listing 8.3: The CAService Web service.
- Listing 8.4: The CAService client.
Chapter 9: Hessian Binary Web Service Protocol
- Listing 9.1: Basic Hessian client for the BasicAPI Web service.
- Listing 9.2: CAServiceAPI interface code.
- Listing 9.3: CAService Web service code.
- Listing 9.4: Xml.conf file contents.
- Listing 9.5: CAService client code.
- Listing 9.6: MicroHessian BasicAPI code.
- Listing 9.7: Hessian serialization example.
Chapter 10: Parsing
- Listing 10.1: DOM XML parsing servlet.
- Listing 10.2: Simple SAX XML parsing.
- Listing 10.3: HTML parsing example.
Chapter 11: Database Connectivity
- Listing 11.1: Traditional JDBC MySQL connectivity.
- Listing 11.2: MySQL connection using a JNDI configuration.
- Listing 11.3: Code with multiple connection objects.
- Listing 11.4: JSP database access.
Chapter 15: Resin Server Configuration
- Listing 15.1: Resin configuration high-level hierarchy.
Appendix B: Resin Status
- Listing B.1: Configuration spec for ResinStatusServlet.
Appendix C: Resin and Eclipse
- Listing C.1: Example Hello World Servlet.
- Listing C.2: Automatically built resin.conf file.