[jboss-user] [EJB 3.0] - Re: Simplest possible stateless bean

jaikiran do-not-reply at jboss.com
Wed Sep 19 07:46:05 EDT 2007

anonymous wrote : My understanding is that EJB3 should simplify things, eliminate the need to declare interfaces

You still have to declare the remote and/or local business interfaces. These interfaces will have your application specific business methods. Have a look at http://trailblazer.demo.jboss.com/EJB3Trail/[/url], which provides examples of EJB3 and other stuff. Specifically for a Simple Stateless Bean have a look at [url]http://trailblazer.demo.jboss.com/EJB3Trail/serviceobjects/slsb/index.html

As far as the NameNotFoundException is concerned, you are using the incorrect JNDI name for looking up the bean. Once you have read through the above mentioned links and successfully deployed the bean, the client can lookup the bean using the JNDI name syntax mentioned in the Session Bean Client section in the second link above.

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

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

More information about the jboss-user mailing list