DOC PREVIEW
UConn CSE 298/300 - Java Beans and Enterprise Java Beans

This preview shows page 1-2-3-4-5-35-36-37-38-39-70-71-72-73-74 out of 74 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 74 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 74 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 74 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 74 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 74 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 74 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 74 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 74 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 74 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 74 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 74 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 74 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 74 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 74 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 74 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 74 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Java Beans and Enterprise Java BeansChanging PerspectivesComponentsOverviewJava BeansSlide 6Java Beans FundamentalsArchitecture: EventsArchitecture: PropertiesArchitecture: MethodsAbilitiyFive Defining FeaturesSlide 13Differences Between Beans and ClassesIntrospection ToolsBean vs. ClassEvent ModelJava 1.1 Delegation Event ModelExample: Event for Employee’s Hire DateEventListenerSlide 21EventSourceEventSource: MethodsEventSource: Hiring ExampleWhat is Enterprise Java Beans ?Designer and Developer Roles in Enterprise Java Beans (EJB)EJB Roles & DeploymentUtilizing EJB TechnologyThe EJB ArchitectureRecall CORBAEJB ContainerEnterprise Java APIsEnterprise Java Beans Session BeansEnterprise Java Beans Entity BeansModel for Persistence Passivation/ActivationStateless vs. Stateful Session BeansPersistent Session BeansEntity Bean PersistenceWriting an EJB ClientWriting a Session BeanSession Bean ExampleWriting an Entity BeanEntity Bean ExampleDeploying EJBsWho’s Announced EJB Support?Typical Development and Deployment ScenarioEJB Component-Based ArchitectureClient-Server Component ModelClient-Server Component RelationshipClient-Server Component Relationship (Concluded)EJB Server ExampleEJB Server Example (continued)EJB Server Example (Concluded)Three-Tier Architecture ConceptTwo-Tier, Three-Tier, Four-Tier Example ArchitecturesWombat SecuritiesFour-Tier Architecture ExampleInitialization CodeUser Interface CodeBusiness Logic CodeDatabase Access CodeNocturnal Aviation, Inc.Three-Tier ExampleSanta Cruz WidgetsSanta Cruz Widgets (2-tier)Architecture ComparisonsFurther API ComparisonsSummary & Key MessagesEJB RoadmapWhat Is the Java Blend Product?JavaBlend ApplicationsJava Blend ComponentsJava Blend Runtime ArchitectureJava Blend Software and Enterprise JavaBeans TechnologyCSE298 CSE300JR&B-1.1Java Beans andJava Beans andEnterprise Java BeansEnterprise Java BeansPaul C. BarrThe Mitre CorporationEatontown [email protected] Cheron,Prof. Steven A. Demurjian,and Mitch SabaComputer Science & Engr. [email protected]://www.engr.uconn.edu/~steve(860) 486 - 4818CSE298 CSE300JR&B-1.2Changing PerspectivesChanging PerspectivesComputers are Guilty of Creating More Disorder Computers are Guilty of Creating More Disorder then Simplicitythen SimplicityCurrent Software Systems are RelicsCurrent Software Systems are RelicsBuilt Largely By and For Technical Computer UsersNever Intended to Operate in Today’s EnvironmentDesigner’s Need to Break Out of Old MoldDesigner’s Need to Break Out of Old MoldConsider Total Design SpaceDesign Should Help Manage Complexity, Not Add to ItWhat is Available to Assist in Changing Times?What is Available to Assist in Changing Times?CSE298 CSE300JR&B-1.3ComponentsComponentsReusable Software Building BlocksReusable Software Building BlocksPre-Constructed from Encapsulated Application Pre-Constructed from Encapsulated Application CodeCodeEasily Combined with Other ComponentsSeamlessly Merged with Custom CodeRapid Prototyping of Complete ApplicaitonWhat is a Component?What is a Component?GUI Widget (Button, Window, etc.)Combination of Components (Window with Elevator Bars and Pull-Down Menus)Application Service (Account Management Function)CSE298 CSE300JR&B-1.4OverviewOverviewA First Look at Java BeansA First Look at Java BeansWhat are They?How are They Utilized?Enterprise Java BeansEnterprise Java BeansNot Just for Clients Anymore!Capabilities and UsageRelationship to “New” and “Old” TechnologiesComponent-Based Client/Server ModelMulti-Tiered Architecture and EJBMulti-Tiered Architecture and EJBTiered Development for ExtensibilityComparisons of ApproachesJava Blend for Database InteroperabilityJava Blend for Database InteroperabilityCSE298 CSE300JR&B-1.5Java BeansJava BeansExtends "Write Once, Run Anywhere (WORA)Extends "Write Once, Run Anywhere (WORA)TMTM" " to Include "Reuse Everywhere”to Include "Reuse Everywhere”What is a Bean?What is a Bean?Independent Reusable Software Component Visually Manipulated in Builder ToolsCan Be Visible Object: AWT Componentsor Invisible Objects: Queues and Stacksor Composed Objects: Calculator Ops + Keys + DisplayCSE298 CSE300JR&B-1.6Java BeansJava BeansBean vs. ComponentBean vs. ComponentSource Code InaccessibleCustomizable to Suit Application Needs via External PropertiesPowerful Means of ReuseExamplesExamplesGUI Button with Property to Allow Button Name to be SetAccount Management Component that Allows Account Database Location to be SetProperties Can be Very Complex and Offer Properties Can be Very Complex and Offer Significant Power to Application BuildersSignificant Power to Application BuildersCSE298 CSE300JR&B-1.7Java Beans FundamentalsJava Beans FundamentalsSupported within IDEsSupported within IDEsVisual Age, JBuilder, PowerJ, Visual Café Construct JavaBeans Component as Specialized Java Classes with Enhanced CapabilitiesThree-Part ArchitectureThree-Part ArchitectureEventsNotifies Others When Something Has OccurredDelegation-Event Model of AWTPropertiesDefine the Characteristics of the BeanMethods Utilized to Define a PropertyCSE298 CSE300JR&B-1.8Architecture: EventsArchitecture: EventsEventsEventsNotifies Others When Something Has OccurredDelegation-Event Model of AWTEvent ElementsEvent ElementsEventobjectsComponents Sends to ListenerEventlistenersIn Order to Register an Eventlistener With a Component, the Component Must Understand the Event SetEvent SourcesWe’ll Discuss Shortly and Revisit in Detail with Java We’ll Discuss Shortly and Revisit in Detail with Java RMIRMICSE298 CSE300JR&B-1.9Architecture: PropertiesArchitecture: PropertiesExample: AWT TextfieldExample: AWT TextfieldUser Will See Properties for the Caret Position, Current Text, and the Echo Character, etc.Methods Used to Define a PropertyMethods Used to Define a Propertypublic void setPropertyName(PropertyType value);public PropertyType getPropertyName();The Name of the Property is Propertyname The Datatype is PropertytypeOnly One Method Present the Property is Read-Only (Set Missing) Or the Property is Write-only (Get Missing)CSE298 CSE300JR&B-1.10Architecture: MethodsArchitecture: MethodsMethodsMethodsPublicAvailable for Anyone to Call Beaninfo and Getmethoddescriptors


View Full Document

UConn CSE 298/300 - Java Beans and Enterprise Java Beans

Documents in this Course
Java Tool

Java Tool

58 pages

Load more
Download Java Beans and Enterprise Java Beans
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Java Beans and Enterprise Java Beans and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Java Beans and Enterprise Java Beans 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?