Category Archives: Java Beans Interview Questions

What is EJB object? | Java Beans Questions

An object whose class implements the enterprise bean’s remote interface. A client never references an enterprise bean instance directly. A client always references an EJB object. The class of an EJB object is generated by a container’s deployment tools.

Posted in Java Beans Interview Questions | Leave a comment

What is EJB Home object? | Java Beans Questions

An object that provides the life-cycle operations (create, remove, find) for an enterprise bean. The class for the EJB Home object is generated by the container’s deployment tools. The EJB Home object implements the enterprise bean’s Home interface. The client … Continue reading

Posted in Java Beans Interview Questions | Leave a comment

What is EJB context? | Java Beans Questions

A vendor that supplies an EJB container. An object that allows an enterprise bean to invoke services provided by the container and to obtain the information about the caller of a client-invoked method.

Posted in Java Beans Interview Questions | Leave a comment

What is EJB container? | Java Beans Questions

A container that implements the EJB component contract of the J2EE architecture. This contract specifies a runtime environment for enterprise beans that includes security, concurrency, life-cycle management, transactions, deployment, naming, and other services. An EJB container is provided by an … Continue reading

Posted in Java Beans Interview Questions | Leave a comment

What is bean customization? | Java Beans Questions

Customization provides a means for modifying the appearance and behavior of a bean within an application builder so it meets your specific needs. There are several levels of customization available for a bean developer to allow other developers to get … Continue reading

Posted in Java Beans Interview Questions | Leave a comment

What are introspection API in java beans? | Java Beans Questions

The JavaBeans API architecture supplies a set of classes and interfaces to provide introspection. The BeanInfo (in the API reference documentation) interface of the java.beans package defines a set of methods that allow bean implementors to provide explicit information about … Continue reading

Posted in Java Beans Interview Questions | Leave a comment

What is introspection properties in java beans? | Java Beans Questions

Introspection is the automatic process of analyzing a bean’s design patterns to reveal the bean’s properties, events, and methods.

Posted in Java Beans Interview Questions | Leave a comment

How to control serialization in java beans? | Java Beans Questions

Three ways to control serilization in java beans: Automatic serialization, implemented by the Serializable interface. The Java serialization software serializes the entire object, except transient and static fields. Customized serialization. Selectively exclude fields you do not want serialized by marking … Continue reading

Posted in Java Beans Interview Questions | Leave a comment

What is the serializable class in java beans? | Java Beans Questions

Any class is serializable as long as that class or a parent class implements the java.io.Serializable interface. Examples of serializable classes include Component, String, Date, Vector, and Hashtable.

Posted in Java Beans Interview Questions | Leave a comment

How to create bound property in bean application? | Java Beans Questions

To create the title property as a bound property for the MyBean component in the NetBeans GUI Builder, perform the following sequence of operations: Right-click the Bean Patterns node in the MyBean class hierarchy. Select Add|Property from the pop-up menu. … Continue reading

Posted in Java Beans Interview Questions | Leave a comment