advanced web applications development technion cs 236606 spring 2003, class 14 (summary)
DESCRIPTION
Advanced Web Applications Development Technion CS 236606 Spring 2003, Class 14 (Summary). Eliezer Dekel June 2003. Agenda. The J2EE Platform and the J2EE SDK Sun’s “Duke’s Bank” Application (A simple Enterprise Application) 1 Business on Demand. - PowerPoint PPT PresentationTRANSCRIPT
IBM Labs in Haifa© 2003 IBM Corporation
Advanced Web Applications Development
Technion CS 236606 Spring 2003, Class 14 (Summary)
Eliezer DekelJune 2003
IBM Labs in Haifa
© 2003 IBM Corporation
Agenda
The J2EE Platform and the J2EE SDK Sun’s “Duke’s Bank” Application (A simple Enterprise Application)1
Business on Demand
1. Based on a J2EE Tutorial by Sun Microsystems (see URL at the end of the section)
IBM Labs in Haifa
© 2003 IBM Corporation
The J2EE Platform, Architecture
IBM Labs in Haifa
© 2003 IBM Corporation
J2EE and Web Services
IBM Labs in Haifa
© 2003 IBM Corporation
What’s this J2EE technology stuff all about?
IBM Labs in Haifa
© 2003 IBM Corporation
The J2EE Architecture
Provides the benefits of components based development to Enterprise Application
These components are: Simpler to develop Portable Reusable
Server side components: Enterprise JavaBeans Servlets JSP
Client side components These components are:
Configured via Deployment Descriptors Deployed into containers
IBM Labs in Haifa
© 2003 IBM Corporation
The J2EE Packaging
The components are packed into modules EAR (Enterprise ARchive)
Enterprise JavaBeans Deployment Descriptors
WAR (Web ARchive) Servlets JSPs HTML Scripts Images Deployment Descriptor
JAR (Java Archive) Client side Java Classes Deployment descriptor
IBM Labs in Haifa
© 2003 IBM Corporation
J2EE Platform
J2EE Container Services Life cycle management Concurrent execution Request dispatching
Standard platform services Security Transactions Resource connections
Platform APIs JMS, JDBC, JNDI, JMX …
IBM Labs in Haifa
© 2003 IBM Corporation
“Duke’s Bank” Application
Online access to bank accounts Customers—Web clients
Account historyTransfer fundsWithdraw and deposit funds
Administrators—J2EE platform-based application client
Manage customersManage accounts TM
IBM Labs in Haifa
© 2003 IBM Corporation
“Duke’s Bank”
IBM Labs in Haifa
© 2003 IBM Corporation
Components of “Duke’s Bank” Application
IBM Labs in Haifa
© 2003 IBM Corporation
Session Beans
Represents a single client in the server A logical extension of the client Transient state—not persistent Examples:
AccountControllerEJB CustomerControllerEJB TxControllerEJB
IBM Labs in Haifa
© 2003 IBM Corporation
Entity Beans
Represents a business object in persistent storage (DB) Often provides an object view of a database table Examples:
AccountEJB CustomerEJB TxEJB
IBM Labs in Haifa
© 2003 IBM Corporation
Defining the Client’s View With Interfaces
IBM Labs in Haifa
© 2003 IBM Corporation
The EJBeans of “Duke’s Bank”
IBM Labs in Haifa
© 2003 IBM Corporation
Web Components and Execution Flow
IBM Labs in Haifa
© 2003 IBM Corporation
Security in “Duke’s Bank” Application
Secure each container to secure the entire application Use declarative not programmatic security Use authentication to prove identity Use authorization to restrict access
IBM Labs in Haifa
© 2003 IBM Corporation
More Details
Download The J2EE Tutorial and “Duke’s Bank” Application http://java.sun.com/j2ee/download.
IBM Labs in Haifa
© 2003 IBM Corporation
IBM Labs in Haifa
© 2003 IBM Corporation
IBM Labs in Haifa
© 2003 IBM Corporation
on demandon demand businessbusiness
business
Pricing Pressures
Security Threats
Capital and Asset Utilization
Customer Preferences
EconomyGovernanceProductivity
technology
Open Movement Commoditization
Clusters
GridsAutonomic Computing Web Services
Blades Virtualization Standards
Constantly Changing EnvironmentRequires constant improvement in business design and business process
IBM Labs in Haifa
© 2003 IBM Corporation
AdministrativeProductivity
Personal and Departmental Productivity
OrganizationalProductivity
Evolution of Business and Computing
Mainframe Client / Server On DemandNetwork
IBM Labs in Haifa
© 2003 IBM Corporation
Business Challenges
Demand for faster innovation
Relentless cost pressures
Integration inside, outside and across my entire value chain
Shift from fixed to variable cost
Demand for predictable ROI
Dramatic improvement in IT costs
IBM Labs in Haifa
© 2003 IBM Corporation
Busin
ess
Desig
n
Financial &
Delivery Models
ComputingEnvironment
On Demand Business
IBM Labs in Haifa
© 2003 IBM Corporation
Busin
ess
Desig
n
On demand business
Responsive Variable Focused Resilient
ComputingEnvironment
On Demand Business
Financial &
Delivery Models
IBM Labs in Haifa
© 2003 IBM Corporation
Aviva (Norwich Union)
WHY BECOME ON DEMAND: To better calculate and assign auto insurance premiums to motorists.
SOLUTION:“Pay as you drive” pilot insurance program. Real-time tracking using telematics and analysis to calculate insurance premiums based on when, where, and how often the vehicles are used.
BENEFITS:• Aviva customers would prefer their auto insurance
reflect the use of their car.
• Fairer insurance rates based on actual use and the ability to locate / track cars reported stolen.
• Motorists can request emergency and other services using a specially designed, multi-button console mounted in the cabin.
Information on demand to calculate premiums
IBM Labs in Haifa
© 2003 IBM Corporation
Activities that cross multiple business processes
On DemandOn DemandBusinessBusiness
Procurement HR Business UnitCRM
Customers & Channel PartnersCustomers & Channel Partners
Supply Chain CapabilitySupply Chain Capability
Innovation & Product DevelopmentInnovation & Product Development
People & Performance IssuesPeople & Performance Issues
FinanceFinance
Technology OptimizationTechnology Optimization
Entry Points to Business Transformation
IBM Labs in Haifa
© 2003 IBM Corporation
Business Design
Wimbledon
IBM Labs in Haifa
© 2003 IBM Corporation
Busin
ess
Desig
n Financial &
Delivery Models
ComputingEnvironment
On Demand Business
IBM Labs in Haifa
© 2003 IBM Corporation
Busin
ess
Desig
n Financial &
Delivery Models
ComputingEnvironment
On Demand Operating EnvironmentOpen
IntegratedVirtualizedAutonomic
Requires an On Demand Operating EnvironmentOn Demand Business
IBM Labs in Haifa
© 2003 IBM Corporation
On Demand Operating Environment
OpenOpen
IntegratedIntegrated
CollaborationCollaboration TransactionalTransactionalProcessesProcesses
InformationInformationManagementManagement
AutonomicAutonomic
AvailabilityAvailability SecuritySecurity OptimizationOptimization ProvisioningProvisioning
VirtualizedVirtualized
Virtualization EngineVirtualization Engine
ServersServers StorageStorage Distributed SystemsDistributed Systems NetworkNetwork
IBM Labs in Haifa
© 2003 IBM Corporation
Charles Schwab
WHY BECOME ON DEMAND:Enable employees to provide immediate, real-time help to customers, within an existing IT infrastructure that currently necessitates customer call-backs.
SOLUTION:Grid-enable existing wealth management application to reduce processing time.
BENEFITS:• Reduced the processing time from more than four
minutes to 15 seconds
• Increase customer satisfaction by responding to inquiries in real time … while the customer is on the phone
Grid application saving money, driving new levels of customer service
IBM Labs in Haifa
© 2003 IBM Corporation
Computing Environment
IBM Labs in Haifa
© 2003 IBM Corporation
Busin
ess
Desig
n Financial &
Delivery Models
ComputingEnvironment
On Demand Business
IBM Labs in Haifa
© 2003 IBM Corporation
Busin
ess
Desig
n Financial &
Delivery Models
ComputingEnvironment
On Demand Business
New ways to pay for and manage IT Flexible Variable Managed Optimized
Redefines Financial and Delivery Models
IBM Labs in Haifa
© 2003 IBM Corporation
Process-Specific
Financial and Delivery ModelsIndustry-Specific
Seismic Exploration
Market Data Feeds
Logistics
Manufacturing
Benefits Administration
Digital Content Creation
IBM Labs in Haifa
© 2003 IBM Corporation
Flexible Financial and Delivery Models
Fixed
Traditional IT
Managed Operations
Utility Services
Capacity On Demand
Financial Models
Del
iver
y M
odel
s
Off Premises
Shared
Variable
Off Premises Dedicated
On Premises Utility
Mixed
On Premises
Customers choose where and how they access IT
IBM Labs in Haifa
© 2003 IBM Corporation
WellChoice, Inc. (Empire Blue Cross Blue Shield)
WHY BECOME ON DEMAND:• Offer subscribers more personalized policies
• Reduce cost, improve efficiency of claims processing
SOLUTION:Restructure IT infrastructure to ultimately enable WellChoice, Inc. to move from fixed-price to “pay-as-you-go” (per-member, per-month) model with a combination of outsourcing and utility computing.
Must be self-funding.
BENEFITS:• Reduced costs. Estimate significant savings over course of ten
year agreement.
• New data granularity informs product development, improves time-to-market, and provides insights into medical management not before possible.
Re-investment model to enable IT modernization
IBM Labs in Haifa
© 2003 IBM Corporation
Financial and Delivery Models
IBM Labs in Haifa
© 2003 IBM Corporation
Mobilizing IBM
Continued strategic investment Business Consulting Services Business Transformation
Outsourcing Services IBM Research’s On Demand
Innovation Services and e-business on demand Design Centers for customers
Acquired Rational, among other software firms
Into our processes w3 on demand portal resource
for employees and field On demand marketing
management
Leadership in open standards, i.e.,
Linux, web services Investment in emerging growth
areas, such as utility services, grid, autonomic computing, life sciences
Leading products, e.g., WebSphere, DB2, Regatta, Shark, ASIC
Advertising campaign focus
On demand IPMT On demand sales project office
IBM Labs in Haifa
© 2003 IBM Corporation
IBM’s On Demand Transformation
WorkforceON DEMAND WORKPLACE: w3Helping to manage, focus and equip employees to increase productivity, and shape IBM culture.
Manufacturing300mm SEMICONDUCTOR FACILITYFully automated, integrated processes continuously prioritize chip production schedules. Development + manufacturing combined.
Supply ChainINTEGRATED SUPPLY CHAINEnd-to-end integration of processes and systems. Reduced $5 billion in cost and expense in 2002. Expect another $5 billion in 2003.
Business Process Outsourcing
HR BENEFITS ADMINISTRATION, CONTRACT MANUFACTURING Partner with Fidelity Employer Services and with Sanmina-SCI for PC manufacturing in US and Europe.
Technology Optimization
GRIDIBM intraGrid for R&D. Grid technologies used for designing our latest microprocessor technologies. Solutions Grid for ISV partners.
IBM Labs in Haifa
© 2003 IBM Corporation
Why IBM?
We have always aspired to do two things better than any other company in the world:
I. Create innovative technologies
II. And help our customers apply them to transform what they do and how they do it.
IBM Labs in Haifa
© 2003 IBM Corporation
IBM Labs in Haifa
© 2003 IBM Corporation
Appendix
IBM Labs in Haifa
© 2003 IBM Corporation
An enterprise whose business processes – integrated end-to-end across the company and with key partners, suppliers and customers – can respond with flexibility and speed to any customer demand, market opportunity or threat