Just a simple question from a relative Java newbie:
what is the difference between a JavaBean and an EJB?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Java bean is just a set of conventions. EJB is a standard for J2EE business components.
Specifically a Java bean:
For example, a Java bean with a property of “margin” would minimally look like this:
EJB, despite the name, is almost completely unrelated.