SlideShare a Scribd company logo
Universal Beans
Java and DB2
Matthew Perrins
B23
Contents
 Introduction
 Crossware
 Java
 Java Beans
 Tools
 Summary
 Demos
What is a UI for the Web
 Web Started as a mechanism to share
information
Through common protocols and standards
These standards matured to allow HTML to be defined
HTML allows the layout of visual items using a TAG based
syntax
Page design soon became an issue
 Early HTML browsers were primitive
causing content to be the main focus not design
Where are we today
 Navigator and Internet Explorer support
Java 1.1 Support
HTML 4.0
JavaScript 1.2
 Delivering cross platform support on all major GUI
platforms
Windows,MAC,OS/2,UNIX Motif
 Allowing Internet and Intranet Application development
 Still problems with complexity of Design and Development
So how can we improve what we have today
Dynamic HTML
Java 1.1
Beans Components
JavaScript
Objects
View
By Introducing CrossWare
 Presentation
 Programming
 Scripting
Three Major
Components
CrossWare User Interface Design
 Internet and Intranet Design
Sites moving more towards an application design
Content now becomes separated from Navigation
Objects can be reused creating consistency
Sites move towards navigational views bringing content to users
Visual aspects of design can be improved without need for Java
 Start Using to the Components Correctly
Leverage Internet components to simplify development
Use JavaScript to improve usability of site through easy navigation
Use Beans to deploy effect reuse, a single component can be reused
across applications
IBM Webtop Demo...
Dynamic HTML
 Key Components for Dynamic HTML
4.0 Specification
CSS 1 & CSS P
Dynamic Fonts
New Object Model
 Presentation Language
Pixel perfect positioning
Movable objects more user interaction
Move towards application design not page design
Dynamic HTML
Java 1.1
Java 1.1
 Key Components
Beans Support
JDBC
Lightweight Component Model
–Consistent GUI across platforms
 Programming allows:
Complex visual objects to be used
Supports communication with other data formats
–Including InfoBus Technology from Lotus
Java Script
 Scripting Language
Can access Cascading Style Sheet Objects
Manipulation all objects including Beans through Bean
Connect
Visual Function can be contained in Java Script Objects
allowing for reuse across applications
–Tray, ContentView, Menu , Ticker
With Dynamic HTML and JavaScript.
–Improved design can be achieved without complex
programming
The glue to hold it all together
 IBM and Java
 Why Java Beans?
 What are Java Beans?
 Demo - connecting beans
 JDBC Beans
 Demo - connecting beans to data
Introduction to Beans & DB2
 IBM's world-wide Java
Technology Centre
 Java source code guardians
for IBM
 Porting Centre
 Technology advocates
IBM's Java Efforts
 Java - The bytecode binary standard for
programs on networks
Compiles to standard 'bytecode binaries'
Runs anywhere without recompilation
Industry-wide endorsement & support
100% Pure Java ensures reusability & portability
 The IBM View
Put Java on all IBM platforms (OS/2, AIX, OS/400, MVS)
Connect Java to everything (CICS, MQ, DB2, SNA)
Get everyone to use Java!
Java
 CICS Transactions
Available now - CICS Gateway for Java
Pure Java, runs anywhere
 MQ Messaging
Under development
Joint activity with Sun
 DB2 Databases
Access via JDBC
 AS/400 Resources
AS/400 Access Toolkit
 SNA Networks
APPC access
Access to Everything
 A flexible, open, component model
 Provides a packaging unit for third party
vendors
 Easy to learn and use
 Cross-platform, cross tier
 A lightweight alternative to ActiveX
 Provides a bridge to ActiveX
 Provides a migration path from ActiveX
Why Java Beans?
A Java class that follows a design pattern
defined by the Java Beans Specification.
The design pattern allows other programs,
most commonly Visual Builders, to
understand bean capabilities and so connect
beans together.
Bean capabilities may be inferred, or explicitly
defined.
What is a Java Bean?
A Visual Builder for Java Beans uses existing
Java Beans to create:
 New Java Beans
 Java Applets
 Java Applications
 or simply to test Beans under development
Examples:
 Visual Age for Java
 Lotus BeanMachine
 WebRunner
