what is the difference between java bean and ejb?
JavaBeans is a component technology to create generic Java components that can be composed together into applets and applications. Even though EJB is a component technology, it neither builds upon nor extends the original JavaBean specification. ... EJBs are of two types - session beans and entity beans.