O'Reilly logo

JavaBeans Unleashed by Rick Leinecker, Dr. Donald Doherty

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 9. Invisible Runtime Beans

In This Chapter

All source code for this chapter can be found on the Sams Publishing Website at http://www.mcp.com/info/0-672/0-672-31424-x.

A bean doesn't need to be a graphical user interface control to be a bean. In fact, a bean doesn't need to be visible at all to the application user. Only the application builder needs to see some kind of representation of the bean during design time. Popular beans that are invisible during runtime include timer beans and beans that provide database access. In this chapter, you use Java's time-related classes and methods to write an invisible timer bean.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required