Java Stream Question and Answers

25. What is CTM?
 
  • The Component Transaction Monitor (CTM) is the ultimate distributed object application server.
  • It has evolved as a hybrid of traditional TP monitors, ORB technologies, and implements robust server-side component models that make it easier for developers to create, use, and deploy business systems.
  • The infrastructure provided in CTMs can automatically manage transactions, object distribution, concurrency, security, persistence, and resource management through its infrastructure.
  • They not only handle huge user populations and mission-critical work, but also provide value to smaller systems because they are easy to use.
 
Your Name Your Email-ID
Your Answer
26. Define the term Persistence?
 
  • Persistence is the ability to save a bean to non volatile storage and retrieve it later.
  • With reference to entity beans, the process of coordinating the data represented by a bean instance with the database is called persistence.
 
Your Name Your Email-ID
Your Answer
27. What is Container Persistence?
 
  • The persistence managed by the EJB container in case of entity bean is known as container managed persistence.
  • The container knows how a bean instance's fields map to the database and automatically take care of inserting, updating and deleting the data associated with entities in the database.
 
Your Name Your Email-ID
Your Answer
28. What are the advantage and disadvantages of Container Persistence?
  Advantage: The bean can be defined independently of the database (either relational database or object oriented database) used to store its state. This makes the bean more reusable and flexible across applications.
Disadvantage:These beans require sophisticated mapping tools to define how the bean's fields map to the database.
 
Your Name Your Email-ID
Your Answer
12345678910 Page 7 of 10