What is a Visual Builder?
 Persistence
 Properties
 Events
 Customisation
 Packaging
 Invisible Beans
 ...
Java Bean Features Overview
 Uses Java serialisation support
 In many cases automatic
– May be hand-crafted
 State may be stored within container
 Used by Visual Builders
Persistence
 Define the state of a bean
 May be primitive data types such as boolean,
int, char...
 ...or complex objects
– May be read/write, read only, write only
 Accessed via methods
 May be simple or indexed
 May be bound and/or constrained
Properties
 Describe significant things that happen
 Are broadcast to listeners
 May be selectively listened to
Events
 A bean may have Customizers
 Bean properties may have Editors
Supplied as standard by the JDK
 Provided by the bean author
 A visible bean may have a run time user interface
for customisation
Customisation
 Bean class(es) and dependant classes and/or
resources packaged in a (compressed) JAR file
 Contents of a JAR file described by a manifest
Identifies bean classes
Identifies dependencies
Identifies design time only classes
 Resources may include
Saved bean states
HTML help files
Locale dependant information
Images
...
Packaging
Time for a demo
Connecting Beans
Objectives
 Easy access to data via JDBC
 Maximum flexibility in subsetting query results
 Maximum flexibility in connecting data to visual beans
 A demonstration vehicle for this Conference
"Universal Data Adapters for the Universal Database"
Not covered
 Create, Insert, Update and Delete
JDBC Beans
Query bean encapsulates:
 Database driver
 Server name/address
 Database name
 Userid/password
 SQL Query
 Result set limiter
execute() method performs
 Database connection
 Query submission
 Result set retrieval and data extraction
 Disconnection
Query
Selectors provide:
 A hook into a defined subset of Query result set
 Subset may be customised at design time, or modified
at run time
 Flexible data coercion to maximise connectivity to other
beans
 Four flavours of selector to suit different views on data:
Cell, Column, Row, CellRange
Multiple selectors may be used to map result set data to
multiple beans
Selectors
CellSelector provides:
 Access to a single cell, defined by
column name or number, and row
number
Forename Surname Bonus
Matt Perrins 5,000
Andy Smith 5,000
Lou Gerstner 5,000,000
 Cell defined by column name or number, and row
number
 Cell definition may be set at design time, and modified at
run time
 Column/row indexing may be one based or zero based
 Cell value accessible as a bound property, the type of
which may be specified to suit target bean
CellSelector
ColumnSelector provides:
 Access to subset of a single column,
defined by column name or number,
and row number
Forename Surname Bonus
Matt Perrins 5,000
Andy Smith 5,000
Lou Gerstner 5,000,000
 Column identification the same as with DbCellSelector
 Column data may optionally include column label
 Column values accessible as bound property, the type
of which may be specified to suit target bean
 Property may be a one dimensional array, or a Vector
ColumnSelector
RowSelector provides:
 Access to subset of a single row,
defined by start column number, end
column number, and row number
Forename Surname Bonus
Matt Perrins 5,000
Andy Smith 5,000
Lou Gerstner 5,000,000
 Row values accessible as bound property, the type of
which may be specified to suit target bean
 Property may be a one dimensional array, or a Vector
 Values may retain their "native" type when delivered as
a Vector
RowSelector
CellRangeSelector provides:
 Access to subset of a columns and
rows, defined by start column number,
end column number, start row number,
and end row number
Forename Surname Bonus
Matt Perrins 5,000
Andy Smith 5,000
Lou Gerstner 5,000,000
 Range values accessible as bound property, the type of whi
may be specified to suit target bean
 Property may be a two dimensional array, or a Vector of
Vectors
 Values may retain their "native" type when delivered as a
Vector of Vectors
CellRangeSelector
Image is an example of a visual bean that can present
BLOB (Binary Large OBject) data retrieved from a
database, provided it is in GIF or JPEG format.
Image
Time for
another
demo
Connecting JDBC Beans
Tools
 HTML for Presentation
Net Objects Fusion
FrontPage
 Java for Beans
Visual Age Java
Symantec Cafe
Lotus Bean Machine
Visual Age Webrunner
 JavaScript for Glue
