5. Guice Sample Project Installation
What It Does
The Guice/Warp sample application in GraniteDS is a basic CRUD cars manager. You may create, read, update, and delete cars from the Flex interface, and all those operations will be persisted in a database.
More specifically, this sample illustrates:
- Guice service factory and destination configuration in a services-config.xml file.
- Warp persistent filter configuration in a web.xml file.
- Guice Injector creation and configuration in a specific InitNDestroy servlet context listener, registered in a web.xml file.
- Guice Cars service example with the injection of an EntityManager and Warp @Transactional annotation usage.
- EJB 3 entity beans externalization, via the HibernateExternalizer class, with Gas3 generated ActionScript3 classes.
Guice/Warp support and sample application is a contribution made by Matt GIACOMI.
Requirements, Installation & Deployment
Follow general requirements here and point your browser to http://localhost:8080/graniteds-ejb3/.
You should now see the EJB 3 sample application running.
