Making sure we have only 1 EntityManager:


// Intervention Erik van Ingen, 3 September 2014. For some reason,
		// @ApplicationScoped is not working correctly. I did
		// investigate, but I could not find a solution. Therefore this
		// workaround. It looks like that the @ApplicationScoped on class
level
		// works correctly, but on method level it is called more than once.