Lect25 - Java RTTI
Lect25 - Java RTTI
Felix Hernandez-Campos
March 22
• Output
– JVM-1
inside main
Loading Candy
After creating Candy
Loading Gum
After Class.forName("Gum")
Loading Cookie
After creating Cookie
• Output
– JVM-2
Loading Candy
Loading Cookie
inside main
After creating Candy
Loading Gum
After Class.forName("Gum")
After creating Cookie
• Tutorial
– http://java.sun.com/docs/books/tutorial/javabeans/
index.html
• The JavaBeans API makes it possible to write
component software in the Java programming
language.
• Components are self-contained, reusable software
units that can be visually composed into composite
components, applets, applications, and servlets using
visual application builder tools.
• JavaBean components are known as Beans.
COMP 144 Programming Language Concepts
Felix Hernandez-Campos
14
Demonstration
• BeanBox application
The BeanBox is a simple tool you can use to test your Beans,
and to learn how to visually manipulate their properties
and events. The BeanBox is not a builder tool. You'll use
the BeanBox to learn about Beans.
• Java Beans
– Tutorial
» http://java.sun.com/docs/books/tutorial/javabeans/index.html
– Play with the BeanBox