Dear friends,
     My name is Sameer Khanna and I am relatively new to this mailing
list. I am trying to incorporate transactional features into my stateful
session beans. As such I have been confronted with few problems. I would
appreciate if someone can help.

1). When I try and start a transaction from the client's code using the
UserTransaction interface, it gives a runtime error stating
"java:comp/UserTransaction not found". What, if any other, is the name
to be used for looking up UserTransaction interface in the context? If
it is not bound in the JNDI tree by default, how to go about binding it
in the JNDI context?

2). If I want to implement SessionSynchronization interface in my
Stateful Session bean, what are the steps to go about it (apart from
implemeting its three methods in the Bean implementation class). I am
asking this question because the methods don't seem to be called in the
bean that I have made. If you have any working example that can
illustrate the usage of SessionSynccronization interface, please be
considerate enough to send it accross.

I am using currently using Orion ver 1.3.8 running on a Windows 2000
machine, along with JDK 1.3.
Please answer my queries at your earliest convenience as they are
critical to the task that I am currently engaged in.

Bye for now!
Sameer


Reply via email to