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.
Questions
Which Portal element defines the collection of services in a portal?
- a desktop
- a book
- a page
- a portlet
Which Portal element controls menus?
- a page
- a portlet
- a book
- a desktop
Which Portal element displays portlets?
- a book
- a portal
- a page
- desktop
Which is the first item to be added to a portal project when creating a portal application?
- a portal
- a portlet
- a desktop
- a book
For which is a backing file often used?
- perform authentication
- back-up a portal context
- load resources into the JNDI
- initialize a database connection
To customize the skeleton of a portal, which type of resource would need to be created?
- javascript
- jsp
- css
- xml
To customize the skin of a portal, which type of resource would be created?
- javascript
- jsp
- xml
- css
A JPF file corresponds to which architectural component?
- model
- view
- controller
- action
Which is the preferred mechanism for implementing Inter-portlet communications?
- Event Handlers
- Backing files
- onRefresh method
- listenTo portlet property
Which does a content repository contain?
- segments and profiles
- elements and nodes
- nodes and resources
- types and content
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); }}
- Compile time error
- 5
- 0
- None of above
Which of the following are valid method signature?
- public static void main(String[] args)
- public static void main()
- public void main(String[] args)
- public void static main(String[] args)
J2EE provide
- Platform Dependent
- Platform Independent
- All the above
- None
which of the following is business component?
- Servlet
- JSP
- EJB
- All the above
which of the following is static resource?
- .html file
- .jsp file
- .img file
- All the above
which of the following is deployment descriptor?
- info.xml
- web.xml
- context.xml
- config.xml
servlet is a
- client side program
- server side program
- both a&b
- none
context parameters can be accessed
- by a particular servlet
- web.xml
- globally
- none
Does XML replace HTML?
- True
- False