Today, you will learn how to create your own Java classes, as well as JavaBeans. As you develop your Java code, it'll get longer and longer, and after a while, it's not going to fit easily into scriptlets anymore. As it turns out, JSP servers are specially built to let your JSP pages interact with Java classes that you write yourself. Now that our applications are getting more involved, we're going to see how this works. Here's an overview of today's topics:
Creating and compiling Java classes
Creating Java methods
Using Java classes from JSP
Creating Java packages
Creating and using JavaBeans
Creating Bean properties
As we'll see, a JavaBean will give you access to properties and methods that you can use ...