Prix bas
CHF37.50
Impression sur demande - l'exemplaire sera recherché pour vous.
De-mystifies Java. Bean terminology Written in the pacy style of the Essential series, this book gets the reader using the Java. Bean components quickly and effectively in their own applications It can be read from start to finish, or can be dipped into as and when needed * Contains lots of examples
Texte du rabat
Essential JavaBeans fast de-mystifies the terminology, and gets you using the JavaBean components quickly and effectively in your own applications. You can either read the book from start to finish (it shouldn take too long) or you can dip into it for various aspects of JavaBeans as and when you need to. It doesn't attempt to be a complete in-depth guide to every aspect of JavaBeans but it does foc us on all the things you need to know to get on and use JavaBeans - including linking JavaBeans to ActiveX components. You'll learn: how to use the BeanBox, how the Delegation Event Model works, how to create a simple Bean, what types of properties are currently supported by JavaBeans, how to define a BeanInfo object, and lots more. Lots of examples are included and you are encouraged to try them out as you go so that you get a real 'feel' for how JavaBeans work. TOC:Introduction to JavaBeans.- Using the BeanBox.- The Delegation Event Model.- Defining basic beans.- Property Data Types.- Reflection and Bean Introspection.- BeanInfo objects.- An Example BeanInfo object.- Bean Serialization (Persistence).- Property editors and Customizers.- JavaBeans and Active/X.- Event Adapters.- RMI and Beans.- Appendix A The Clock Bean.- Appendix B The Monitor Bean.- Appendix C The Alarm Bean Appendix D The Multiplexer.- Appendix E RMI beans.- Index.
Contenu
1 Introduction to JavaBeans.- Objectives.- Is this book for you?.- How to use this book.- Why have software components?.- What are JavaBeans?.- JavaBeans and other component models.- The JavaBeans package.- Bean terminology.- Builder tool support.- Building an application.- What you need to use JavaBeans.- How to get the BDK.- What you get in the BDK.- Program conventions.- 2 Using the BeanBox.- Objectives.- Starting the BeanBox.- The BeanBox.- TheBeanBox menus.- Working with Beans.- Connecting Beans together.- Adding Beans to the BeanBox.- Builder tools.- 3 The Delegation Event Model.- Objectives.- Background.- What is an event?.- Delegating responsibility for an event.- Event listeners.- Working with events.- Creating new events.- Defining new listener interfaces.- Multicast and unicast sources.- Events and Beans.- 4 Building Basic Beans.- Objectives.- The JavaBeans architecture.- Creating a bean.- The Beans conventions.- The Beanlnfo object.- The Counter and Alarm beans.- Packaging the beans.- Using the beans.- JavaBeans and you.- 5 Property Data Types.- Objectives.- Simple properties.- Bound properties.- Constrained properties.- Indexed properties.- 6 Reflection and Bean Introspection.- Objectives.- Reflection.- The introspection process.- How it actually works.- Experimenting with introspection.- 7 Beanlnfo Objects.- Objectives.- The jaya.beans package.- Beanlnfo objects.- The Beanlnfo interface.- Classes used with Beanlnfo.- The SimpleBeanlnfo class.- Additionallnfo objects.- The getBeanDescriptor method.- 8 An example BeanInfo Object.- Objectives.- The Clock bean.- The ClockBeanlnfo class.- The geticon ( ) method.- The getPropertyDescriptors ( ) method.- The getMethodDescriptors ( ) method.- Handling bound properties.- The manifest and JAR files.- 9 Bean Serialization.- Objectives.- Serialization in Java.- Serializing a bean.- Defining beans that can be serialized.- 10 Property Editors and Customizers.- Objectives.- Changing property values.- The Property Sheet.- Property Views.- Property Editors.- The PropertyEditor interface.- The PropertyEditorSupport class.- Registering a PropertyEditor.- Customizers.- 11 JavaBeans and ActiveX.- Objectives.- The Component Object Model.- What is ActiveX?.- ActiveX bridge.- Packaging a Bean.- Creating an ActiveX component.- Using the ActiveX component in a container.- Runtime support.- 12 Event Adapters.- Objectives.- Event adapters.- The use of event adapters.- Defining event adapters.- 13 RMI and Beans.- Objectives.- Non-graphical beans.- Remote Method Invocation.- the RMIClientBean.- The Manifest file.- Building the JAR file.- Using the RMI bean.- Appendix A: The Clock Bean.- Appendix B: The Monitor Bean.- Appendix C: The Alarm Bean.- Appendix D: The Multiplexer.- Appendix E: RMI beans.