CC292 Revision Web Application Programming - PowerPoint PPT Presentation

1 / 6
About This Presentation
Title:

CC292 Revision Web Application Programming

Description:

Explain how the Once and Once Only' principle of good design can be applied or ... Explain the conditions under which deadlock is possible, and how deadlock can be ... – PowerPoint PPT presentation

Number of Views:32
Avg rating:3.0/5.0
Slides: 7
Provided by: sim126
Category:

less

Transcript and Presenter's Notes

Title: CC292 Revision Web Application Programming


1
CC292 Revision Web Application Programming
  • Simon M. Lucas

2
Executed on Client or Server? Explain
  • JSP (also explain the lifecycle of a JSP page)
  • Java Applet
  • CSS
  • HTML
  • JavaScript
  • Db4o database
  • Java helper classes Java Beans

3
General Principles
  • Explain how the Once and Once Only principle of
    good design can be applied or related to the
    following concepts
  • CSS
  • Databases (OO and Relational)
  • JSP pages
  • Java code
  • JavaScript Components
  • HTML web pages

4
Threads
  • Explain the conditions under which deadlock is
    possible, and how deadlock can be avoided.
  • Outline (or write) a simple Java program to
    demonstrate this. (see demo)
  • Consider the following code could the println()
    method ever be executed? Explain.
  • if (x 1) if (x 2)
    System.out.println(Amazing!)

5
Consider the following league table(with over
1,000 rows)Explain how you would multi-page this
6
Shopping Basket
  • Define a class for a Product item, and explain
    how you would store these in a Java-based (server
    side) shopping basket
  • Suppose you use a HashMap to store the items.
    What effect would the following have?
  • Failing to override hashcode()
  • Defining hashcode to always return 1.
  • Explain which type of map should be used if the
    items are to be displayed in alphabetical order.
  • What scope should a Basket Bean have?
Write a Comment
User Comments (0)
About PowerShow.com