Blog

Tuesday, 1 July 2014

Testing RESTfull app down to the database layer

It takes only a little bit of work to make Arquillian REST Client Extenions work with Unitils so that you can seed your database before each test in @RunAsClient mode.

Monday, 30 June 2014

Problem with JSF h:selectOneMenu and dates

While implementing pages in JSF you will often encounter silly problems which may take hours to solve. The longest it takes to find solution, the stupidest problem usually is. This is one of such situations.

Monday, 16 June 2014

Generating PDFs with Apache FOP and Velocity

Generating PDF files is a common thing in web applications. For a long time I was using iText to accomplish this task but writing PDF’s content in Java code was a struggle. Nowadays iText is free for non-commercial use only which makes it even less sensible choice.

Wednesday, 23 April 2014

Queue ajax requests or any function in AngularJS

Sending XHR request on every user's keystroke (i.e. autocomplete) can harm your server performance. For such cases we've got a queuing service for your AngularJS app.

Monday, 24 February 2014

Multiple transactions inside one EJB method

Here is a quick example on how to execute EJB method A in a different transaction than a method B which calls A.

Wednesday, 15 January 2014

Hibernate, triggers and yo-yo update

While using Hibernate to manage DB operations in your application you may also need to use triggers to perform specific updates directly inside DB. But if you're using both update methods it's essential to protect yourself against yo-yo effect.

Thursday, 9 January 2014

Disable font autosizing in Chrome on Android

Chrome on Android has a feature called 'Font Boosting' which resizes text to make it larger once a paragraph of text reaches certain length. This maybe useful for a reader but also can destroy a layout of your web page.

Tuesday, 7 January 2014

Workaround for LESS Compiler in Intellij IDEA 13

After updating IntelliJ Idea to version 13, plugin which compiles LESS files to CSS stopped working, but we've got it working.

Friday, 3 January 2014

Dreadful 'deleted entity passed to persist' exception

From time to time I encounter the following exception: 'javax.persistence.EntityNotFoundException: deleted entity passed to persist'. It's nasty because its stack trace doesn't suggest a source of the problem. Thankfully it's also very easy to fix.

Thursday, 2 January 2014

Concatenating with NULLs in SQL

A concatenation of 2 or more values in SQL looks like a pretty simple operation. It's enough to use '||' operator which comes in SQL standard. Well, it turns out that this is not so trivial in case of NULL values.

Friday, 6 December 2013

Setting JBoss 7 to auto reconnect after DB connection fail

Internet connection problems while developing an application which uses a remote database can be a nightmare. Luckly you can configure your JBoss server to auto reconnect to your DB!

Tuesday, 26 November 2013

Arquillian JRebel Extension 1.0.0.Alpha1 released!

Our precious tool officially released!

Bold style missing in JasperReports generated pdf

Sounds familiar?
I was struggling a bit trying to bold fonts in the pdf generated by JasperReports.

Friday, 22 November 2013

Elastic ngMockE2E

It took us several hours to set it up so we share our experience with you so that you could save some time.

IntelliJ Idea Live templates for TDD

For those that practice TDD and love IntelliJ Idea we show how to speed up test scenario brainstorming.

Monday, 18 November 2013

Arquillian Persistence+REST+JRebel

Wondering how to speed up integration test development for your RESTful service?

Friday, 8 November 2013

Atmosphere configuration with JBoss AS 7.1.1

Atmosphere Framework the most popular framework for building asynchronous web application. It is used in RichFaces, Primefaces and few others leading Java web frameworks and can be used on every servlet-based webserver.

Atmosphere WebSockets Exception on JBoss AS 7.1.1

Recently, we tried to integrate Atmosphere with our new application Agido to bring real time messaging and event broadcasting between users using our app. We encountered problems when we set "websocket" transport in atmosphere, and tried to use it with JBoss AS 7.1.1.

Tuesday, 5 November 2013

Announcing Agido mockups

Open source online wireframe tool. Join the community!

Wednesday, 23 October 2013

Arquillian REST Extension - Client

Arquillian REST Extension allows you to test your RESTful applications both on the client and server side.
In this post I will present you client side testing.