Example of EJB module To install server module (BankEJB), you have to : Install JBoss server (this application is run on version wildfly-8.2.1.Final) Add mysql driver (com/mysl/main) on the path: wildfly-8.2.1.Final/modules/system/layers/base/com Create a new database in mysql Create a new datasource in JBoss using the database created Deploy the application on JBoss server. To test the ejb module you have to: Use ClientEJB project. import BankEJB into ClientEJB project in the classpath. Add the jboss-client.jar library in the classpath. Run application using ClientRemote class.