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

12 Questions Published

Questions

Question 1 Multiple Choice (Multiple Answers)

Which method you use when you want to send confidential data

  1. doGet
  2. doPost
  3. Both
  4. None of the above
  5. All of the above
Question 2 Multiple Choice (Single Answer)

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?

  1. ServletContext
  2. RequestScope
  3. FacesContext
  4. ApplicationScope
Question 3 Multiple Choice (Single Answer)

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?

  1. faces-config.xml
  2. web.xml
  3. ibm-web-ext.xmi
  4. ibm-web-bnd.xmi
Question 4 Multiple Choice (Single Answer)

"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?

  1. showcustomerlist
  2. doUpdateAction
  3. Not specific to any method this is a global rule
  4. A & B
Question 5 Multiple Choice (Single Answer)

WebLogic Domain consists of

  1. a. Two Administration server and one Managed servers
  2. b. One Administration server and optional Managed servers
  3. c. One Administration server and two Managed servers
  4. None
Question 6 Multiple Choice (Single Answer)

Administration Server provides

  1. a. Central point from which to manage the domain
  2. b. Distributed control over a domain
  3. a & b
  4. None
Question 7 True/False

Managed servers host the application components and resources which are also deployed and managed as part of the domain

  1. True
  2. False
Question 8 True/False

A domain can have ONLY one cluster.

  1. True
  2. False
Question 9 Multiple Choice (Single Answer)

WebLogic Server is a

  1. HTTP server
  2. Web server
  3. Application server
  4. A & C
Question 10 Multiple Choice (Single Answer)

A WebLogic server can deploy following files

  1. Only WAR files
  2. Only EAR files
  3. Only SAR files
  4. All of the above
Question 11 True/False

A WebLogic server can be installed and configured only on a Windows machine

  1. True
  2. False
Question 12 Multiple Choice (Single Answer)

A Managed server can be started as

  1. Independent
  2. Dependent
  3. Quasi Dependent
  4. A & B