Since the web-tier components and ejb-tier components are seperate. I think you need to resolve the name in jboss-web.xml.
I checked the web.xml and jbiss-web.xml, but still the same error:
rg.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NamingException: ejb-ref: ejb/Caclulator, no ejb-link in web.xml and no jndi-name in jboss-web.xml)
Pls help me,