wood burning stoves 2.0*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes The meaning of \---> Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "The meaning of \--->" Watch "The meaning of \--->" New topic
Author

The meaning of \--->

Boyan Wu
Greenhorn

Joined: Dec 30, 2003
Posts: 9
In HF EIB book, when describing the method call stack in transactions, a flow chart is often used,
Method 1 (tx) --> Method 2(tx) -->Method 3 (tx)
\\--> Method 4 (tx)
\--> Method 5 (tx)
For the first line, it means method 1 calls method2 and method 2 calls method 3, then method 3 returns and method 2 returns. But how about the second and third line?
Bert Bates
author
Sheriff

Joined: Oct 14, 2002
Posts: 8805
    
    5
Hi Boyan,
Sorry that those diagrams weren't a little clearer!
Here's what they mean:
If you see multiple methods on the same line, they are nested, i.e. method 1 calls method 2, which calls method 3, which calls method 4...
If you see something like this (excuse the ascii art) :

It means, m1 calls m2, once m2 completes, m1 calls m3, once m3 completes, m1 calls m4
Hope that helps.
Bert
[ December 30, 2003: Message edited by: Bert Bates ]
[ December 30, 2003: Message edited by: Bert Bates ]
[ December 30, 2003: Message edited by: Bert Bates ]

Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)
 
wood burning stoves
 
subject: The meaning of \--->
 
Similar Threads
Unicode Related...
1. new C().m() and gc
2. new C().m() and gc
MDB and Tx
Some doubts with transactions(Please help).