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


 

Resin Documentation

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.

Cloud-optimized Resin Server is a Java EE certified Java Application Server, and Web Server, and Distributed Cache Server (Memcached).
Leading companies worldwide with demand for reliability and high performance web applications including SalesForce.com, CNET, DZone and many more are powered by Resin.

home company blog wiki docs 
app server web server 
health cloud java ee pro