-
Enterprise Java
Using @NamedEntityGraph to load JPA entities more selectively in N+1 scenarios
The N+1 problem is a common issue when working with ORM solutions. It happens when you set the fetchType for…
Read More » -
Enterprise Java
Tracing SQL statements in JBoss AS 7 using a custom logging handler
Using an ORM to abstract from your specific database and to let it create and issue all the SQL statements…
Read More » -
Software Development
API design and performance
When you design a new API you have to take a lot of decisions. These decisions are based on a…
Read More » -
Software Development
JSON Processing (JSON-P) Tutorial
JSON (JavaScript Object Notation) is a compact text file format that can be used to store and transfer data. It…
Read More » -
Enterprise Java
Using Java EE’s ManagedExecutorService to asynchronously execute transactions
One year has passed by since the Java EE 7 specification has been published. Now that Wildfly 8 Final has…
Read More » -
Enterprise Java
Injecting configuration values using CDI’s InjectionPoint
Dependency injection is a great technology for the organization of class dependencies. All class instances you need in your current…
Read More » -
Core Java
Implementing dynamic proxies – a comparison
Sometimes there is the need to intercept certain method calls in order to execute your own logic everytime the intercepted…
Read More » -
Enterprise Java
Securing a JSF application with Java EE security and JBoss AS 7.x
A common requirement for enterprise applications is to have all JSF pages protected behind a login page. Sometimes you even…
Read More » -
Enterprise Java
Building and testing a websocket server with undertow
The upcoming version of JBoss Application Server will no longer use Tomcat as integrated webserver, but will replace it with…
Read More »