Consultant Effective Patterns and Practices in J2EE George de la Torre.
-
Upload
ruby-oliver -
Category
Documents
-
view
213 -
download
0
Transcript of Consultant Effective Patterns and Practices in J2EE George de la Torre.
![Page 1: Consultant Effective Patterns and Practices in J2EE George de la Torre.](https://reader035.fdocuments.us/reader035/viewer/2022070415/5697bf741a28abf838c7f7fa/html5/thumbnails/1.jpg)
Consultant
Effective Patterns and Practices in J2EE
George de la Torre
![Page 2: Consultant Effective Patterns and Practices in J2EE George de la Torre.](https://reader035.fdocuments.us/reader035/viewer/2022070415/5697bf741a28abf838c7f7fa/html5/thumbnails/2.jpg)
My Background
Borland Solutions PartnerBeen there, done that!
![Page 3: Consultant Effective Patterns and Practices in J2EE George de la Torre.](https://reader035.fdocuments.us/reader035/viewer/2022070415/5697bf741a28abf838c7f7fa/html5/thumbnails/3.jpg)
The Purpose
A successful software project is one whose deliverables satisfy and possibly exceed the end user’s expectations, was developed in a timely and economical fashion, and is resilient to change and adaptation.
- Grady Booch [1996]
![Page 4: Consultant Effective Patterns and Practices in J2EE George de la Torre.](https://reader035.fdocuments.us/reader035/viewer/2022070415/5697bf741a28abf838c7f7fa/html5/thumbnails/4.jpg)
The Sense
![Page 5: Consultant Effective Patterns and Practices in J2EE George de la Torre.](https://reader035.fdocuments.us/reader035/viewer/2022070415/5697bf741a28abf838c7f7fa/html5/thumbnails/5.jpg)
Before J2EE
Silo #8Silo #6 Silo #11
Silo #10
Silo #9
0..n0..n
Silo #1 11
Silo #2
0..n0..n
Silo #3
Silo #4 Silo #5 Silo #7
Base Class for all Acts
Administered ShotInstance
Shot MethodInstance
IF: Shot ReactionInstance
Associates Entities with Actsand Entities with Entities
Instance
Tracks RoleInstance
Base Classfor all Entities
Medical HomeInstance
Vaccine InformationInstance
Patient, Provider, Nurse and other Persons participating in this event
Instance
Silos Everywhere
![Page 6: Consultant Effective Patterns and Practices in J2EE George de la Torre.](https://reader035.fdocuments.us/reader035/viewer/2022070415/5697bf741a28abf838c7f7fa/html5/thumbnails/6.jpg)
After J2EE
ObservationProcedure Patient_encounter
Act_relationship
Act
0..n
1
0..n
1Participation
0..n
1
0..n
1
Role
0..n
1
0..n
1
Entity
Organization Person Material
Base Class for all Acts
Administered ShotInstance
Shot MethodInstance
IF: Shot ReactionInstance
Associates Entities with Actsand Entities with Entities
Instance
Tracks RoleInstance
Base Classfor all Entities
Medical HomeInstance
Vaccine InformationInstance
Patient, Provider, Nurse and other Persons participating in this event
Instance
Silos Consolidated
![Page 7: Consultant Effective Patterns and Practices in J2EE George de la Torre.](https://reader035.fdocuments.us/reader035/viewer/2022070415/5697bf741a28abf838c7f7fa/html5/thumbnails/7.jpg)
The Agenda
Architecture and Maintenance EJB Practices J2EE Core Patterns Case Study Demo
JBuilderJDataStoreBorland Enterprise Server
![Page 8: Consultant Effective Patterns and Practices in J2EE George de la Torre.](https://reader035.fdocuments.us/reader035/viewer/2022070415/5697bf741a28abf838c7f7fa/html5/thumbnails/8.jpg)
The Presentation
Patterns
Patterns Object Model
Components
Services
Data Model
![Page 9: Consultant Effective Patterns and Practices in J2EE George de la Torre.](https://reader035.fdocuments.us/reader035/viewer/2022070415/5697bf741a28abf838c7f7fa/html5/thumbnails/9.jpg)
The Application
Components
Services
J2EE 1.3J2EE 1.3
Object Model
Data Model
Over 250 Entity Over 250 Entity Beans!Beans!
![Page 10: Consultant Effective Patterns and Practices in J2EE George de la Torre.](https://reader035.fdocuments.us/reader035/viewer/2022070415/5697bf741a28abf838c7f7fa/html5/thumbnails/10.jpg)
The Model
Object Model
Components
Services
Data Model
![Page 11: Consultant Effective Patterns and Practices in J2EE George de la Torre.](https://reader035.fdocuments.us/reader035/viewer/2022070415/5697bf741a28abf838c7f7fa/html5/thumbnails/11.jpg)
The Model
Object ModelingBusiness Objects Legacy Roles
![Page 12: Consultant Effective Patterns and Practices in J2EE George de la Torre.](https://reader035.fdocuments.us/reader035/viewer/2022070415/5697bf741a28abf838c7f7fa/html5/thumbnails/12.jpg)
The Model
Object Modeling
Entity(from Entities)
EntityRole(from EntityRoles)
0..1
0..n
0..1
0..n
plays
0..1
0..n
0..1
0..n
scopes
ActParticipation(from ActParticipations)
0..1 0..n0..1 0..n
participation
0..n
0..1
0..n
0..1
participatesIn
Act(from Acts)
10..n 10..n
participatingAct ActRelationship(from Acts)1
0..n1
0..n
source
0..n 10..n 1
target
![Page 13: Consultant Effective Patterns and Practices in J2EE George de la Torre.](https://reader035.fdocuments.us/reader035/viewer/2022070415/5697bf741a28abf838c7f7fa/html5/thumbnails/13.jpg)
The Model
Object Modeling
Entity(from Entities)
EntityRole(from EntityRoles)
0..1
0..n
0..1
0..n
plays
0..1
0..n
0..1
0..n
scopes
ActParticipation(from ActParticipations)
0..1 0..n0..1 0..n
participation
0..n
0..1
0..n
0..1
participatesIn
Act(from Acts)
10..n 10..n
participatingAct ActRelationship(from Acts)1
0..n1
0..n
source
0..n 10..n 1
target
![Page 14: Consultant Effective Patterns and Practices in J2EE George de la Torre.](https://reader035.fdocuments.us/reader035/viewer/2022070415/5697bf741a28abf838c7f7fa/html5/thumbnails/14.jpg)
The Model
Business Objects
ObservationProcedure Patient_encounter
Act_relationship
Act
0..n
1
0..n
1Participation
0..n
1
0..n
1
Role
0..n
1
0..n
1
Entity
Organization Person Material
![Page 15: Consultant Effective Patterns and Practices in J2EE George de la Torre.](https://reader035.fdocuments.us/reader035/viewer/2022070415/5697bf741a28abf838c7f7fa/html5/thumbnails/15.jpg)
The Model
Legacy Discuss mapping database and entity
beans techniques
![Page 16: Consultant Effective Patterns and Practices in J2EE George de la Torre.](https://reader035.fdocuments.us/reader035/viewer/2022070415/5697bf741a28abf838c7f7fa/html5/thumbnails/16.jpg)
The Model
Model Roles The business world
Pure abstraction model Federated architectural framework
Explicit contract
Person Roles Abstract thinkers only – extra sense
![Page 17: Consultant Effective Patterns and Practices in J2EE George de la Torre.](https://reader035.fdocuments.us/reader035/viewer/2022070415/5697bf741a28abf838c7f7fa/html5/thumbnails/17.jpg)
The Model
JBuilder demo EJB module Database Schema Local Entity Beans
Container-Managed RelationshipsContainer-Managed Persistence
![Page 18: Consultant Effective Patterns and Practices in J2EE George de la Torre.](https://reader035.fdocuments.us/reader035/viewer/2022070415/5697bf741a28abf838c7f7fa/html5/thumbnails/18.jpg)
The Components
Object Model
Components
Services
Data Model
![Page 19: Consultant Effective Patterns and Practices in J2EE George de la Torre.](https://reader035.fdocuments.us/reader035/viewer/2022070415/5697bf741a28abf838c7f7fa/html5/thumbnails/19.jpg)
The Components
Packages and JARsSession Facade
Data Transfer Objects (DTO) DTO Assemblers
Container ServicesApplication ServicesRoles
![Page 20: Consultant Effective Patterns and Practices in J2EE George de la Torre.](https://reader035.fdocuments.us/reader035/viewer/2022070415/5697bf741a28abf838c7f7fa/html5/thumbnails/20.jpg)
The Components
Packages and JARs How to organize for extensibility,
scalability and maintainability for enterprise concerns.
![Page 21: Consultant Effective Patterns and Practices in J2EE George de la Torre.](https://reader035.fdocuments.us/reader035/viewer/2022070415/5697bf741a28abf838c7f7fa/html5/thumbnails/21.jpg)
The Components
Session Façade Central and aggregate interface
provider
![Page 22: Consultant Effective Patterns and Practices in J2EE George de la Torre.](https://reader035.fdocuments.us/reader035/viewer/2022070415/5697bf741a28abf838c7f7fa/html5/thumbnails/22.jpg)
The Components
Container Services Transactions Security Concurrency Persistence Deployment Exception Handling
![Page 23: Consultant Effective Patterns and Practices in J2EE George de la Torre.](https://reader035.fdocuments.us/reader035/viewer/2022070415/5697bf741a28abf838c7f7fa/html5/thumbnails/23.jpg)
The Components
Application Services Use Cases Business rules Utilities
![Page 24: Consultant Effective Patterns and Practices in J2EE George de la Torre.](https://reader035.fdocuments.us/reader035/viewer/2022070415/5697bf741a28abf838c7f7fa/html5/thumbnails/24.jpg)
The Components
Component Roles Realizes business uses cases Explicit contract with object model Provides integration adapters Firewall for object model
Person Roles Consumer Provider
![Page 25: Consultant Effective Patterns and Practices in J2EE George de la Torre.](https://reader035.fdocuments.us/reader035/viewer/2022070415/5697bf741a28abf838c7f7fa/html5/thumbnails/25.jpg)
The Components
JBuilder demo Packages and JARs Session Facades Data Transfer Objects (DTO) DTO Assemblers Business Rules
Java Expert System Shell (JESS)
![Page 26: Consultant Effective Patterns and Practices in J2EE George de la Torre.](https://reader035.fdocuments.us/reader035/viewer/2022070415/5697bf741a28abf838c7f7fa/html5/thumbnails/26.jpg)
The Services
Object Model
Components
Services
Data Model
![Page 27: Consultant Effective Patterns and Practices in J2EE George de la Torre.](https://reader035.fdocuments.us/reader035/viewer/2022070415/5697bf741a28abf838c7f7fa/html5/thumbnails/27.jpg)
The Services
Business DelegateUser ExperienceWeb Service BrokerIntegration
Adapters Legacy
Roles
![Page 28: Consultant Effective Patterns and Practices in J2EE George de la Torre.](https://reader035.fdocuments.us/reader035/viewer/2022070415/5697bf741a28abf838c7f7fa/html5/thumbnails/28.jpg)
The Services
Business Delegate
![Page 29: Consultant Effective Patterns and Practices in J2EE George de la Torre.](https://reader035.fdocuments.us/reader035/viewer/2022070415/5697bf741a28abf838c7f7fa/html5/thumbnails/29.jpg)
The Services
User Experience Provides crisp abstraction for all use cases Common vocabulary between end users
and developers Clear separation of concerns, creating
firewalls that isolate the common model “What is understood is reused”
![Page 30: Consultant Effective Patterns and Practices in J2EE George de la Torre.](https://reader035.fdocuments.us/reader035/viewer/2022070415/5697bf741a28abf838c7f7fa/html5/thumbnails/30.jpg)
The Services
Web Service Broker
![Page 31: Consultant Effective Patterns and Practices in J2EE George de la Torre.](https://reader035.fdocuments.us/reader035/viewer/2022070415/5697bf741a28abf838c7f7fa/html5/thumbnails/31.jpg)
The Services
Integration
![Page 32: Consultant Effective Patterns and Practices in J2EE George de la Torre.](https://reader035.fdocuments.us/reader035/viewer/2022070415/5697bf741a28abf838c7f7fa/html5/thumbnails/32.jpg)
The Services
Services Roles Interface to the world Provides integration adapters Assembly of services from other services
and business logic Person Roles
Consumer Provider
![Page 33: Consultant Effective Patterns and Practices in J2EE George de la Torre.](https://reader035.fdocuments.us/reader035/viewer/2022070415/5697bf741a28abf838c7f7fa/html5/thumbnails/33.jpg)
The Services
JBuilder demo Service Locator Business Delegate Web Application Web Services
![Page 34: Consultant Effective Patterns and Practices in J2EE George de la Torre.](https://reader035.fdocuments.us/reader035/viewer/2022070415/5697bf741a28abf838c7f7fa/html5/thumbnails/34.jpg)
Service Oriented Architecture
J2EE does Leverage existing assets Support all types of integration Allow for incremental migration Establish standard framework
The business drives the service and the services drive the technology
![Page 35: Consultant Effective Patterns and Practices in J2EE George de la Torre.](https://reader035.fdocuments.us/reader035/viewer/2022070415/5697bf741a28abf838c7f7fa/html5/thumbnails/35.jpg)
Service Oriented Architecture
LIMS
GIS
Pharma
ObservationAct
Rule Engine
RoleEntity
System Reference Table
s
ServicesServices
![Page 36: Consultant Effective Patterns and Practices in J2EE George de la Torre.](https://reader035.fdocuments.us/reader035/viewer/2022070415/5697bf741a28abf838c7f7fa/html5/thumbnails/36.jpg)
Service Oriented Architecture
LIMS
GIS
Pharma
ObservationAct
Rule Engine
RoleEntity
System Reference Table
s
XMLXML XSLTXSLT Web ServicesWeb Services CORBACORBAHTMLHTML
![Page 37: Consultant Effective Patterns and Practices in J2EE George de la Torre.](https://reader035.fdocuments.us/reader035/viewer/2022070415/5697bf741a28abf838c7f7fa/html5/thumbnails/37.jpg)
J2EE Resistance
Fear Uncertainly Doubt Too difficult Long learning curve Standards sets you free OK, go ahead and write your own
open-platform enterprise system!
![Page 38: Consultant Effective Patterns and Practices in J2EE George de la Torre.](https://reader035.fdocuments.us/reader035/viewer/2022070415/5697bf741a28abf838c7f7fa/html5/thumbnails/38.jpg)
J2EE Deal
J2EE is the deal because It solves all distributed concerns from
the get go! It’s a blueprint for
Legacy integrationConsolidation New development
![Page 39: Consultant Effective Patterns and Practices in J2EE George de la Torre.](https://reader035.fdocuments.us/reader035/viewer/2022070415/5697bf741a28abf838c7f7fa/html5/thumbnails/39.jpg)
Contact
George de la TorreConsultant/Systems Architect
PHIN Portal Project305-519-8375