The JavaBean is just a plain
java class that complies with a few requirements (namely getter and setters, + public no-args constructor).
The EJB is much more sophisticated and lives inside a container. The container offers many services and take charge of most of the low-level tasks for you.
Julien.