This content has been marked as final.
Show 1 reply
-
1. Re: JBoss Stateless Bean Question (Based on JBoss Tutorial)
jaikiran Jun 12, 2009 5:23 AM (in response to fredfred)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