{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Lecture 18 Introduction to Components

Applying UML and Patterns: An Introduction to Object-Oriented Analysis and Design and Iterative Development (3rd Edition)

Info icon This preview shows pages 1–8. Sign up to view the full content.

View Full Document Right Arrow Icon
Copyright W. Howden 1 Lecture 19: Intro to O/O Components
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Copyright W. Howden 2 O/O Components A computational unit that exposes a well defined, contractual interface – constructed from a set of one or more classes Sample components – Applets, Servlets, Java Beans, Enterprise Java Beans
Image of page 2
Copyright W. Howden 3 O/O World Dream Goal: objects everywhere To get something done, send a message to the appropriate kind of object • Problems – how to find objects, how to communicate – sharing, persistency, load balancing, transactions
Image of page 3

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Copyright W. Howden 4 Distributed O/O Objects – Simple Early Models RMI (Java), Corba, Com • RMI – register remote objects with a public name – create stub and skeleton proxies that are network savvy Limited facilities for persistency, sharing, transactions, remote creation
Image of page 4
Copyright W. Howden 5 Bean Components Java Beans – “ A reusable software component based on the JB’s specification that can be manipulated visually in a builder tool.” Enterprise Java Beans – “A set of contracts between the component developer and the system that hosts the component.”
Image of page 5

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Copyright W. Howden 6 Additional Component Aspects • Deployable – loaded into a container in which they can run – linked together to build a system Runs in a “container” that supplies services need for running and managing the components Distributable, with remote invocation via a specified interface
Image of page 6
Copyright W. Howden 7 Servlet Components compiled Java classes with special methods run on a request/response oriented server request (possibly with data) arrives at server servlet is run to generate response that is returned
Image of page 7

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 8
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern