title: How to deploy EJB on server?
body: <p>I am learning EJB3 from last few days. I have many questions regarding EJB, application servers and deployment of EJB.  </p>
  
  <p>To start with, I have created one simple helloworld stateless session bean but I don't know how to deploy it on server. It has single bean class, bean interface and one servlet client. I have used eclipse to develop this project.<br>
  None of the books that I read gives step by step details about how to put EJB on server and how to access those beans.   </p>
  
  <p>I have JBoss 6 server and I also have Java EE budle downloaded from sun website. Does this Java EE bundle contains Glassfish server? or do I need to download it separately?<br>
  Can anyone please give me step by step details of how to put my bean and its client on server (JBoss or Java EE)?  </p>
  
  <p>And why do we need to include bean interface class in EJB client code? I mean either we need to keep client and bean in same package or if we keep them in seperate packages we need to import bean interfaces in client code. Am I right?</p>