What's the difference between Java Beans and EJB?
To my knowledge, beans implement java.io.serializeable, have a constructor that takes no parameters, and may have a getFoo() and setFoo(Object o) defined for objects in the class.
EJB? Well, they do more than that, but I'm looking for a short (paragraph?) answer, not the specification.
// Edited: Removed some replies, left the 'best of'.
To my knowledge, beans implement java.io.serializeable, have a constructor that takes no parameters, and may have a getFoo() and setFoo(Object o) defined for objects in the class.
EJB? Well, they do more than that, but I'm looking for a short (paragraph?) answer, not the specification.
// Edited: Removed some replies, left the 'best of'.
