Enterprise Java
-
Arquillian with NetBeans, GlassFish embedded, JPA and a MySQL Datasource
This is an, let’s call it accidental post. I was looking into transactional CDI observers and playing around with GlassFish…
Read More » -
Morphia and MongoDB: Evolving Document Structures
In my previous post on Morphia, I went through some typical usages and mentioned some caveats and workarounds for known…
Read More » -
Master Detail CRUD operations with Regions ADF 11g
Hi, This is an example that demonstrates how to create a Master Detail relationship between tables by using Regions. The…
Read More » -
Extending your JPA POJOs
Extensibility is an important characteristic in many architectures. It is a measure of how easy (or difficult) it is to…
Read More » -
OpenShift Express: Deploy a Java EE application (with AS7 support)
During the past few years, I’ve been hearing about “cloud” services more and more. Initially I wasn’t really curious to…
Read More » -
Simulating CDI’s Session and Request Scope in a J2SE app
We’re currently considering refactoring the Naked Objects framework to use JSR-330 (dependency injection) and EE-oriented big brother, JSR-299 (CDI). Using…
Read More » -
Enabling JMX in Hibernate, EhCache, Quartz, DBCP and Spring
Continuing our journey with JMX (see: JMX for human beings) we will learn how to enable JMX support (typically statistics…
Read More » -
OSGi: An Introduction
OSGi, created for Java-based systems, provides a framework for modular systems. OSGi makes it possible to define the dependencies of…
Read More » -
DB unit testing with dbUnit, JSON, HSQLDB and JUnit Rules
In this week’s run of my TDD course, I thought it would be interesting to write a little fixture to…
Read More »