![]() |
|||
| Documentation Contents | / Documentation Index | / Glossary | / Administration Tool Help |
JavaBeansTM components, or more simply Beans, are reusable pieces of functionality (programming logic). They are written in the JavaTM programming language and conform to the JavaBeans design pattern. The design pattern describes a common way of implementing the Bean's functionality and supports the following characteristics of JavaBeans components: introspection, customization, events, properties, and persistence.
JavaBeans components differ from applets (another reusable component type) in that JavaBeans components are accessed on the server-side and have no user interface. In contrast, applets are accessed on the client-side and have a visual representation.
A JavaBeans component is defined as the JAR (Java ARchive) file and, optionally, any associated native code. The JAR file itself contains the Bean class code and any resources.
To Install JavaBeans Components That Access Native Code (JNI):
Some JavaBeans components might access native code. For example, they might encapsulate legacy code for some particular business function and use the Java Native Interface (JNI) to provide access to that logic from Java.
lib/ directory directory of
the Java Web Server installation.*.dll file holding the JNI module
into the lib/ directory.lib/ directory of
the Java Web Server installation.*.so file holding the JNI module
into the lib/solaris/sparc directory.Note: The servlet location must be on the class path (for example, in
server_root/lib) to use the native methods.
To Install JavaBeans Components With No Native Code:
lib/ directory of
the Java Web Server installation.To Remove JavaBeans Components:
Top
java-server-feedback@java.sun.com
|
Copyright © 1999
Sun Microsystems, Inc. All Rights Reserved. |