Class InventoryConfig
- java.lang.Object
-
- ejava.examples.ejbwar.inventory.ejb.InventoryConfig
-
public class InventoryConfig extends Object
This class is used to provide resources required by the application. We must have a Web-INF/beans.xml file in place in the WAR to enable CDI.
-
-
Field Summary
Fields Modifier and Type Field Description EntityManager
inventoryEM
-
Constructor Summary
Constructors Constructor Description InventoryConfig()
-
-
-
Field Detail
-
inventoryEM
@Produces public EntityManager inventoryEM
-
-