Ask the Expert

What is a Java Bean? Why it is useful in J2EE?

What is a Java Bean? Why it is useful in J2EE?

    Requires Free Membership to View

A Java Bean is a software component written in the Java programming language that conforms to the JavaBeans component specification. The JavaBeans APIs became part of the "core" Java APIs as of the 1.1 release of the JDK.

The JavaBeans specification defines a Java-based software component model that adds a number of features to the Java programming language. Some of these features include:
* introspection
* customization
* events
* properties
* persistence

Java Beans are used throughout J2EE as a universal contract for runtime discovery and access. For example, JavaServer Pages (JSP) uses Java Beans as data transfer objects between pages or between servlets and JSPs. J2EE's JavaBeans Activation Framework uses Java Beans for integrating support for MIME data types into J2EE. The J2EE Management API uses JavaBeans as the foundation for the instrumentation of resources to be managed in a J2EE environment.

This was first published in January 2003

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: