Suggested Projects


Skill-Building Exercises

  1. Trace Applet Life Cycle Stages:   Run the BasicApplet program given in this chapter and trace the applet life cycle stages. Note the effects of first accessing the applet’s web page, moving off the page, clicking the page refresh button, and exiting the browser. Open two browser windows, access the BasicApplet page, and trace the life cycle stage messages printed to the text area of each window. Can you explain what you see?

  2. <object> Tag:   Convert the applet examples in this chapter to use the <object> tag vs. the <applet> tag.

  3. API Research:   Research the two JDBC packages: java.sql and javax.sql. List and describe all classes, interfaces, and exceptions. Take note of each interface and class methods, their required parameters and return values.

  4. Directed Study:   Expand your knowledge of the Structured Query Language. Procure a reference on SQL and read it. How does MySQL’s implementation of SQL compare with the SQL standard? What SQL language features, if any, does MySQL not implement?

  5. Applet Security:   Research browser security policy and the use of signed applets.

  6. Relational Database Design:   Procure and read a book about relational database design. (Honestly, if you wait to take a class for everything you need to learn you will never catch up to the technology curve!)

  7. Regular Expressions:   In their current state, the two dialog classes utilized by the EmployeeTrainingApplet of the employee training management system implement no user entry error checking. Study Java’s implementation of regular expressions and modify the program to utilize regular expressions to ensure that only acceptable data is sent to the database for persistence.

  8. Programming Exercise:   Modify the Poetry applet so that the canvas and tile colors can be set via applet parameters.

  9. Programming Exercise:   Modify the employee training management system to use a JTable to display employee and employee training data.

  10. JDBC RowSet:   Research the JDBC RowSet. Modify the employe training management system to utilize RowSets.




Java For Artists(c) The Art, Philosophy, and Science of Object-Oriented Programming
Java For Artists: The Art, Philosophy, And Science Of Object-Oriented Programming
ISBN: 1932504052
EAN: 2147483647
Year: 2007
Pages: 452

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net