Portlet Exam - Basic

Print the objectives

  Take a beta test

To pass this exam you are required to understand:

  • The portlet api for basic usage
  • How to create portlet application including the deployment descriptor.
  • How to configure a portlet.
  • How to render proper output using the Portlet Tag Library.

Excluded from this exam are

  • JSR 286 Portlet Specification 2.0 related topics.
  • Vendor specific extensions.
  • Web Services for Remote Portlets Specification related topics.

The objectives relate to the JSR 168 Portlet Specification

References:

Books

Prerequisites

  • Java SE Core - Intermed
  • Servlet - Intermed
  Released  Beta  Frozen  

General and Portal  2 questions

  • Distinguish between an Application Server and a Portal Server.
  • Distinguish between a Portal Server and a Portlet Container.
0 8 0

Portlet  3 questions

Write a simple Portlet Class that:

  • Implements the Portlet-interface.
  • Uses the GenericPortlet as a super class.

Describe the lifecycle of a Portlet, throught the methods of the Portlet-interface.

Identify the correct methods of the GenericPortlet to implement.

0 6 0

Request and Response  4 questions

  • Distinguish between PortletRequest, ActionRequest and RenderRequest.
  • Distinguish between PortletResponse, ActionResponse and RenderResponse.
  • Write code, which correctly uses the PortletRequestDispatcher.
  • Write code, which correctly uses the PortletURL.
0 12 0

Portlet Session  2 questions

  • Identify the correct methods to retrieve a PortletSession.
  • Identify the correct methods to add, get and remove attributes.
  • Distinguish between APPLICATION_SCOPE and PORTLET_SCOPE.
0 4 0

Portlet Concepts  2 questions

  • Identify the correct methods to determine and change the PortletMode and WindowState.
  • Identify and disinguish the available PortletMode
  • Identify and disinguish the available WindowState
0 7 0

Portlet Configuration  3 questions

  • Distinguish between PortalContext, PortletContext and PortletConfig
  • Distinguish between PortletConfig and PortletPreferences.
  • Identify the correct methods to read initialization parameters.
  • Identify the correct methods to read and write portlet preferences.
0 8 0

Portlet Content  2 questions

  • Identify the proper tags from the Portlet Tag Library and describe their purpose.
  • Write a correct HTML fragment for a portlet.
    • Identify prohibited HTML-tags within a portlet fragment.
    • Identify the proper style for formatting portlet fragments.
0 6 0

Structure and Deployment  2 questions

  • Distinguish between web.xml and portlet.xml.

Configure the portlet.xml correctly for a basic portlet

  • Write a correct <portlet-app> element ...
  • Write a correct <portlet> element
  • Add a init-param to a portlet-element.
0 4 0

To Sort  1 question

Temporary category that contains old Portlets exam questions.
Will be deleted or hidden when the exam is released.
0 5 0

Exam information

  • 31 minutes
  • 21 questions (60)
  • 80% required
  • +3 √
  • - 4  points
  • 15 day delay
  • status: under construction

Top contributors