MySQL and JSP Web Applications: Data-Driven Programming Using Tomcat and MySQL

I l @ ve RuBoard

IN THIS CHAPTER

  • Bean Basics

  • Bean Persistence

  • Application-Scoped Object and Singleton Classes

  • Wrapping Up Beans

Java Beans are fundamental to the operation of JSP. They are the nuggets of information that persist between requests , that are filled in by forms, and that otherwise provide the glue to make your Web site work.

Beans themselves are very simple. They are merely Java classes that obey a few simple conventions. More than likely, you've already written a few Beans, but we'll start off with a quick review of them before talking about how JSP uses Beans.

I l @ ve RuBoard

Категории