oops - target platform is Jboss 4.0.X, hopeful migration to 4.2.x.
EJB3 beans, with JPA 1.0/hibernate implementation (some hibernate Criteria API calls may be made).
For those interested, this weekend I still haven't had much success trying to get Jboss Embed up and running.
However, to coincide with this post:
I did get OpenEJB up and running to test my code in a Junit fashion in about an hour.
I don't use Andromda, but found this reference from an Andromda user on how they did it and their own frustrations with Jboss Embed:
I, too, got OpenEJB working for the purposes of unit testing, after two days of tinkering. One thing you should know is that OpenEJB uses OpenJPA as its default persistence provider, so your persistence.xml has to be modified. Also, under OpenEJB, EntityManager#getDelegate() returns a Hibernate EntityManagerImpl instead of a SessionImpl, so you have to call getDelegate twice to get a Hibernate Session. I have not yet been able to make database based authentication or quartz based MDBs working, but they're not necessary for unit testing.