Blog

Wednesday, 21 August 2013

Showdown.js for Java

Need to have same output in front and back-end from Markdown sources? Checkout Showdown4j.

Friday, 5 July 2013

RichFaces push + Seam3 transactions = ARJUNA016051

In previous post I've described common reason of experiencing ARJUNA016051: thread is already associated with a transaction!. You may experience this also when using RichFaces Push component.

5 lines to kill seam3 based production

If you are using seam3 transactions in your project then it takes only 5 lines of code to kill it.
Learn how to defend yourself.

Tuesday, 2 April 2013

CSS3 – How to make it work in Internet Explorer?

CSS3 is a great tool which really simplifies web page development. Sadly, it’s not supported by older browsers. Chrome 2+, Firefox 3.5+, Safari 3+ and Opera 9.5+ will work with it just fine but when it comes to Internet Explorer it gets worse. Does it mean that we have to stop using CSS3 if we want to support IE? Not necessarily. In this post I aggregated hacks which will make IE ‘understand’ some of CSS3 features.

Wednesday, 20 February 2013

Graphene hangs when page fragment not found

For the purpose of small workshop held at PWSZ in Tarnow. We've written quick test based on Graphene (2.0.0.Alpha3). Bad luck happened that after several hours the test stopped to work. No, it didn't fail, it hang!

Friday, 8 February 2013

Faster Arquillian and Graphene 2 test development

Tired of long turnaround when writing tests with Arquillian and Graphene 2?
Thanks to Pavol Pitonak we've learned how to speed test development up by order of magnitude.

Friday, 1 February 2013

JSF, ManyToMany and LazyInitializationException


Recently I needed to create simple CRUD.
When I tried to modify collection of available entities with annotation @ManyToMany my application thr
ew “failed to lazily initialize a collection, no session or session was closed: org.hibernate.LazyInitializationException: (…)”