AshuShweta Tokeria

Greenhorn
+ Follow
since Jun 06, 2005
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by AshuShweta Tokeria

Can anyone please tell me that which topics are not covered in HF book, so that I can refer them in Specs.

If you have a list of the topics which are not fully covered in this book and we should refer to Specs for certain topics then please post them.

Ash
I guess the "Required" and "NoSupported" are the only two transaction attributes allowed in MDB, onMessage() method.

But confusion is that "RequiresNew" makes more sense because it will always start a new transaction and MDB's doesnot have any clients.

Only drawback this attribute has is that container has to suspend the previous transactions and which can cause overhead, but as MDB never propagate an existing existing exception, so by using "RequiresNew" there will be always a new transaction created, so why "Required" is used instead of "RequiresNew" ???

Ash
Answer says that

"Mandatory and NotSupported are dangerous, because they throw exceptions, but
Supports is the riskiest.... because it means at runtime you don�t know whether it will run in a transaction or not."

From the previous page (495) we know that NotSupported doesnot throw an exception.

Please provide with correct answer.

Ash
Where can I find answers for excercise on page 507 ???

Just to varify


Ash
On page 323 of HF book, 2nd paragraph of the Answer refers to some chapter related to (patterns and performance). It doesn't exist? Where can I get more info on this?

I have noticed similar refe. to non existing chaper somewhere else as well in the book, Just can't remember where

Ash
Hi guys,

I was wondering that why there is no ejbPostCreate() method present in both Entity Bean examples in HF book on page 316 and 319.

In Page 312 it's explained that if our home interface has create(), then we must match that create() with pair of "ejbCreate()" and "ejbPostCreate()".

???


Ash