J2EE Design Patterns and Enterprise Beans

Quiz covering J2EE/EJB concepts and common design patterns used in enterprise applications

5 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Your application will be fetching data from a centralized relational database, LDAP repositories and flat files.___________ design pattern will be appropriate for it.

  1. Business Delegate
  2. Data Access Object
  3. Factory
  4. Builder
Question 2 Multiple Choice (Single Answer)

In simple words, if we have a super class and n sub-classes, and based on data provided, we have to return the object of one of the sub-classes, we use a ___________

  1. Singleton
  2. Factory
  3. Builder
  4. Prototype
Question 3 Multiple Choice (Single Answer)

_____________________ design pattern is used to separates the construction of complex objects from their representation. It creates complex objects from simple ones step by step

  1. Factory
  2. Abstract Factory
  3. Singleton
  4. Builder
Question 4 Multiple Choice (Single Answer)

Digital office application using which session bean

  1. State full
  2. Stateless
  3. Both
  4. None
Question 5 Multiple Choice (Single Answer)

which Method of ActionForm is used for validation ?

  1. validate
  2. validation
  3. both
  4. No such method to validate the Form