This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
I have an Entity Bean with two methods A() & B() with the following transaction attributes
A() - Required B() - Required
Processing is as follows:
Client -> some logic -> A() -> B()
client is not associated with any transaction context & method A() internally calls method B().
What would happen to the transaction context of B()? Would it get the same transaction context that was started in A(), or would it create a new one.
The specs say that the container interposes every method invocation on the home or component interface and applies the transaction parameters accordingly. In the above case the call from A() to B() is not a remote one, but a local one.