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.

Note

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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.