We have a goal of moving all deployment code into separate modules, as is done for app client builder. Attempting to do this for openejb has problems due to dependencies between the packages containing openejb code currently used for remote ejb access and the deployment code. Here's my suggestion:
1. Move deployment to a module openejb-builder
2. Move assembly, server, spi, config and other packages needed "only" for standalone non geronimo-embedded openejb to a module openejb-standalone.
3. Identify the exact classes such as the ejbd needed for running geronimo and move them (back) into core.