in Education by

What is Composite Entity pattern?

1 Answer

0 votes
by
What is Composite Entity pattern? Composite Entity pattern is used in EJB persistence mechanism. A Composite entity is an EJB entity bean which represents a graph of objects. When a composite entity is updated, internally dependent objects beans get updated automatically as being managed by EJB entity bean. Following are the participants in Composite Entity Bean. Composite Entity - It is primary entity bean. It can be coarse grained or can contain a coarse grained object to be used for persistence purpose. Coarse-Grained Object - This object contains dependent objects. It has its own life cycle and also manages life cycle of dependent objects. Dependent Object - Dependent object is an object which depends on coarse grained object for its persistence lifecycle. Strategies - Strategies represents how to implement a Composite Entity.

Related questions

0 votes
    What is Composite pattern?...
asked Nov 7, 2020 in Education by Editorial Staff
0 votes
    Part of the series of controls I am working on obviously involves me lumping some of them together in to ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 12, 2022 in Education by JackTerrance
0 votes
    I have a Composite Component that uses ajax to change multiple elements when an item is selected. I am ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 18, 2022 in Education by JackTerrance
0 votes
    Calling javax.persistence.criteria.Path.get(String name) fails for the simple class hierarchy detailed below. The ... for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jan 15, 2022 in Education by JackTerrance
0 votes
    1. Name the term which is used to join two separate arrays into a single array. 2.How are the following ... ii) primitive type data Select the correct answer from above options...
asked Dec 13, 2021 in Education by JackTerrance
0 votes
    Identify the composite attributes (a) Salary (b) Credits (c) Section_id (d) None of the mentioned I ... , Database Interview Questions and Answers for Freshers and Experience...
asked Oct 11, 2021 in Education by JackTerrance
0 votes
    What are composite indexes? (a) Are those which are composed by database for its internal use (b) ... Answers, Database Interview Questions and Answers for Freshers and Experience...
asked Oct 11, 2021 in Education by JackTerrance
0 votes
    If an attribute of a composite key is dependent on an attribute of the other composite key, a ... , Database Interview Questions and Answers for Freshers and Experience...
asked Oct 11, 2021 in Education by JackTerrance
0 votes
    In the __________ normal form, a composite attribute is converted to individual attributes. (a) First (b) ... , Database Interview Questions and Answers for Freshers and Experience...
asked Oct 11, 2021 in Education by JackTerrance
0 votes
    A relation is in ____________ if an attribute of a composite key is dependent on an attribute of other ... for Decomposition topic in division Normalization of Database Management...
asked Oct 10, 2021 in Education by JackTerrance
0 votes
    What are the different composite keys in Cassandra?...
asked Apr 15, 2021 in Technology by JackTerrance
0 votes
0 votes
    Given a stream of text, Named Entity Recognition determines which pronoun maps to which noun. (a) False ( ... Acting of Artificial Intelligence Please answer the above question....
asked Oct 9, 2022 in Education by JackTerrance
0 votes
    Given a stream of text, Named Entity Recognition determines which pronoun maps to which noun. (a) False ( ... Acting of Artificial Intelligence Please answer the above question....
asked Oct 2, 2022 in Education by JackTerrance
...