I think that almost no website today can do without JavaScript. There are some incredible good JavaScript libraries like jQuery for which an enormous mass of plugins and extensions exits. The downside of this is, that for example the JavaScript code of my daily picture project Daily Fratze is bigger than the whole startpage of […]
Note: This tutorial is for Spring Security 3.1, an updated version that uses the build-in CSRF protection of Spring Security 3.2 can be found here CSRF Attacks still seems to be a problem, a pity that there is no standard solution in the Spring 3.1 framework. Although not probably, i wanted to protect my projects […]
I’m really a big fan of oEmbed. My project Daily Fratze acts as oEmbed provider and consumer for example. Now I’m really happy that twitter announced that it now acts as an oembed provider: Introducing the statuses/oembed endpoint: dev.twitter.com/docs/api/1/get… ^TS — Twitter API (@twitterapi) Dezember 8, 2011 (I’d even be happier if twitter would autodiscover […]
Here is some Java stuff I’ve written over the last year for Daily Fratze. All of the stuff is in use on Daily Fratze since June 2011. java-akismet java-akismet is a simple client for Akismet based on the latest version of Apache HttpComponents. java-oembed I really like the idea of oEmbed: A mechanism for auto […]
Every 8 hours i got a Hibernate exception “Cannot release connection” within a Java application using Hibernate, Apache DBCP on Tomcat: org.hibernate.exception.GenericJDBCException: Cannot release connection at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103) at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29) .. .. Caused by: java.sql.SQLException: Already closed. Not only that the messages polluted my inbox, the exception was visible to the enduser, […]