Gus Dur

+ Follow
since Nov 09, 2002
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Gus Dur

The question from Whizlab :
In a Catalog Enterprise Bean, (used in an online sports shopping site) you have code that will be executed when ejbPassivate() and ejbActivate() are called. The code is used to perform basic house keeping tasks. You need to know when the code will execute so which of the following statements are true?
A. ejbPassivate() is called prior to passivation.
B. ejbPassivate() is called immediately after passivation.
C. ejbActivate() is called prior to activation.
D. ejbActivate() is called immediately after activation.
The answer is : A, and D
But when I read Ed Roman (2nd Edition book),
it says :
ejbPassivate() called immediately "before" your
bean is passivated
ejbPassivate() called immediately "before" your
bean is activated
So which one is right ??
Yeah I don't understand also very well..
Achieved by adding capacity (memory, CPUs, etc.) to existing servers.
Requires few to no changes to the architecture of a system.
Increases: Capacity, Manageability
Decreases: Reliability, Availability
How can it reduce reliability and availability,
in my opinion, it remains the same...
Gus Dur
Hi Java Experts,
My question is simple, but I am not quite
sure for the answer..
The question is :
Are Statefull Sessions beans pooled ?
I think they are Not, the reason why :
1. I could not find pool congfiguration
in <weblogic-ejb-jar> for Statefull
Session bean.
2. ejbCreate of Statefull session beans
can vary and may have parameters, so
how Container create the bean ?
But ....
Statefull Session Bean has ejbActivate()
and ejbPassivate() that make this bean
has pool effect .. so it means
Container actually pool the Statefull
Session Bean ?
Give me the light....