Thursday, January 26, 2006

Messaging Questions

How do I gaurantee once and only once delivery of a message in JMS ?
Can a message producer and message consumer be part of the same transaction?
How are message acknowledgements handled in JMS?

Scenario:
An application makes a remoting call and then puts a message on a queue and then makes one more database call. I want all of these 3 operations to be executed in a single transaction. How can U accomplish this ?

Tuesday, January 03, 2006

How would U debug a multi-threaded application?. Say U have a Swing Application that creates 3 threads. Have U tried multi-threading debugging in Eclipse, Sun Studio ?

In a Swing Application, if the main thread dies, then what happens?