7. JAVA
Based on C++
Sun introduced in May 1995
World Wide Web caused immediate interest
Object Oriented Language
Achieves modularity through the use of Classes and Methods
8. JAVA
Classes and Methods may be programmer defined
The Java Class Library or Java API provides predefined
Classes and Methods
Example:
The Math Class provides several mathematical methods
such as:
Abs (x)
Min (x,y)
9. JAVA
//a simple Java program which defines class Welcome, and
has only one method
Import java.applet.Applet; //imports the Applet class
Import java.awt.Graphics //imports the Graphics class
Public class Welcome extends Applet {
Public void paint( Graphics g )
{g.drawstring( “Welcome to Java Programming”, 25, 25 );}
}
10. JAVA
Five phases to execute program:
Edit => save as Welcome.java
Compile => javac Welcome.Java creates Welcome.class
Create HTML file which includes applet called Welcome.class
Load => user’s browser will load Welcome.html file
Verify => verifies that Welcome.class applet does not violate
Java security
Execute => java interpreter within user browser executes
Welcome.class applet
11. JAVA
Network Delivered Functionality
Java Applet is stored on Server, not on client
Client needs only a Java supported browser to execute applet
within Server html file
Client does not need Java installed locally
Demonstrates power of Java:
Ability to provide network delivered functionality
12. JAVA BEANS
Reusable software components written using Java.
Allows code to be shared beyond one platform, one
architecture (distributed systems).
“Write Once, Run Anywhere”
13. JAVA BEANS
Allows applications to be assembled, rather than coded in the
classical monolithic style.
Embraces internet and addresses Client/Server deployment/
maintenance issues via “thin-client”.
Device independent. Supported on Mainframes, PCs,
Network Computers, cellular phones, PDAs.
14. BEAN FEATURES
Introspection - builder tool can automatically analyze how a
bean works
Customization - ability to customize appearance and behavior
of a bean
Events - enables connection and communication between
Beans.
Properties - enables customization of Beans.
Persistence - Storing of data across sessions.
15. ENTERPRISE JAVA BEANS
Model for the development and deployment of reusable Java
Server components.
API specification for building scalable, distributed,
component based, multi-tier applications.
First released to public March of 1998.
16. ENTERPRISE JAVA BEANS
Concerned with “Server-Side” portion of business
applications.
Maps communication among components to underlying
protocols such as CORBA (Component Object Request
Broker Architecture) and IIOP (Internet InterORB
Protocol).
Transactional perspective.
17. ENTERPRISE JAVA BEANS
Provides typically application server functions:
start, commit/rollback, security, database access
Designed to be layered on top of existing IT systems.
EJB Servers available in 1998
BEA WebLogic Tengah
IBM WebSphere Advanced Edition
Oracle Application Server
20. DATA WAREHOUSING
PROOF OF PERFORMANCE AND SCALABILITY (POPS)
TEST
Standard test performed by Informix
Supermarket
19,000 products
3.6 million transactions per day
35 ongoing sales promotions
Two fact tables/five dimension tables
Sun 10000 Starfire and Informix Red Brick Warehouse
performance
300 GB of raw data was query-ready in five days
Included all of ETT process
21. WEB-ENABLED DATA
WAREHOUSING
NEED FOR WEB-ENABLED DATA WAREHOUSING
Increased demands on IT Departments for reports and
information
Outside access for customers
Outside access for mobile users
22. WEB-ENABLED DATA
WAREHOUSING
ADVANTAGES (WHAT WAS ACCOMPLISHED)
Better customer support / lower cost
More use of the data warehouse
Better understanding of data by end users
More sophisticated queries
Diminished need to extend corporate networks
Simplified system administration
Increased opportunity to outsource
23. WEB-ENABLED DATA
WAREHOUSING
HOW COSTS ARE CUT
Less expensive desktop computers
Use of free web browsers
Less training costs
Lowered communication cost
Lowered application software licensing cost
Editor's Notes
SunEnterprise 10000 server
One to sixty four 400 MHZ UltraSPARC processors
Up to 64 GB of main memory
60 TB of on-line disk storage
Fully scalable
IBM Database
Breaks down executable components, allowing for parallel processing
Sun StorEdge Arrays
Chosen due to need to employ RAID technology
SunStorEdge Volume Manager
Software system that allows for the configuration and tuning of the various storage components
RAID Manager
Volume management tool to attain load balancing and cache management
Solaris Operating System
Important to scale software with hardware
Scalable for 32 or 64 bit configuration