Navin T

Greenhorn
+ Follow
since Jul 12, 2002
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 Navin T

It struck me too in the beginning and i reasoned as below. If someone knows better, then pls let us know

For BMT, the bean can use UserTransaction to start a transaction. So, it can call on resource manager's methods and other enterprise beans.

For CMT, probably the bean can call other enterprise beans which (probably) do not need a transaction and can manage their own transaction. I am not sure what the bean can do with Resource Managers.

Same for a Stateless session bean, it can call getUserTransaction in it's ejbCreate but cannot use any of its methods. So, it can just hold on to it. Its something like "being allowed a cake but it's just too soon to eat it".
The specs states that "EJB QL only permits like type values to be compared" with some exceptions. Also "Two entity objects of the same abstract schema type are equal if and only if they have the same primary key value."

So, in the above expression, both the addresses should be of the same entity type and if they are, then they will be compared by their primary keys.
I thought that there was only "SMTP" protocol for sending mails & "POP3" & "IMAP" for receiving mails.

Are there any other protocols for receiving mails. Let me know
Yes Rajesh, I believe that you are right. A RemoveException will be thrown if a "remove" is invoked on a session bean's EJBHome