Software Architecture: UML, MVC, and Enterprise Patterns
Quiz covering software architecture fundamentals including UML modeling, MVC design patterns, Java EE components, and enterprise application architecture
Questions
Which of the following are NOT true about 2-tier architecture models ?
- Clients may be validation intensive,consequently requiring powerful hardware
- Any change to one tier typically affects both tiers
- Represents a single point of failure
- Each client makes a direct connection with the server
- They are not very maintainable
- They are quite manageable
MVC2 removes the page centeric property. True/False?
- True
- False
What are the different scope values for the jsp:useBean?
- Request
- Session
- Application
- Page
- All
MVC1 is used for small scale aplication and MVC2 is used for large scale application. True or false?
- True
- False
In MVC1 controller is _____________
- JSP
- Servlet
- Both
- None of the above
Which one is servlet centric architecture?
- MVC2
- MVC1
- Both
- None of the above
In MVC2 controller is _____________
- JSP
- Servlet
- Both
- None of the above
Which one is page centeric architecture?
- MVC1
- MVC2
- MVC
- MVC1 & MVC2
Structs framework cam implement ___________ model(s).
- MVC1
- MVC2
- MVC
- Both
MVC is a _______________
- Design pattern
- Framework
- Architecture
- All The Above
Which of the following is not related to UML?
- Actors
- Use Case
- Events
- Stake Holder
In UML which graphic object is used to represent use case?
- oval
- square
- rectangle
- triangle
Use case is defined as “a set of actions performed by a system, which yields an observable result that is, typically, of value for one or more actors or other stakeholders of the system.”
- True
- False
UML user guide was designed by three programmers.. Identify them?
- Booch
- Rumbaugh
- Lyons
- Jacobson
Parts of UML are..
- views
- diagrams
- model elements
- all the above
What is the difference between stateful session beans and entity beans?
- Stateful session beans can survive a server crash but entity beans can't.
- Entity beans can survive a server crash but stateful session beans can't.
- Session beans are typically used to make calls on entity beans.
- Entity beans are typically used to make calls on session beans.
The Enterprise Java Bean 2.0 specification has introduced the notion of local Clients. What are local Clients and why were they introduced?
- Local Clients should be used when the web server is running on the same machine as the application server.
- Local Clients should be used when session beans need to communicate with entity beans.
- Beans deployed in the same Virtual Machine as the client should use local Clients.
- Local Clients have been introduced to make testing code easier.
- Local Clients have been introduced to improve maintainability
- Local Clients have been introduced to improve performance.
Which of the following are disadvantages of ORM Frameworks?
- Usage of ORM Frameworks requires complex coding.
- ORM Frameworks reduce development times
- Manageability of application decreases
- Requires specialized resources.