Java Web Technologies and Enterprise Portals

Test your knowledge of Java web development including servlets, JSP, EJB, web.xml configuration, and portal frameworks with books, pages, and portlets.

19 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Which Portal element defines the collection of services in a portal?

  1. a desktop
  2. a book
  3. a page
  4. a portlet
Question 2 Multiple Choice (Single Answer)

Which Portal element controls menus?

  1. a page
  2. a portlet
  3. a book
  4. a desktop
Question 3 Multiple Choice (Single Answer)

Which Portal element displays portlets?

  1. a book
  2. a portal
  3. a page
  4. desktop
Question 4 Multiple Choice (Single Answer)

Which is the first item to be added to a portal project when creating a portal application?

  1. a portal
  2. a portlet
  3. a desktop
  4. a book
Question 5 Multiple Choice (Single Answer)

For which is a backing file often used?

  1. perform authentication
  2. back-up a portal context
  3. load resources into the JNDI
  4. initialize a database connection
Question 6 Multiple Choice (Single Answer)

To customize the skeleton of a portal, which type of resource would need to be created?

  1. javascript
  2. jsp
  3. css
  4. xml
Question 7 Multiple Choice (Single Answer)

To customize the skin of a portal, which type of resource would be created?

  1. javascript
  2. jsp
  3. xml
  4. css
Question 8 Multiple Choice (Single Answer)

A JPF file corresponds to which architectural component?

  1. model
  2. view
  3. controller
  4. action
Question 9 Multiple Choice (Single Answer)

Which is the preferred mechanism for implementing Inter-portlet communications?

  1. Event Handlers
  2. Backing files
  3. onRefresh method
  4. listenTo portlet property
Question 10 Multiple Choice (Single Answer)

Which does a content repository contain?

  1. segments and profiles
  2. elements and nodes
  3. nodes and resources
  4. types and content
Question 11 Multiple Choice (Single Answer)

What will be output of following code?public class Main { public static void main(String[] args) { int i; i = i + 5; System.out.println(i); }}

  1. Compile time error
  2. 5
  3. 0
  4. None of above
Question 12 Multiple Choice (Multiple Answers)

Which of the following are valid method signature?

  1. public static void main(String[] args)
  2. public static void main()
  3. public void main(String[] args)
  4. public void static main(String[] args)
Question 13 Multiple Choice (Single Answer)

J2EE provide

  1. Platform Dependent
  2. Platform Independent
  3. All the above
  4. None
Question 14 Multiple Choice (Single Answer)

which of the following is business component?

  1. Servlet
  2. JSP
  3. EJB
  4. All the above
Question 15 Multiple Choice (Single Answer)

which of the following is static resource?

  1. .html file
  2. .jsp file
  3. .img file
  4. All the above
Question 16 Multiple Choice (Single Answer)

which of the following is deployment descriptor?

  1. info.xml
  2. web.xml
  3. context.xml
  4. config.xml
Question 17 Multiple Choice (Single Answer)

servlet is a

  1. client side program
  2. server side program
  3. both a&b
  4. none
Question 18 Multiple Choice (Single Answer)

context parameters can be accessed

  1. by a particular servlet
  2. web.xml
  3. globally
  4. none
Question 19 True/False

Does XML replace HTML?

  1. True
  2. False