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


 

Resin Documentation

Aug 2012: Resin outscales C-based web server nginx in AutoBench benchmark
Feb 2012: NetCraft survey says Resin experiencing strong growth in last year and used in number of the Million Busiest Sites.
home company blog wiki docs 
app server web server 
health cloud java ee pro 
 Resin Server | Application Server (Java EE Certified) and Web Server
 

resin 4.0.5 release notes


  • JSP for JavaEE 6 Web Profile passes TCK
  • Hibernate second level cache
  • @TransactionScoped
  • Windows setup.exe/resin.exe refactor
  • java.util.logging Handler integration with CDI
  • distributed session store bugs

Resin 4.0.5 Overview

  • JSP for JavaEE 6 Web Profile passes TCK
  • Hibernate second level cache
  • @TransactionScoped
  • Windows setup.exe/resin.exe refactor
  • java.util.logging Handler integration with CDI
  • distributed session store bugs

JavaEE 6 Web Profile TCK progress

4.0.5 now passes the JSP TCK of the Web Profile, joining the Servlet TCK passed in 4.0.4.

Hibernate Second Level Cache

persistence.xml
<persistence version="1.0" xmlns="http://java.sun.com/xml/ns/persistence">
  <persistence-unit name="test">
    <provider>org.hibernate.ejb.HibernatePersistence</provider>
    <jta-data-source>jdbc/mysql</jta-data-source>

    <properties>
      <property name="hibernate.cache.use_second_level_cache"
                value="true"/>
                
      <property name="hibernate.cache.provider_class"
                value="com.caucho.hibernate.ResinCacheProvider"/>

    </properties>
  </persistence-unit>
</persistence>

@TransactionScoped

Resin's CDI now supports @com.caucho.config.TransactionScoped, which gives your beans a lifecycle exactly matching a transaction.

CDI and logging integration

Custom java.util logging handlers can now be configured by CDI.

SocketHandler
<resin xmlns="http://caucho.com/ns/resin"
   xmlns:logging="urn:java:java.util.logging">

  <logger name="com.foo" level="fine">
    <logging:SocketHandler host="my-host" port="8000"/>
  <logger>
  
  ...
</resin>

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