J2EE Design Patterns and Enterprise Beans
Quiz covering J2EE/EJB concepts and common design patterns used in enterprise applications
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.
- Business Delegate
- Data Access Object
- Factory
- 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 ___________
- Singleton
- Factory
- Builder
- 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
- Factory
- Abstract Factory
- Singleton
- Builder
Question 4 Multiple Choice (Single Answer)
Digital office application using which session bean
- State full
- Stateless
- Both
- None
Question 5 Multiple Choice (Single Answer)
which Method of ActionForm is used for validation ?
- validate
- validation
- both
- No such method to validate the Form