title: javax.naming.NameNotFoundException
body: <p>I am running an example of ejb using JBoss5 Container. I am using an example 
  <a href="http://www.roseindia.net/jboss/jboss_3.2.shtml" rel="noreferrer">from here(Part one)</a>.
  <br/>In the example I deployed bean in JBoss and an application in Tomcat(to acces the bean from JBoss). I am getting the error in the screen of tomcat server <br><b>
  javax.naming.NameNotFoundException: greetJndi not bound</b><br/></p>
  
  <p>( greetJndi is the jndi-name in jboss.xml file )
  Is there any specific directory structure to deploy in JBoss?</p>
  
  <p>Thanks</p>