What is the relationship between local interfaces and container-managed relationships?


Entity beans that have container-managed relationships with other entity beans, must be accessed in the same local scope as those related beans, and therefore typically provide a local client view. In order to be the target of a container-managed relationship, an entity bean with container-managed persistence must provide a local interface.



Explore posts in the same categories: EJB Interview Questions


BOOKMARK THIS : del.icio.us | Digg it | Furl | reddit |


Related Questions :

  • Tell me something about Local Interfaces.
  • EJB was originally designed around remote invocation using the Java Remote Method Invocation (RMI) mechanism, and later extended to support...
  • What are Local Interfaces? Describe.
  • EJB was originally designed around remote invocation using the Java Remote Method Invocation (RMI) mechanism, and later extended to support...
  • Brief description about local interfaces ?
  • EEJB was originally designed around remote invocation using the Java Remote Method Invocation (RMI) mechanism, and later extended to support...
  • What are the special design care that must be taken when you work with local interfaces ?
  • EIt is important to understand that the calling semantics of local interfaces are different from those of remote interfaces. For...
  • What is the difference between find and select methods in EJB?
  • A select method can return a persistent field (or a collection thereof) of a related entity bean. A finder method...
  • Why are recursive relationships bad? How do you resolve them
  • A recursive relationship (one where a table relates to itself) is bad when it is a hard relationship (i.e. neither...
  • Explain the ISA and HASA class relationships. How would you implement each in a class design?
  • A specialized class "is" a specialization of another class and, therefore, has the ISA relationship with the other class. An...
  • What is container-managed transaction
  • A transaction whose boundaries are defined by an EJB container. An entity bean must use container-managed transactions....
  • What is abstract schema?
  • Abstract schema is part of an entity bean's deployment descriptor which defines the bean's persistent fields and their relationship. Abstract...
  • What is difference between EJB 1.1 and EJB 2.0?
  • The bulk of the changes in EJB 2.0 are found in the definition of a new CMP component model. It's...

    Comment:

    You must be logged in to post a comment.