Quiz

1:The main function of a servlet is to
  1. Read and write files to and from the server

  2. Provide graphical user interfaces

  3. Process HTTP requests and supply responses

  4. Act as delegate to access EJBs

A1: C, D
2:An HTTP cookie can contain
  1. Any Unicode characters

  2. Only ASCII characters

  3. Any binary information about a user profile

  4. Any field/value pairs of a user session

A2: B
3:After a JSP page is compiled, it turned into a(n)
  1. Applet

  2. EJB

  3. Servlet

  4. JavaBean

A3: C
4:The best way to call an EJB from the Web tier is
  1. Call the EJB from a JavaBean embedded into a JSP

  2. Look up and use the EJBs directly from a JSP

  3. Look up the EJB in a taglib, which is called from JSP

  4. Look up the EJBs from within a servlet, and delegate usage from within a JSP

A4: D
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.9.124