Visual JavaScript
Use the Correct Tools to get the Job done right !
Summary
What We Had
C started without and tools and no GUI
Grew into C++ with proprietary class libraries
moved into Visual Basic and still locked to the Windows
platform
15 years of PC development history
The Internet standards are delivering its solutions
in period of 3 years
This has resulted in ....
Summary
Improvements on existing standards allowing for greater UI
flexibility
Improves usability of Sites Design
Leverage the Internet Components to simplify development
HTML,JavaBeans and JavaScript
Opportunity for real ReUse
Platform Independent Solutions
more information...
 IBM activities with Java and Java Beans - http://www.ibm.com/java/
 alphaWorks - http://www.alphaworks.ibm.com/
 NetObjects BeanBuilder - http://www.netobjects.com/
 WebRunner - http://www.software.ibm.com/ad/webrunner/
 DB2 UDB - http://www.software.ibm.com/data/db2/
 Sun Java Beans site - http://java.sun.com/beans/ or
drill down from http://java.sun.com/
 NetObjects Fusion - http://www.netobjects.com/
Useful references
eMail
matthew_perrins@uk.ibm.com

More Related Content

PPT
7) packaging and deployment
techbed
 
PPT
Java J2EE
Sandeep Rawat
 
PPT
3) web development
techbed
 
PDF
Unit 02: Web Technologies (1/2)
DSBW 2011/2002 - Carles Farré - Barcelona Tech
 
PPTX
Chapter2 j2ee
Jafar Nesargi
 
DOCX
Unit 1st and 3rd notes of java
Niraj Bharambe
 
PPTX
J2ee seminar
Sahil Kukreja
 
PPTX
Java EE EJB Applications
DevelopIntelligence
 
7) packaging and deployment
techbed
 
Java J2EE
Sandeep Rawat
 
3) web development
techbed
 
Unit 02: Web Technologies (1/2)
DSBW 2011/2002 - Carles Farré - Barcelona Tech
 
Chapter2 j2ee
Jafar Nesargi
 
Unit 1st and 3rd notes of java
Niraj Bharambe
 
J2ee seminar
Sahil Kukreja
 
Java EE EJB Applications
DevelopIntelligence
 

What's hot (20)

PPT
J2ee
Prince Soni
 
PPT
Branding & Internationalization with the NetBeans Platform
Toni Epple
 
PDF
Lab 5a) create a struts application
techbed
 
PPTX
J2ee architecture
Erencan Özkan
 
PPSX
Entity beans in java
Acp Jamod
 
PPTX
Introduction to EJB
Return on Intelligence
 
PDF
Summer training java
Arshit Rai
 
PPT
Summer training java
Arshit Rai
 
DOCX
Ecom lec3 16_ej_bs
Zainab Khallouf
 
PPT
JEE Course - JEE Overview
odedns
 
PPT
Architecture of eSobi club based on J2EE
Allan Huang
 
PPSX
Intorduction to struts
Anup72
 
PPT
Distributed Programming using RMI
backdoor
 
PPT
JEE Course - EJB
odedns
 
PPT
J2EE and Servlet
Rishikesh .
 
PDF
J2EE day 1
Biswabrata Banerjee
 
PPT
Introduction to java ee
Ranjan Kumar
 
PDF
Free EJB Tutorial | VirtualNuggets
Virtual Nuggets
 
PPTX
EJB 2
Khushboo Shaukat
 
Branding & Internationalization with the NetBeans Platform
Toni Epple
 
Lab 5a) create a struts application
techbed
 
J2ee architecture
Erencan Özkan
 
Entity beans in java
Acp Jamod
 
Introduction to EJB
Return on Intelligence
 
Summer training java
Arshit Rai
 
Summer training java
Arshit Rai
 
Ecom lec3 16_ej_bs
Zainab Khallouf
 
JEE Course - JEE Overview
odedns
 
Architecture of eSobi club based on J2EE
Allan Huang
 
Intorduction to struts
Anup72
 
Distributed Programming using RMI
backdoor
 
JEE Course - EJB
odedns
 
J2EE and Servlet
Rishikesh .
 
Introduction to java ee
Ranjan Kumar
 
Free EJB Tutorial | VirtualNuggets
Virtual Nuggets
 
Ad

Similar to Universal Java Beans with DB2 from 1999, early Internet work (20)

