Java Beans Component APIs for Java. Graham Hamilton JavaSoft

Similar documents

POAD Book: Chapter 4: Design Patterns as Components Chapter 5: Visual Design Models

Java Programming Language Mr.Rungrote Phonkam

Outline. Introduction to Java. What Is Java? History. Java 2 Platform. Java 2 Platform Standard Edition. Introduction Java 2 Platform

Distributed Middleware. Distributed Objects

ESPRIT Project N Work Package H User Access. Survey

Distributed Objects. Object-Oriented Application Development

Electronic Payment Systems (1) E-cash

CHARLES UNIVERSITY, PRAGUE FACULTY OF MATHEMATICS AND PHYSICS. Master Thesis. Michael Cífka Visual Development of Software Components

Rapise Quick Start Guide Testing Java Applications with Rapise

Widget Toolkits CS MVC

Application Servers G Session 5 - Main Theme Object Management Architectures. Dr. Jean-Claude Franchitti

Appendix A - Glossary(of OO software term s)

Today: More Case Studies DCOM

PLATFORM TECHNOLOGY UNIT-5

JDBC Today C HAPTER 1 INTRODUCTION

P-NET Management with Java based Components

JAVA. Duration: 2 Months

Java for Programmers Course (equivalent to SL 275) 36 Contact Hours

The Umbilical Cord And Alphabet Soup

Tools to Develop New Linux Applications

Type of Classes Nested Classes Inner Classes Local and Anonymous Inner Classes

OpenOffice.org as a platform for developers

CS5015 Object-oriented Software Development. Lecture: Overview of Java Platform. A. O Riordan, 2010 Most recent revision, 2014 updated for Java 8

CHAPTER 1: A GENERAL INTRODUCTION TO PROGRAMMING 1

PROCE55 Mobile: Web API App. Web API.

Chapter 2 FEATURES AND FACILITIES. SYS-ED/ Computer Education Techniques, Inc.

Core JAVA Training Syllabus FEE: RS. 8000/-

ABOUT CORE JAVA COURSE SCOPE:

Component-based Architecture Buy, don t build Fred Broks

Netscape Composer Tutorial

QuestionPoint chat The Guide to IE browser setup Last updated: 2009 June 23

A Strategic Comparison of Component Standards

Introduction to JavaScript p. 1 JavaScript Myths p. 2 Versions of JavaScript p. 2 Client-Side JavaScript p. 3 JavaScript in Other Contexts p.

Limitations of Object-Based Middleware. Components in CORBA. The CORBA Component Model. CORBA Component

Organization of User Interface Software

Java Programming Training for Experienced Programmers (5 Days)

Introduction p. 1 Basic Programming Introduction p. 7 Introduction to Python p. 7 Why Use Python? p. 10 Main Technical Features p.

Enterprise JavaBeans (I) K.P. Chow University of Hong Kong

Enterprise Java Unit 1-Chapter 2 Prof. Sujata Rizal Java EE 6 Architecture, Server and Containers

Introduction To Web Architecture

Agenda. Summary of Previous Session. Extreme Java G Session 3 - Main Theme Java Core Technologies (Part I)

Introduction to Reflective Java

History Introduction to Java Characteristics of Java Data types

[Course Overview] After completing this module you are ready to: Develop Desktop applications, Networking & Multi-threaded programs in java.

Client/Server-Architecture

Database Access. Rick Cattell JavaSoft

Learning objectives. The Java Environment. Java timeline (cont d) Java timeline. Understand the basic features of Java

Getting the Most from Eclipse

Interactive webmaps with ArcGIS. Kristel Meikas, AlphaGIS

Appendix A Useful Links and References

Distributed Multitiered Application

Constructing distributed applications using Xbeans

Matrex Table of Contents

Today: Distributed Objects. Distributed Objects

Theme System. Wisej Themes 1 OVERVIEW

Component models. Page 1

13. Databases on the Web

Saperion. Release Notes. Version: 8.0

SUN Sun Certified Enterprise Architect for J2EE 5. Download Full Version :

Chapter 10 Web-based Information Systems

SAP Automation (BC-FES-AIT)

<Insert Picture Here> JavaFX Overview April 2010

Event Dispatch. Interactor Tree Lightweight vs. Heavyweight Positional Dispatch Focus Dispatch. 2.4 Event Dispatch 1

Event Dispatch. Interactor Tree Lightweight vs. Heavyweight Positional Dispatch Focus Dispatch. Event Architecture. A pipeline: Event Capture

IBM Best Practices Working With Multiple CCM Applications Draft

Management User s Guide. Version 6.2, December 2004

Compaq Interview Questions And Answers

Software. Networked multimedia. Buffering of media streams. Causes of multimedia. Browser based architecture. Programming

Advanced Lectures on knowledge Engineering

IBM Security Access Manager for Enterprise Single Sign-On Version AccessStudio Guide IBM SC

Web-based technology for cheminformatics

Release Notes. Browsium Ion 3.7. About this Release. What is Ion. What s New in this Release

