Introduction to Software Components: the JavaBeans specs Babak Esfandiari.

Slides:



Advertisements
Similar presentations
Copyright © 2001 Qusay H. Mahmoud JavaBeans An introduction to component-based development in general Introduction to JavaBeans – Java components – client-side.
Advertisements

Component Oriented Programming 1 Chapter 2 Theory of Components.
JavaBeans: Introspection and Customization Umer Farooq CS6704: Design Patterns & Component FrameworksJanuary 30, 2002.
Java Beans & Serialization CS-328 Dick Steflik. Java Beans Java based component technology –originally developed to provide java with a component technology.
28/1/2001 Seminar in Databases in the Internet Environment Introduction to J ava S erver P ages technology by Naomi Chen.
Introduction to Enterprise JavaBeans. Integrating Software Development Server-side Component Model Distributed Object Architecture –CORBA –DCOM –Java.
JavaBeans introduction Klaus-Peter Heidrich for the University of Karlstad Inst. for Information Technology Dept. of Computer Science.
Java Programming, 3e Concepts and Techniques Chapter 1 An Introduction to Java and Program Design.
By Dr. Jiang B. Liu 12. The Java Beans. Java Beans n JavaBeans is a portable, platform-independent software component model written in Java. It enables.
JavaBeans A component architecture. What is JavaBeans? NC World (New Computing) Dictionary: JavaBeans n. 1. JavaSoft technology. 2. Component object model.
Component Based Systems Analysis Introduction. Why Components? t Development alternatives: –In-house software –Standard packages –Components 60% of the.
JAVA BEANS By Madhuri Kakumanu. What is a Java Bean? “ A Java Bean is a reusable software component that can be visually manipulated in builder tools.”
Think about Lecture 11. When you write code Follow the Java conventions. JavaDocs should also include text written by YOU. Semantic information beside.
ASP.NET Programming with C# and SQL Server First Edition
M.Sc. Course, Dept. of Informatics and Telecommunications, University of Athens S.Hadjiefthymiades “Web Application Servers” Basics on WAS WAS are necessary.
Introducing JavaBeans Lesson 2A / Slide 1 of 30 JDBC and JavaBeans Pre-assessment Questions 1.Which of the given symbols is used as a placeholder for PreparedStatement.
Introducing JavaBeans Identify the features of a JavaBean Create and add a bean to an application Manipulate bean properties using accessor and mutator.
Java Beans.  Java offers software component development through java Beans  Java Beans are based on a software component model for java.  The model.
Java Beans Component Technology Integrated, Visual Development Environments Reusable Platform-Independent Modular.
Object Based Programming. Summary Slide  Instantiating An Object  Encapsulation  Inheritance  Polymorphism –Overriding Methods –Overloading vs. Overriding.
Java Programming, 2E Introductory Concepts and Techniques Chapter 1 An Introduction to Java and Program Design.
Component-Based Software Engineering Introduction to Java Beans Paul Krause and Sotiris Moschoyiannis.
Java Beans.
Chapter 10 Introduction to Components. Process Phases Discussed in This Chapter Requirements Analysis Design Implementation ArchitectureFramework Detailed.
Enterprise Java Beans Part I Kyungmin Cho 2001/04/10.
Enterprise JavaBeans. Lesson 1: Introduction to Server-Side Component Software.
Enterprise JavaBeans. What is EJB? l An EJB is a specialized, non-visual JavaBean that runs on a server. l EJB technology supports application development.
Last update October 18, 2004 Advanced Programming 2004 Java Beans.
JavaBeans Components. To understand JavaBeans…  Proficient experience with the Java language required  Knowledge of classes and interfaces  Object-Oriented.
TM Introduction to JavaBeans™ Dimitrios Psarros Questra Consulting (716) x225.
The SwapBox: a Test Container and a Framework for Hot-swappable JavaBeans Lei Tan Babak Esfandiari Bernard Pagurek Carleton University Ottawa, Ontario,
Chapter 6 Object-Oriented Java Script JavaScript, Third Edition.
Comparing JavaBeans and OSGi Towards an Integration of Two Complementary Component Models HUMBERTO CERVANTES JEAN-MARIE FAVRE 09/02.
Java Programming, 2E Introductory Concepts and Techniques Chapter 1 An Introduction to Java and Program Design.
Java Programming: Advanced Topics 1 JavaBeans Chapter 8.
Java Bean Definition “A Java Bean is a reusable software component that can be manipulated visually in a builder tool.”
Introduction to Java Beans CIS 421 Web-based Java Programming.
Introduction to Java 120 February 2004Sifei HE © 2004 Introduction to Java for CS381, EE4.Web By Sifei HE Department of Computing.
First Bean Compose SimpleBean Demo Simple Bean Discuss Manifest and Jar Add Properties to SimpleBean.
Liang, Introduction to Java Programming, Sixth Edition, (c) 2005 Pearson Education, Inc. All rights reserved Chapter 27 JavaBeans and.
Java Beans. Definitions A reusable software component that can be manipulated visually in a ‘builder tool’. (from JavaBean Specification) The JavaBeans.
Intelligent Agent Framework1 From Chapter 7 of Constructing Intelligent Agents with Java.
Introduction Amdocs’ clients line of work has to collect information from different, separated and independent devices, and each device has a lot of information.
Advanced Java Session 4 New York University School of Continuing and Professional Studies.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
JavaBean Component Java bean is a reusable software component that can be manipulated visually in a builder tool Graphic bean and Non-graphic bean Javabean.
Introduction to Classes, Objects, Methods and Attributes Lecture # 5.
Introduction to Java Beans From Anders Børjesson.
Liang, Introduction to Java Programming, Seventh Edition, (c) 2009 Pearson Education, Inc. All rights reserved Chapter 32 JavaBeans and Bean.
Lorenz: Visitor Beans: An Aspect-Oriented Pattern Aspect-oriented pattern: describes a solution to a tangling problem in a particular context.
Introduction to EJB. What is an EJB ?  An enterprise java bean is a server-side component that encapsulates the business logic of an application. By.
Java Programming: Advanced Topics 1 Enterprise JavaBeans Chapter 14.
Java Beans THETOPPERSWAY.COM. Contents What is a Java Bean? Advantages Properties Bean Developers Kit (BDK) What makes Bean possible? Support for Java.
Chapter 14 Using JavaBeans Components in JSP Documents.
SDJ INFOSOFT PVT. LTD. 2 BROWSERBROWSER JSP JavaBean DB Req Res Application Layer Enterprise server/Data Sources.
How to Leverage Java in Oracle Forms Web Applications Duncan Mills Application Development Tools Oracle Corporation.
Chapter 32 JavaBeans and Bean Events
Structure of a web application
Chapter 36 JavaBeans and Bean Events
Java Beans Sagun Dhakhwa.
Integrating Web Applications with Novell eDirectory™
Introduction to J2EE Architecture
JavaBeans and JSP CS-422.
The Jini Technology: An overview
Reusability 11/29/2018© 2006 ITT Educational Services Inc.
Advanced Java Programming
Component-based Applications
Component-Based Software Engineering
Seminarium on Component-based Software Engineering
Java Programming: Advanced Topics
Presentation transcript:

Introduction to Software Components: the JavaBeans specs Babak Esfandiari

Software Components Component: "Encapsulated software object that provides a certain functionality or service and can be used in conjunction with other components to build applications." one should be able to develop applications by selecting components from a catalog and compose them. the catalogs and the components might reside on remote hosts

Software Components To be reusable, components: – expose a public interface – behave according to explicit specifications – are oblivious to their clients – can be assembled graphically

JavaBeans Java's component model

JavaBeans Concepts “ A Java Bean is a reusable software component that can be manipulated visually in a builder tool” -> JDK1.1 introspection customization events properties persistence

Introspection JavaBeans assembly tools such as the BeanBox are able to discover Bean properties and expose them using introspection – the Java Reflection API is used – Beans must follow a certain number of coding idioms default constructor public methods getters/setters events

Customization once Bean properties are discovered, they can be changed using introspection it is possible to change the way properties are accessed and modified

Events JavaBeans use the Java Event model – EventObject class – EventListeners

Persistence Instantiated JavaBeans' states can be saved and restored using serialization long-term persistence achieved with XML