PPTX
Unit4wt
vamsi krishna
 
PPTX
Unit4wt
vamsitricks
 
PPTX
JAVA_BEAN.pptx
koodalcsc
 
PPT
web programmimg- concpt in JAVABEANS.ppt
mcjaya2024
 
PPTX
P20CSP105-AdvJavaProg.pptx
DrTCVijayaraghavan
 
PDF
WEB PROGRAMMING UNIT IV NOTES BY BHAVSINGH MALOTH
Bhavsingh Maloth
 
PPT
Java2 platform
Sajan Sahu
 
PPT
Virtual classroom
Krishna Chaithanya
 
PPT
Sunstate
Mohammed625
 
PPT
SunMicroSystems
Khasim Cise
 
PPS
Dacj 4 2-a
Niit Care
 
PPTX
Codename BEAN.pptx
MusicArena1
 
PPTX
Rmi, corba and java beans
Raghu nath
 
DOC
City search documentation
Rajesh Varanasi
 
PDF
Technologies Skills
Deepak Raj
 
PDF
Technologies Skills
S LMS
 
DOCX
Jason_Tiscione
Jason Tiscione
 
PPT
CommercialSystemsBahman.ppt
KalsoomTahir2
 
PPT
Automated rock testing tracker
Mir Mustafa Ali
 
RTF
Synopsis on online shopping by sudeep singh
Sudeep Singh
 
Unit4wt
vamsi krishna
 
Unit4wt
vamsitricks
 
JAVA_BEAN.pptx
koodalcsc
 
web programmimg- concpt in JAVABEANS.ppt
mcjaya2024
 
P20CSP105-AdvJavaProg.pptx
DrTCVijayaraghavan
 
WEB PROGRAMMING UNIT IV NOTES BY BHAVSINGH MALOTH
Bhavsingh Maloth
 
Java2 platform
Sajan Sahu
 
Virtual classroom
Krishna Chaithanya
 
Sunstate
Mohammed625
 
SunMicroSystems
Khasim Cise
 
Dacj 4 2-a
Niit Care
 
Codename BEAN.pptx
MusicArena1
 
Rmi, corba and java beans
Raghu nath
 
City search documentation
Rajesh Varanasi
 
Technologies Skills
Deepak Raj
 
Technologies Skills
S LMS
 
Jason_Tiscione
Jason Tiscione
 
CommercialSystemsBahman.ppt
KalsoomTahir2
 
Automated rock testing tracker
Mir Mustafa Ali
 
Synopsis on online shopping by sudeep singh
Sudeep Singh
 
Ad

Recently uploaded (20)

PDF
Brief History of Internet - Early Days of Internet
sutharharshit158
 
PDF
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
PDF
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
PDF
Doc9.....................................
SofiaCollazos
 
PDF
AI-Cloud-Business-Management-Platforms-The-Key-to-Efficiency-Growth.pdf
Artjoker Software Development Company
 
PDF
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
PPTX
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
PDF
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
PDF
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
PDF
The Future of Artificial Intelligence (AI)
Mukul
 
PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
PDF
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
PPTX
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
PDF
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
PDF
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
PPTX
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
PDF
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
PDF
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
PDF
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
Brief History of Internet - Early Days of Internet
sutharharshit158
 
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
Doc9.....................................
SofiaCollazos
 
AI-Cloud-Business-Management-Platforms-The-Key-to-Efficiency-Growth.pdf
Artjoker Software Development Company
 
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
The Future of Artificial Intelligence (AI)
Mukul
 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 

