Instructions:
1. Configure the build.xml ant script with the proper AS and JDBC settings
2. Execute the build.xml ant script which installs the Datasource and creates the schema
3. Import the file as7project.zip into Eclipse: File | Import | Import Existing Project into Workspace
4. Configure the Server libraries in your project: Right-click on your Project | Properties | Java Build Path [Libraries tab | Add Library | Server Runtime]
4. Deploy the Web application to JBoss AS 7

Please Note: In order to run the RemoteEJBClient class you have to use a JBoss 7.1.0 beta Server libraries and check the jboss-ejb-client.properties configuration.

