satish shankaran

Greenhorn
+ Follow
since Aug 05, 2002
Merit badge: grant badges
For More
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 satish shankaran

From the spec it says that

A transaction attribute is a value associated with a method of a session or entity bean�s home or component interface or with the onMessage method of a message-driven bean. The transaction attribute specifies how the Container must manage transactions for a method when a client invokes the method
via the enterprise bean�s home or component interface or when the method is invoked as the result of the arrival of a JMS message.
The transaction attribute must be specified for the following methods:
� For a session bean, the transaction attributes must be specified for the methods defined in the bean�s component interface and all the direct and indirect superinterfaces of the component interface, excluding the methods of the javax.ejb.EJBObject or javax.ejb.EJBLocalObject interface. Transaction attributes must not be specified for the methods of a session bean�s home interface.

In the first para it says that "A transaction attribute is a value associated with a method of a session or entity bean�s home or component interface " and in the last para it says that "Transaction attributes must not be specified for the methods of a session bean�s home interface".

Can some body please explain what's going on here,iam confused.Thanks for your help.
The EJB specification states that:

A stateless session bean instance�s life starts when the container invokes newInstance()on the session bean class to create a new instance. Next, the container calls setSession-Context() followed by ejbCreate() on the instance.
The container can perform the instance creation at any time�there is no relationship to a client�s invocation of the create() method.

Can somebody help me to understand about

"The container can perform the instance creation at any time�there is no relationship to a client�s invocation of the create() method."

I was under the impression that there is a relation between instance creation and the client�s invocation of the create() method.

Thanks for your help.
I understand that we use logic :iterate tag to retrieve data and show it on the jsp page.Is it possible,If i modify data which is retrieved from the iterate tag and then try to save the data using iterate tag.Please let me know whether this is possible,thanks for any help on this.
19 years ago