Java EE and WebLogic Server
Covers Java EE technologies including WebLogic Server administration, domains, and clusters; JSF framework navigation and managed beans; and Servlet methods
Questions
Which method you use when you want to send confidential data
- doGet
- doPost
- Both
- None of the above
- All of the above
JSF View The JSF view is comprised of two pieces: the view root and JSP pages. The view root is a collection of UI components that maintain the state of the UI.The JSP page binds UI components to properties of backing beans and buttons to event handlers and action methods.The Controller uses the view ID to look up the components for the current view. If the view doesn't already exist, the JSF controller creates it. If the view already exists, the JSF controller uses it.(Ques):Where will be the view be saved?
- ServletContext
- RequestScope
- FacesContext
- ApplicationScope
The Model In JSF's MVC implementation, Managed beans mediate between view and model.The bean defines the properties and methods associated with the UI components used on the page. A bean can also define a set of methods that perform functions, such as validating the component's data, for the component. An important feature of JSF's managed bean facility is it's ability to initialize properties from the configuration file.(Ques):Which Configuration file holds the registry info for the Managed bean?
- faces-config.xml
- web.xml
- ibm-web-ext.xmi
- ibm-web-bnd.xmi
"Navigation rules: Navigation rules glue the various JSPs of a the application into a sequential flow of pages.These rules are stored in the faces-config.xml as <navigation-rule> elements. Each rule consists of one or more navigation cases (<navigation-case>).(Ques):Consider the below navigation rule: <navigation-case> <from-action>#{pc_UpdateCustomer.doUpdateAction}</from-action> <from-outcome>showcustomerlist</from-outcome> <to-view-id>/customerList.jsp</to-view-id> </navigation-case> This navigation rule is defined for which function in the managed bean?
- showcustomerlist
- doUpdateAction
- Not specific to any method this is a global rule
- A & B
WebLogic Domain consists of
- a. Two Administration server and one Managed servers
- b. One Administration server and optional Managed servers
- c. One Administration server and two Managed servers
- None
Administration Server provides
- a. Central point from which to manage the domain
- b. Distributed control over a domain
- a & b
- None
Managed servers host the application components and resources which are also deployed and managed as part of the domain
- True
- False
A domain can have ONLY one cluster.
- True
- False
WebLogic Server is a
- HTTP server
- Web server
- Application server
- A & C
A WebLogic server can deploy following files
- Only WAR files
- Only EAR files
- Only SAR files
- All of the above
A WebLogic server can be installed and configured only on a Windows machine
- True
- False
A Managed server can be started as
- Independent
- Dependent
- Quasi Dependent
- A & B