Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link

Billy Hickory

Greenhorn
+ Follow
since May 04, 2004
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 Billy Hickory

True..the client can not call these methods - actually the container calls these methods. However, the provider can put code in these methods. On page 320 of the spec, it does state you can call getUserTransaction() method in ejbCreate and ejbRemove. If so, you have the Usertransaction object, which means you should be able to call the UserTransaction methods.

I believe it is an error in the specs. That is, if you have access to getUserTransaction(), you should be able to call the UserTransaction methods.
On page 320 of the specs, it states:

For BMT, ejbCreate/ejbRemove have access to getUseTransaction. Does this mean it can execute methods within the UserTransaction interface. If so, why does it list UserTransaction methods for ejbCreate/ejbRemove - similiar to onMessage(). That is, onMessage states getUserTransaction() and UserTransaction methods.
[ November 09, 2004: Message edited by: Billy Hickory ]
Is the hashCode() method required to return a positive number. It could possibly return a negative number if overflow occurs, correct?
What is the difference between using the class object(line 1) and the Thread object(line 2) when executing start?
public class Borley extends Thread{
public static void main(String argv[]){
Borley b = new Borley(); //1
//Thread b = new Borley(); //2
b.start();
}
public void run(){
System.out.println("Running");
}
}