Ali Ragi

Ranch Hand
+ Follow
since Dec 10, 2003
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 Ali Ragi

CMP beans can have relationship with BMP beans? If yes, any restriction for that?
The order of the elements are important in ejb-jar.xml? e.g, <prim-key-class> MUST be ahead of the element <primkey-field>? What happen if the order is reversed?
What is the Types for RMI/IIOP? It includes primitive type, Serializable type, and what else??
So the lifetime of an EJBObject is up to the timeout, and the remove method call on client view interface will also destroy the EJBObject, right?
What's the EJBObject Lifecycle? Is an EJBObject up to the client holding the reference of the component interface which implemented by the EJBOject? If the client release the component interface reference (set the reference variable to null), that will be end of the EJBObject since it doesn't associate with any client. I often mix up and confuse the EJBObject with bean instance.
CAN The container choose to passivate an entity bean instance WITHIN a transaction, or BETWEEN transaction, or BETWEEN METHODS. How the container decide when to passivate?
Thank you!

... Also make sure that when you implement the sessionsynchronization interface the methods must not be in unspecified transaction context i.e. only Required, RequiresNew and Mandatory transaction attributes must be used.


So if I don't implement the sessionsynchronization, I don't have to follow that rule, and I can be in unspecified transaction context? or still have to follow the same rule?
[ February 29, 2004: Message edited by: Ali Ragi ]
Is it possible that a session bean defines and uses a transaction enable method, but the bean NOT implementing the SessionSynchronization interface?
Very clear! Thank you, Kathy Sierra!
Session or Entity Bean can have two home - remote and local, and two component interface - remote and local. So you can have 5 files for an EJB - two home, two component interface and one bean class. DD will have info accordingly. Correct me if I am wrong
In spec,

A local home object reference cannot be passed as an argument or result of a method on an enterprise bean�s remote home or remote interface.


How about reversed: A remote home object reference can OR can not be passed as an argument or result of a method on an enterprise bean�s local home or remote interface?
Thanks! But what's the one pricipal realm and multiple realms, what's the diff?
Impressive! Great work!
Thanks for your comments?
20 years ago
What's the realm really mean? and what's the one pricipal realm and multiple realms, what's the diff?