[jboss-user] [Beginners Corner] - Re: JBoss Stateless Bean Question (Based on JBoss Tutorial)

jaikiran do-not-reply at jboss.com
Fri Jun 12 05:23:30 EDT 2009


anonymous wrote : 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. 
anonymous wrote : 
  | 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

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4237217#4237217

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4237217



More information about the jboss-user mailing list