{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

53510828-39009401-Java-Beans - JavaBeans An introduction to...

Info iconThis preview shows pages 1–10. Sign up to view the full content.

View Full Document Right Arrow Icon
Copyright © 2001 Qusay H. Mahmoud JavaBeans An introduction to component-based development in general Introduction to JavaBeans Java components client-side Working with the BDK The beans development life cycle Writing simple and advanced beans
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Copyright © 2001 Qusay H. Mahmoud Software Components All engineering discplines use components to build systems. In SE we rely on line-by-line SD. We have class libraries create objects from class libraries we still need to write a large amount of code objects are not enough
Background image of page 2
Copyright © 2001 Qusay H. Mahmoud Software Components They are like Integrated Circuit (IC) components Over 20 years ago, hardware vendors learned how to package transistors Hardware Engineers integrate ICs to make a board of chips In SE, we are where hardware engineers were 20 years ago We are building software routines
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Copyright © 2001 Qusay H. Mahmoud Java Components Instead of worrying about rotuines, we can buy routines and use/reuse them in our applications (assemble applications) JavaBeans -- portable, platform-independent component model Java components are known as beans A bean: a reusable software component that can be manipulated visually in a builder tool
Background image of page 4
Copyright © 2001 Qusay H. Mahmoud JavaBeans vs. Class Libraries Beans are appropriate for software components that can be visually manipulated Class libraries are good for providing functionality that is useful to programmers, and doesn’t benefit from visual manipulation
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Copyright © 2001 Qusay H. Mahmoud JavaBeans Concepts A component is a self-contained reusable software unit Components expose their features (public methods and events) to builder tools A builder tool maintains Beans in a palette or toolbox.
Background image of page 6
Copyright © 2001 Qusay H. Mahmoud Concepts... You can select a bean from the toolbox, drop it in a form, and modify its appearance and behavior. Also, you can define its interaction with other beans ALL this without a line of code.
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Copyright © 2001 Qusay H. Mahmoud JavaBean Characteristics a public class with 0-argument constuctor it has properties with accessory methods it has events it can customized its state can be saved it can be analyzed by a builder tool
Background image of page 8
Copyright © 2001 Qusay H.
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 10
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}