PS Framework and Design Patterns Architecture
Test your knowledge of the PS presentation framework architecture and fundamental software design patterns including MVC, Singleton, and Observer patterns.
Questions
There is no method of implementing a Singleton class that permits inheritance.
- True
- False
It is correct from a design point of view to make an object both an Observer and a Subject(Observable) at the same time.
- True
- False
Design patterns provide developers with common nomenclature.
- True
- False
What is PS?
- Presentation Screens
- Re-Usable framework to develop Presentation Tier.
- Transaction Tier
- None of the above
Why do we need PS?
- To segregate developer responsibilities
- To get common look and feel
- To use and build on the existing framework
- All of the above
here we define the application flow?
- web.xml
- AS.xml
- PS.xml
- AC.xml
Which of the following will perform the model update?
- Action Servlet
- Action Controller
- JSP
- All of the above
Which of the following services are provided by PS?
- Message Display Services
- Security Services
- Session Management
- All of the above
Which component represented by the Action Controller in PS?
- Controller
- View
- Model
- None of the above
Where we define mapping between user attributes to LDO?
- metadata.xml
- map.xml
- ac.xml
- ps.xml
Which are the minimum methods need to be overridden in Action Controller?
- doInit()
- doUpdate()
- doPageAction()
- None of the above
Which method we get invoked on page load?
- doComplete()
- doCancel()
- doInit()
- doUpdate()
Where we need to store the data to get across the application?
- Request
- Cookie
- Application context
- Global Session
How many ps.xml’s can be defined for one application?
- >1
- 1
- 0
- None of the above
Which security level needs to be implemented for both session login and pin login?
- 0
- 1
- 2
- 3
Which component validates user input?
- Action Controller
- Action Servlet
- JSP
- PageHandler
In which component business services are invoked?
- Action Servlet
- Action Controller
- JSP
- PS.xml
Where we provide entries for external/supported jars for an application?
- Web.xml
- AC.xml
- Manifest
- None of the above
How many pages can be defined under each task in PS.xml?
- Only one
- More than one
- Zero
- None of the above
How many action controllers can be associated to each task in ps.xml?
- Only one
- More than one
- Zero
- None of the above