Universal Java Beans with DB2 from 1999, early Internet work

  • 1. Universal Beans Java and DB2 Matthew Perrins B23
  • 2. Contents  Introduction  Crossware  Java  Java Beans  Tools  Summary  Demos
  • 3. What is a UI for the Web  Web Started as a mechanism to share information Through common protocols and standards These standards matured to allow HTML to be defined HTML allows the layout of visual items using a TAG based syntax Page design soon became an issue  Early HTML browsers were primitive causing content to be the main focus not design
  • 4. Where are we today  Navigator and Internet Explorer support Java 1.1 Support HTML 4.0 JavaScript 1.2  Delivering cross platform support on all major GUI platforms Windows,MAC,OS/2,UNIX Motif  Allowing Internet and Intranet Application development  Still problems with complexity of Design and Development So how can we improve what we have today
  • 5. Dynamic HTML Java 1.1 Beans Components JavaScript Objects View By Introducing CrossWare  Presentation  Programming  Scripting Three Major Components
  • 6. CrossWare User Interface Design  Internet and Intranet Design Sites moving more towards an application design Content now becomes separated from Navigation Objects can be reused creating consistency Sites move towards navigational views bringing content to users Visual aspects of design can be improved without need for Java  Start Using to the Components Correctly Leverage Internet components to simplify development Use JavaScript to improve usability of site through easy navigation Use Beans to deploy effect reuse, a single component can be reused across applications
  • 8. Dynamic HTML  Key Components for Dynamic HTML 4.0 Specification CSS 1 & CSS P Dynamic Fonts New Object Model  Presentation Language Pixel perfect positioning Movable objects more user interaction Move towards application design not page design Dynamic HTML
  • 9. Java 1.1 Java 1.1  Key Components Beans Support JDBC Lightweight Component Model –Consistent GUI across platforms  Programming allows: Complex visual objects to be used Supports communication with other data formats –Including InfoBus Technology from Lotus
  • 10. Java Script  Scripting Language Can access Cascading Style Sheet Objects Manipulation all objects including Beans through Bean Connect Visual Function can be contained in Java Script Objects allowing for reuse across applications –Tray, ContentView, Menu , Ticker With Dynamic HTML and JavaScript. –Improved design can be achieved without complex programming The glue to hold it all together
  • 11.  IBM and Java  Why Java Beans?  What are Java Beans?  Demo - connecting beans  JDBC Beans  Demo - connecting beans to data Introduction to Beans & DB2
  • 12.  IBM's world-wide Java Technology Centre  Java source code guardians for IBM  Porting Centre  Technology advocates IBM's Java Efforts
  • 13.  Java - The bytecode binary standard for programs on networks Compiles to standard 'bytecode binaries' Runs anywhere without recompilation Industry-wide endorsement & support 100% Pure Java ensures reusability & portability  The IBM View Put Java on all IBM platforms (OS/2, AIX, OS/400, MVS) Connect Java to everything (CICS, MQ, DB2, SNA) Get everyone to use Java! Java
  • 14.  CICS Transactions Available now - CICS Gateway for Java Pure Java, runs anywhere  MQ Messaging Under development Joint activity with Sun  DB2 Databases Access via JDBC  AS/400 Resources AS/400 Access Toolkit  SNA Networks APPC access Access to Everything
  • 15.  A flexible, open, component model  Provides a packaging unit for third party vendors  Easy to learn and use  Cross-platform, cross tier  A lightweight alternative to ActiveX  Provides a bridge to ActiveX  Provides a migration path from ActiveX Why Java Beans?
  • 16. A Java class that follows a design pattern defined by the Java Beans Specification. The design pattern allows other programs, most commonly Visual Builders, to understand bean capabilities and so connect beans together. Bean capabilities may be inferred, or explicitly defined. What is a Java Bean?
  • 17. A Visual Builder for Java Beans uses existing Java Beans to create:  New Java Beans  Java Applets  Java Applications  or simply to test Beans under development Examples:  Visual Age for Java  Lotus BeanMachine  WebRunner What is a Visual Builder?
  • 18.  Persistence  Properties  Events  Customisation  Packaging  Invisible Beans  ... Java Bean Features Overview
  • 19.  Uses Java serialisation support  In many cases automatic – May be hand-crafted  State may be stored within container  Used by Visual Builders Persistence
  • 20.  Define the state of a bean  May be primitive data types such as boolean, int, char...  ...or complex objects – May be read/write, read only, write only  Accessed via methods  May be simple or indexed  May be bound and/or constrained Properties
  • 21.  Describe significant things that happen  Are broadcast to listeners  May be selectively listened to Events
  • 22.  A bean may have Customizers  Bean properties may have Editors Supplied as standard by the JDK  Provided by the bean author  A visible bean may have a run time user interface for customisation Customisation
  • 23.  Bean class(es) and dependant classes and/or resources packaged in a (compressed) JAR file  Contents of a JAR file described by a manifest Identifies bean classes Identifies dependencies Identifies design time only classes  Resources may include Saved bean states HTML help files Locale dependant information Images ... Packaging
  • 24. Time for a demo Connecting Beans
  • 25. Objectives  Easy access to data via JDBC  Maximum flexibility in subsetting query results  Maximum flexibility in connecting data to visual beans  A demonstration vehicle for this Conference "Universal Data Adapters for the Universal Database" Not covered  Create, Insert, Update and Delete JDBC Beans
  • 26. Query bean encapsulates:  Database driver  Server name/address  Database name  Userid/password  SQL Query  Result set limiter execute() method performs  Database connection  Query submission  Result set retrieval and data extraction  Disconnection Query
  • 27. Selectors provide:  A hook into a defined subset of Query result set  Subset may be customised at design time, or modified at run time  Flexible data coercion to maximise connectivity to other beans  Four flavours of selector to suit different views on data: Cell, Column, Row, CellRange Multiple selectors may be used to map result set data to multiple beans Selectors
  • 28. CellSelector provides:  Access to a single cell, defined by column name or number, and row number Forename Surname Bonus Matt Perrins 5,000 Andy Smith 5,000 Lou Gerstner 5,000,000  Cell defined by column name or number, and row number  Cell definition may be set at design time, and modified at run time  Column/row indexing may be one based or zero based  Cell value accessible as a bound property, the type of which may be specified to suit target bean CellSelector
  • 29. ColumnSelector provides:  Access to subset of a single column, defined by column name or number, and row number Forename Surname Bonus Matt Perrins 5,000 Andy Smith 5,000 Lou Gerstner 5,000,000  Column identification the same as with DbCellSelector  Column data may optionally include column label  Column values accessible as bound property, the type of which may be specified to suit target bean  Property may be a one dimensional array, or a Vector ColumnSelector
  • 30. RowSelector provides:  Access to subset of a single row, defined by start column number, end column number, and row number Forename Surname Bonus Matt Perrins 5,000 Andy Smith 5,000 Lou Gerstner 5,000,000  Row values accessible as bound property, the type of which may be specified to suit target bean  Property may be a one dimensional array, or a Vector  Values may retain their "native" type when delivered as a Vector RowSelector
  • 31. CellRangeSelector provides:  Access to subset of a columns and rows, defined by start column number, end column number, start row number, and end row number Forename Surname Bonus Matt Perrins 5,000 Andy Smith 5,000 Lou Gerstner 5,000,000  Range values accessible as bound property, the type of whi may be specified to suit target bean  Property may be a two dimensional array, or a Vector of Vectors  Values may retain their "native" type when delivered as a Vector of Vectors CellRangeSelector
  • 32. Image is an example of a visual bean that can present BLOB (Binary Large OBject) data retrieved from a database, provided it is in GIF or JPEG format. Image
  • 34. Tools  HTML for Presentation Net Objects Fusion FrontPage  Java for Beans Visual Age Java Symantec Cafe Lotus Bean Machine Visual Age Webrunner  JavaScript for Glue Visual JavaScript Use the Correct Tools to get the Job done right !
  • 35. Summary What We Had C started without and tools and no GUI Grew into C++ with proprietary class libraries moved into Visual Basic and still locked to the Windows platform 15 years of PC development history The Internet standards are delivering its solutions in period of 3 years This has resulted in ....
  • 36. Summary Improvements on existing standards allowing for greater UI flexibility Improves usability of Sites Design Leverage the Internet Components to simplify development HTML,JavaBeans and JavaScript Opportunity for real ReUse Platform Independent Solutions more information...
  • 37.  IBM activities with Java and Java Beans - http://www.ibm.com/java/  alphaWorks - http://www.alphaworks.ibm.com/  NetObjects BeanBuilder - http://www.netobjects.com/  WebRunner - http://www.software.ibm.com/ad/webrunner/  DB2 UDB - http://www.software.ibm.com/data/db2/  Sun Java Beans site - http://java.sun.com/beans/ or drill down from http://java.sun.com/  NetObjects Fusion - http://www.netobjects.com/ Useful references eMail [email protected]