## Installing EJB 3.0 RC7 with JBoss 4.0.4.GA installer

The EJB 3.0 RC7 implementation is only usable with JBoss 4.0.4.GA. The EJB 3.0 implementation that comes packaged with the JBoss 4.0.4.GA installer is the same as the standalone EJB 3.0 RC7 distribution with one exception. The standalone distribution has been patched to fix the EJBTHREE-573 JIRA bug. Also the JBoss Remoting jar has been patched to fix the SSL problems in the 4.0.4.GA release. If you don't need these fixes, then installing with the installer is fine.

## Installing into JBoss AS 4.0.4.GA

1. Download JBoss 4.0.4.GA.
2. Download EJB 3.0 RC7.
3. Unzip both of these downloads
4. Copy `ejb3.deployer` from the `lib/` directory of the distribution to `jboss-4.0.x/server/all/deploy`
5. Copy `ejb3-clustered-sfsbcache-service.xml` from the `lib/` directory of the distribution to `jboss-4.0.x/server/all/deploy`
6. Copy `ejb3-entity-cache-service.xml` from the `lib/` directory of the distribution to `jboss-4.0.x/server/all/deploy`
7. Copy `ejb3-interceptors-aop.xml` from the `lib/` directory of the distribution to `jboss-4.0.x/server/all/deploy`
8. Copy `jboss-aop-jdk50.deployer` from the `lib/` directory of the distribution to `jboss-4.0.x/server/all/deploy`
9. Copy `quartz-ra.rar` from the `lib/` directory of the distribution to `jboss-4.0.x/server/all/deploy`
10. Copy `jboss-remoting.jar` from the `lib/` directory of the distribution to `jboss-4.0.x/server/all/lib`
11. Copy `hibernate-annotations.jar` from the `lib/` directory of the distribution to `jboss-4.0.x/server/all/lib`
12. Copy `hibernate-entitymanager.jar` from the `lib/` directory of the distribution to `jboss-4.0.x/server/all/lib`
13. Copy `ejb3-persistence.jar` from the `lib/` directory of the distribution to `jboss-4.0.x/server/all/lib`
14. Copy `quartz-all-1.5.2.jar` from the `lib/` directory of the distribution to `jboss-4.0.x/server/all/lib`
15. Copy `jboss-ejb3-client.jar` from the `lib/` directory of the distribution to `jboss-4.0.x/client`
16. Copy `jboss-annotations-ejb3.jar` from the `lib/` directory of the distribution to `jboss-4.0.x/client`
17. Copy `hibernate-client.jar` from the `lib/` directory of the distribution to `jboss-4.0.x/client`
18. Remove `jboss-aop.deployer/` from `jboss-4.0.x/server/all/deploy`
19. Start jboss up with the `all` configuration `run.sh -c all`