I'd like to integrate James with my embedded server. That means:
- Start and configure all parts of James in (Java) code, possibly via Jetty LifeCycle classes.
- Make James use my own EntityManager/EntityTransaction, based on Hibernate/H2. Share transactions with the rest of my server, ie. for writing mails sent by the server to the spool or to manage email users/domains from within Servlet context.
- Make James use tables in my pre-existing database, prefixed with "James" or similar.