Java- and CORBA-Based Network Management. Mika Leppinen, Pekka Pulkkinen, and Aapo Rautiainen

The Architecture of Federations From Process to Software

Designing Interactive Systems II

Review. Designing Interactive Systems II. Introduction. Web 2.0 in keywords GWT Cappuccino HTML5. Cross platform GUI Toolkit

1Z Oracle. Java Enterprise Edition 5 Enterprise Architect Certified Master

Lecture 5: Object Interaction: RMI and RPC

A Closer Look at XPages in IBM Lotus Domino Designer 8.5 Ray Chan Advisory I/T Specialist Lotus, IBM Software Group

Crystal Reports 8.0. Overview. Contents. Using The Seagate Software Design Time Control in Visual Interdev 6. What is a Design Time Control?

Component-based Groupware: Issues and Experiences

PrimePay System Requirements

Widget. Widget is a generic name for parts of an interface that have their own behaviour. e.g., buttons, progress bars, sliders, drop-down

A General ecommerce Platform with Strong International and Local Aspects

J2EE for Glast. Matthew D. Langston (SLAC) 4/25/2004

Introduction. Enterprise Java Instructor: Please introduce yourself Name Experience in Java Enterprise Edition Goals you hope to achieve

Borland JBuilder 7 Product Certification. Study Guide

Thin Client for Web Using Swing

Graphical User Interfaces in Java Part 2

Jerry Gulla. 75 Ridge Street Arlington, MA (781)

Java - What s All The Excitement About? Mark Volkmann, Object Computing, Inc. (OCI)

Generation of Interactive Visual Interfaces for Resource Management

CORBA and COM TIP. Two practical techniques for object composition. X LIU, School of Computing, Napier University

IBM VisualAge for Java,Version3.5. Domino AgentRunner

John Hunt and Alex McManus. Key Java. Advanced Tips and Techniques

Swing Based Remote GUI Emulation

Distributed Xbean Applications DOA 2000

The Number One. Maturity. Value Added. Multi-Platform

Installing VS Code. Instructions for the Window OS.

Transcription:

Java Beans Component APIs for Java Graham Hamilton JavaSoft

Java Beans Java beans is a set of component APIs Allowing pluggable software components In an open, portable, platform-neutral way Java beans covers a range of components From simple lightweight widgets To powerful components To full scale applications

Overview Why Java needs component APIs What Java Beans supports Implementing Java Beans in different environments (Note: Java Beans is the current code name)

Why a Component Model? In the past ISVs wrote entire applications But this means they duplicate a lot of code And their applications can t plug together Customers want to plug together components And compose them into applications And use some components to control others

Java and Components Applets are a good, simple component model They allow simple static integration We d like to enable richer, dynamic integration: So that components can interact By firing and catching events By calling methods on one another So that components can merge GUI features Without giving up platform portability

Java Components Composite Applet event button Database viewer call message log

Java Beans as Components Can raise and catch typed events Can support persistent properties Can be stored as part of a parent Can act as servers for other components Can merge their GUI with their parent e.g. they may merge MenuBars with parent Can provide component editors for builders To allow users to customize component behavior

Java Beans as Containers Beans can be containers for other beans This allows hierarchical components And allows Java compound documents

Keeping it Simple Java beans can be very lightweight All Java AWT components will be beans All AWT containers will be bean containers But some beans will be much larger Spreadsheets embedded in word processors The Java beans APIs are focused on making the simple cases easy And the hard cases doable

Keeping it Simple We don t want to complicate simple AWT components So runtimes provide default behavior But allow an object to override this behavior By testing for instanceof java.beans.xxx This avoids having heavyweight base classes

Related new APIs Improved desktop integration from AWT Drag-and-drop Cut-and-paste Java RMI: remote method invocation Industry standard CORBA IDL for remote object access Automatic object serialization

Portability Java beans, a platform neutral Java API A single Java bean can integrate in a high quality way into a variety of containers: HotJava and other Java containers MS containers (e.g. Word, Visual Basic, Explorer) Netscape (using JavaScript &LiveConnect) Opendoc containers And will also run outside of any containers Write once, run anywhere at a new level

COM Implementation Libraries will bridge Java bean API to COM Using standard COM APIs: OLE automation, OLE documents, ActiveX Java bean events get mapped to COM events There will be a Java bean OCX Java beans will appear as first class COM and ActiveX components While still being completely portable

Beans in Visual Basic COM event Java Bean Visual Basic script Other OCX control Visual Basic Form

Netscape Navigator Java bean libraries will bridge Java bean APIs to JavaScript and LiveConnect LiveConnect event Java Bean JavaScript LiveConnect C server

HotJava HotJava will be extended to support the full Java bean container API This will provide a much higher degree of integration of applets into HotJava Bean Bean Applet Bean Bean Hot Java

Conclusion Java Beans is an open Java component model Beans are genuinely platform portable They integrate into platform component model Java Beans will allow you to write portable Java components with first-class platform integration!