Java Stream Question and Answers

33. What is a Component model?
 
  • A component model defines a set of interfaces and classes in the form of Java packages that must be used in a particular way to isolated and encapsulate a set of functionality.
  • Once a component model is defined, it becomes an independent piece of software that can be distributed and used in other applications.
  • A component is developed for a specific purpose, but not a specific application.
 
Your Name Your Email-ID
Your Answer
34. What is EJB?
 
  • Enterprise Java Bean (EJB) is a specification, which provides server-side applications that communicate with remote clients to provide a given processing function.
  • By definition, EJBs are part of a client/server system.
  • They normally do not function by themselves without any interaction from a client. The client could be a Java Bean or other non-Java objects on the network.
 
Your Name Your Email-ID
Your Answer
35. What is called Instance Pooling?
 
  • Some CTMs apply a technique to server side components, which is commonly used to pool the database connections or the other resources so that the business objects in the system can share database access or the resources.
  • This technique is called instance pooling.
  • Instance pooling reduces the number of component instances, and therefore resources, needed to service client requests. In addition, it is less expensive to reuse pooled instances than to frequently create and destroy instances.
 
Your Name Your Email-ID
Your Answer
12345678910 Page 9 of 10