Versioning Beans

At some point, you will have created a useful bean that people will want to use. Suppose that you decide that the PictureButton bean you considered in the Looking at Another Example section earlier in this chapter is ready for prime time. You package the PictureButton bean up into a JAR file and distribute it around the world through the Internet to many happy users.


The source code for the PictureButton bean is shown in Listing 7.4 in Chapter 7. Alternatively, you can use the picturebutton.jar file that includes the PictureButton bean.

One day you get an email from a user of your bean who prefers programming in Java with a text-based editor to using rapid application development techniques. The programmer is unable to ...

Get JavaBeans Unleashed now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.