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
 

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-2015 Caucho Technology, Inc. All rights reserved. Resin ® is a registered trademark. Quercustm, and Hessiantm are trademarks of Caucho Technology.