1 / 16

JavaBeans

JavaBeans. Jiang Shu, Murali Krishnan (Day 1) Alex Verstak, Umer Farooq (Day 2). What is JavaBean. JavaBeans is a portable, platform-independent component model written in the Java programming language, developed in collaboration with industry leaders.

gryta
Download Presentation

JavaBeans

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. JavaBeans Jiang Shu, Murali Krishnan (Day 1) Alex Verstak, Umer Farooq (Day 2)

  2. What is JavaBean • JavaBeans is a portable, platform-independent component model written in the Java programming language, developed in collaboration with industry leaders. • The JavaBeans architecture brings the component development model to Java CS6704, Spring 2002

  3. Component Model • Components are self-contained elements of software that can be controlled dynamically and assembled to form applications. • Software component (following a set of rules and guidelines; properties, events, persistence) • Builder tool • Visual manipulation CS6704, Spring 2002

  4. What is a Bean • A Java Bean is a reusable software component that can be manipulated visually in a builder tool. • Simple / Complex • Visible or Invisible CS6704, Spring 2002

  5. Bean Features • Typical unifying features that distinguish a Bean are: • Properties: enable developers to customize and program with Beans • Persistence: enables developers to customize Beans in an app builder, and then retrieve those Beans, with customized features intact, for future use • Events: enables Beans to communicate and connect together • Introspection: enables a builder tool to analyze how a Bean works • Customization: enables a developer to use an app builder tool to customize the appearance and behavior of a Bean CS6704, Spring 2002

  6. BeanBox CS6704, Spring 2002

  7. Common Questions • Applet vs. JavaBeans • Java Foundation Class vs. JavaBeans • JDK1.1 is needed CS6704, Spring 2002

  8. Common Questions (2) • What is Enterprise JavaBean • Enterprise JavaBeans is an API specification for building scalable, distributed, component-based, multi-tier applications. • It leverages and extends the JavaBeans component model to provide a rich object-oriented transactional environment for developers building enterprise applications. CS6704, Spring 2002

  9. Common Questions (3) • What is InfoBus • The InfoBus is a compact Java API which allows cooperating Beans (also applets), on a Web page or in any other Java application, to communicate data to one another • Beans to be categorized as "data providers" and "data consumers". • The InfoBus specification extends JavaBeans by providing a set of enhanced interfaces to share and exchange dynamic data. • BeanConnect? CS6704, Spring 2002

  10. Common Questions (4) • Bridges to ActiveX • Migration Assistant developed by IBM and Taligent • GUI interface • Properties, Events, Methods • Copy implementation code • Currently adding “round-trip” ability CS6704, Spring 2002

  11. Common Questions (5) • What is Glasgow • To create more sophisticated JavaBeans components and applications • The Extensible Runtime Containment and Services Protocol • The Drag and Drop Subsystem • The JavaBeans Activation Framework (JAF) • Edinburgh CS6704, Spring 2002

  12. More Info • JavaBeans Components by Category (also called “Directory”) http://industry.java.sun.com/solutions/1,2346,beans,00.html …. Electronic Commerce (44) Electronic Publishing (25) Entertainment (6) Financial Services (23) Health Care (8) …. CS6704, Spring 2002

  13. More Info (2) • JavaBeans 1.01 Specification ftp://ftp.javasoft.com/docs/beans/beans.101.pdf • JavaBeans API http://java.sun.com/j2se/1.3/docs/api/java/beans/package-summary.html CS6704, Spring 2002

  14. More Info (3) • Tutorial by Andy Quinn • Complete & Comprehensive http://java.sun.com/docs/books/tutorial/javabeans/ • Short Ones A. JavaBeans Part I, Part II and Part III by Greg Voss http://java.sun.com/products/javabeans/training.html B. Java Beans 101 Tutorial Part I, Part II and Part III by Beth Stearns http://developer.java.sun.com/developer/onlineTraining/index.html CS6704, Spring 2002

  15. More Info (4) • Articles and Books http://java.sun.com/products/javabeans/docs/ • News Group news:comp.lang.java.beans • Mailing List send mail to listserv@javasoft.com In the body of the message, type: SUBSCRIBE BEANS-INFO CS6704, Spring 2002

  16. Reference • Robert Englander, “Developing Java Beans”, O’Reilly, 1997 • JavaBeans Official Site http://java.sun.com/products/javabeans/ • JavaBeans 1.01 specification ftp://ftp.javasoft.com/docs/beans/beans.101.pdf CS6704, Spring 2002

More Related