RestTemplate and Proxy Authentication explained

Some time ago I’ve faced with requirements regarding retrieving data using REST behind proxy. There were some code samples available but I was really worried about thread safety and leaking resources. In this post I would like to dig into this topic using RestTemplate from Spring Framework

Read the rest of this entry »

PrimeFaces DataTable and server side pagination, filtering and sorting

Recently I’ve tried PrimeFaces 4x DataTable once again (after year or so working with Apache Wicket). One thing — I like it. It is now possible to implement scallable server side pagination, filtering and sorting logic without too much hacks

Read the rest of this entry »

Hibernate Tools and Custom DelegatingReverseEngineeringStrategy

In this post you will learn how to install Hibernate Tools (part of the JBoss Tools Project) from scratch and generate annotated POJOs for your database schema.
You will also learn how to create custom DelegatingReverseEngineeringStrategy implementation in order to tune your entities generation process

Read the rest of this entry »

Setting up Eclipse Kepler for JavaEE development

Fresh version of Eclipse codename Kepler ships without any plugins / addons installed. In this post we will learn how to prepare Kepler for JavaEE development using Tomcat, DTP, Maven and Subversive

Read the rest of this entry »

Unit testing and integration testing using JUnit, Liquibase, HSQLDB, Hibernate, Maven and Spring Framework

In this article I’d like to show you how to create integration tests using JUnit, Liquibase, HSQLDB , Hibernate, Maven and Spring Framework. We will create maven project, liquibase schema/data deployment to the in-memory database and run integration tests against this database using Spring ORM / Hibernate

Read the rest of this entry »

JBoss AS and JDBC DataSource tutorial

In this post I’d like to share my own expericence of creating of out-of-the-box database solution using JBoss AS, JPA and EJB 3.1

Read the rest of this entry »

JBoss AS and ActiveMQ

I’ve created 22+ minutes screencast about JBoss AS and ActiveMQ integration

Read the rest of this entry »

Follow

Get every new post delivered to your Inbox.