This content has been marked as final. Show 1 reply
However, shouldn't Calculator be hidden from the client?
Calculator is the interface and not the bean implementation class. Clients are expected to work on interfaces of the bean.
CalculatorBean seems to be the name of the jar file, and hence the name publicised to JBoss' JNDI server.
That actually is the default jndi name of the bean (which is the same as the bean name). That can be configured to be anything else http://www.jboss.org/file-access/default/members/jbossejb3/freezone/docs/tutorial/1.0.7/html/JNDI_Bindings.html