What is lazy activation?
Answers were Sorted based on User's Feedback
Answer / sasirekha
Lazy activation of remote objects is implemented using a
faulting remote reference (sometimes referred to as a fault
block). A faulting remote reference to a remote object
"faults in" the active object's reference upon the first
method invocation to the object. Each faulting reference
maintains both a persistent handle (an activation
identifier) and a transient remote reference to the target
remote object. The remote object's activation identifier
contains enough information to engage a third party in
activating the object. The transient reference is the actual
"live" reference to the active remote object that can be
used to contact the executing object.
| Is This Answer Correct ? | 1 Yes | 1 No |
Transformation from passive object into active object is
called Activation.Active Object directly associate with JVM,
which means class is loaded for that object and object
restoring its persistent state.
And Lazy activation defers activating an object until a
client's first use.
| Is This Answer Correct ? | 0 Yes | 1 No |
What is the type of lambda expression?
What is Difference between Serializable and Externalizable in Java serialization?
What is “try and catch” in java
What restrictions are placed on method overriding?
What is the role of the java.rmi.naming class?
Write a function to print Fibonacci series and Tribonacci series?
What are streams in java 8?
Can a class extend more than one class?
Why does java not allow multiple public classes in a java file ?
What are the new features in java 8? Explain
What is a variable analysis?
Which is fastest collection in java?