I have 2 projects where each one has a built and deployed EAR in JBOSS. I wanted to instantiate a class that is deployed in Project EAR 2 in project 1. That is, within project one, I wanted to pass the name of the deployed class of project 2 and be able to instantiate an object of that class. Because the two EARs are deployed on the same application server, can I do that? If yes, how?