![]() | Resin Documentationapp server |
resin 4.0.5 release notes
4.0.5 now passes the JSP TCK of the Web Profile, joining the Servlet TCK passed in 4.0.4. 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>
Resin's CDI now supports @com.caucho.config.TransactionScoped, which gives your beans a lifecycle exactly matching a transaction. 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>
|