EJB is a server-side component architecture. JavaBean is java classes that has get/set methods, it is reusable java component with properties,evens,and methods.
JavaBean is smaller that Enterprise JavaBean. we can use javabeans to assemble larger components or to build entire applications. JavaBean is developement component instead of deployable component. We don't deploy javabean,rather, JavaBean helps us construct larger software that is deployable. And because javabean can not be deployed, Javabean doesn't need to live in a runtime environment and be initalized as well.