What is an EJB Context?
EJBContext is an interface that is implemented by the container, and it is also a part of the bean-container contract. Entity beans use a subclass of EJBContext called EntityContext. Session beans use a subclass...
EJBContext is an interface that is implemented by the container, and it is also a part of the bean-container contract. Entity beans use a subclass of EJBContext called EntityContext. Session beans use a subclass...
EJBs can be clients of other EJBs. It just works. Use JNDI to locate the Home Interface of the other bean, then acquire an instance reference, and so forth.
In several ways, the dynamic creation and allocation of message-driven bean instances mimics the behavior of stateless session EJB instances, which exist only for the duration of a particular method call. However, message-driven beans...
In case of a stateless session bean it may not matter if we call or not as in both cases nothing is done. The number of beans in cache is managed by the container....
It is important to understand that the calling semantics of local interfaces are different from those of remote interfaces. For example, remote interfaces pass parameters using call-by-value semantics, while local interfaces use call-by-reference. This...
EJB was originally designed around remote invocation using the Java Remote Method Invocation (RMI) mechanism, and later extended to support to standard CORBA transport for these calls using RMI/IIOP. This design allowed for maximum...
Java SE 7 Download JDK 7 Java 7 (codename Dolphin) is a major update that was launched on July 7, 2011 and was made available for developers on July 28, 2011. The development period...
Java SE 6 Download JDK 6 Codename is Mustang. As of the version released on December 11, 2006, Sun replaced the name “J2SE” with Java SE and dropped the “.0” from the version number....
Java 5.0 New Features Autoboxing/Unboxing Enumerations Varargs Enhanced for loop Metadata-Annotations Java Generics Java 5.0 New Features Java 5.0 New features are listed in short here Autoboxing/Unboxing Enumerations – with ‘enum’ keyword Varargs –...
A class containing abstract method is called Abstract class. An Abstract class can’t be instantiated. Example of Abstract class: abstract class testAbstractClass { protected String myString; public String getMyString() { return myString; } public...
Recent Comments