24
1 Building an e-Market Place WebSphere Case Study [email protected]

Building an e-Market Place WebSphere Case Study [email protected] 1

Embed Size (px)

Citation preview

Page 1: Building an e-Market Place WebSphere Case Study Gerhard.Klein@versant.de 1

1

Building an e-Market Place WebSphere Case Study

[email protected]

Page 2: Building an e-Market Place WebSphere Case Study Gerhard.Klein@versant.de 1

2 © Versant Corporation 2001

All products are trademarks or registered trademarks of their respective companies in the United States and other countries. The information contained in this document is property of Versant Corporation.

Who is ff-eCommerceWho is ff-eCommerceCompany

Building ERP solutions for small and mid sized companies for the last 15 years

Productsff-eCommerce: ERP Systemff-eShop: B2B, B2C Shops and/or portalff-eASP

Services„Was bei anderen der Markt regelt, regeln

Sie lieber selbst“

Page 3: Building an e-Market Place WebSphere Case Study Gerhard.Klein@versant.de 1

3 © Versant Corporation 2001

All products are trademarks or registered trademarks of their respective companies in the United States and other countries. The information contained in this document is property of Versant Corporation.

GoalGoal Provide greater scalability and performance for

an Internet-enabled merchandise management e-commerce solution using advanced technologies based on industry standards

Situation:Existing systems developed over 15 years using

traditional technologies and methodologiesMore and more difficult to maintain and extend the

system to provide first-rate customer service Solution:

Reengineer the whole system

Page 4: Building an e-Market Place WebSphere Case Study Gerhard.Klein@versant.de 1

4 © Versant Corporation 2001

All products are trademarks or registered trademarks of their respective companies in the United States and other countries. The information contained in this document is property of Versant Corporation.

What were the key What were the key issuesissues

Executable model and architecture, based on the most advanced industry standards

Scalability and performanceTestability: be able to automate testsPredictability: how much does a new

feature cost?Flexibility: different deployment

strategies for different customers needs

Page 5: Building an e-Market Place WebSphere Case Study Gerhard.Klein@versant.de 1

5 © Versant Corporation 2001

All products are trademarks or registered trademarks of their respective companies in the United States and other countries. The information contained in this document is property of Versant Corporation.

The whole productThe whole product

Rational: Knowledge and Process Security

Availability

Scalability

Performance

Persistence

iO ArcStyler: Architecture, Development

Development Deployment

Page 6: Building an e-Market Place WebSphere Case Study Gerhard.Klein@versant.de 1

6 © Versant Corporation 2001

All products are trademarks or registered trademarks of their respective companies in the United States and other countries. The information contained in this document is property of Versant Corporation.

The whole productThe whole product New technology and architecture

Build up know-howFollow established processes and architecture

www.ejb-development.com

Use best of breed products + services:IBM: high scalable appserveriO: architecture and generation of J2EE

EnvironmentRational: process and knowledgeVersant: high performance Java object persistence

Page 7: Building an e-Market Place WebSphere Case Study Gerhard.Klein@versant.de 1

7 © Versant Corporation 2001

All products are trademarks or registered trademarks of their respective companies in the United States and other countries. The information contained in this document is property of Versant Corporation.

ArchitectureArchitecture•HTMLHTML

•Java Applets Java Applets •Highly scalableHighly scalable

Persistent Java Persistent Java Object CacheObject Cache

Seamless EJB Seamless EJB IntegrationIntegration

Intra-tier ReplicationIntra-tier ReplicationFault ToleranceFault Tolerance

XML XML Active Data Active Data ManagementManagement

Synchronization Synchronization with RDBMSwith RDBMS

Replication

Synchronization

Client Tier

Middle Tier

Back-End Systems

WebSphereWebSphereApplicationApplication

ServerServer

enenJJinin

Datawarehouse (DB2)Datawarehouse (DB2)Finance Software (RDB)Finance Software (RDB)

Storage (RDBr)Storage (RDBr)

AdditionalAdditionalTransactionTransaction

WorkloadWorkloadMappingMapping

Page 8: Building an e-Market Place WebSphere Case Study Gerhard.Klein@versant.de 1

8 © Versant Corporation 2001

All products are trademarks or registered trademarks of their respective companies in the United States and other countries. The information contained in this document is property of Versant Corporation.

Development processDevelopment process

ArcStyler®

Pre

sent

atio

nM

odel

V

C

M

DB2

UML(AS/Rose)

Import(AS/C-schema)

ArcStyler Cartridgefor WebSphereVersant enJin

enJin

To

mca

tT

om

cat

ArcStyler Cartridgefor J2EE Accessors

We

bSp

her

e 3

.5 W

ebS

ph

ere

3.5

RDB Loader

ANT & JPXOpti-Build +JB4 Proj. &Test Units

enJinORM

.java .class

EAR

JSP

.java-opt(instances in JSP!)

.java

WAR(servlet)

All Generated &/or

Build,Deploy

HTML(etc.)

Verify

Verify

Page 9: Building an e-Market Place WebSphere Case Study Gerhard.Klein@versant.de 1

9 © Versant Corporation 2001

All products are trademarks or registered trademarks of their respective companies in the United States and other countries. The information contained in this document is property of Versant Corporation.

What is enJin?What is enJin?

Agile infrastructure for boosting the performance and speeding the deployment of your e-business

applications

Core object management services for Application Servers Works seamlessly with IBM WebSphere Application server

Reliable java object storage & retrieval within the middle-tier

Synchronization of “business transactions” to line-of-business systems Integrates with existing corporate relational databases, like

DB2

Page 10: Building an e-Market Place WebSphere Case Study Gerhard.Klein@versant.de 1

10 © Versant Corporation 2001

All products are trademarks or registered trademarks of their respective companies in the United States and other countries. The information contained in this document is property of Versant Corporation.

What does enJin What does enJin provide? provide? enJin provides persistence for “intermediate”

dataData that doesn’t need to exist outside of the

middle-tiersession-data; meta-data; work-flow data; in-progress

data

enJin accelerates completion of “Internet interactions”Increases throughput and reduces response

timesReliable, recoverable, transactional middle-tier

persistence

Page 11: Building an e-Market Place WebSphere Case Study Gerhard.Klein@versant.de 1

11 © Versant Corporation 2001

All products are trademarks or registered trademarks of their respective companies in the United States and other countries. The information contained in this document is property of Versant Corporation.

The key business The key business benefitsbenefits Reduces “time-to-market” and simplifies development

Direct storage of Java objects and/or Entity BeansNo restrictions on data types/complexity

Improves performance and reduces response timesMapping, transparent or otherwise has to be

executedMay be automatically generated, but still slow to executeEach object retrieval or storage results in complex server

access

The best mapping is NO mapping - objects stored as objects

Object caching within Application Server for in-memory access

Page 12: Building an e-Market Place WebSphere Case Study Gerhard.Klein@versant.de 1

12 © Versant Corporation 2001

All products are trademarks or registered trademarks of their respective companies in the United States and other countries. The information contained in this document is property of Versant Corporation.

The key business The key business benefits?benefits? Open platform support

Standards compliantJDO*, EJB, XML

Integrates with IBM WebSphere Application Server

Proven technology basisThe engine in enJin is the Versant ODBMS

Leading, high-performance object server500+ person-years of development effort

Application Server integration is mature and deployed

30+ (and growing) deployed customers

*Future support

Page 13: Building an e-Market Place WebSphere Case Study Gerhard.Klein@versant.de 1

13 © Versant Corporation 2001

All products are trademarks or registered trademarks of their respective companies in the United States and other countries. The information contained in this document is property of Versant Corporation.

Features & CapabilitiesFeatures & Capabilities

Object Management J2EE IntegrationSynchronization Intra-tier ReplicationXML InterchangeActive Object ManagementFault Tolerance

Page 14: Building an e-Market Place WebSphere Case Study Gerhard.Klein@versant.de 1

14 © Versant Corporation 2001

All products are trademarks or registered trademarks of their respective companies in the United States and other countries. The information contained in this document is property of Versant Corporation.

Object ManagementObject Management Object Management

High performance, reliable Java object storageBuilt from ground-up to store & manage objects as objects

Sharable between multiple Application Server instances

Why is this important?Management of “Intermediate” data

Storage & management of the objects that support the middle-tier business logic in the middle-tier

Transparent object persistence Simplifies development by eliminating O/R mapping and JDBC

Page 15: Building an e-Market Place WebSphere Case Study Gerhard.Klein@versant.de 1

15 © Versant Corporation 2001

All products are trademarks or registered trademarks of their respective companies in the United States and other countries. The information contained in this document is property of Versant Corporation.

Object ManagementObject ManagementJava Language InterfaceJava Language Interface

Support for transparent persistence of Java objectsCustomers can focus on application issuesVersus mapping of Java to relational data models

Non-intrusive persistenceBased on byte-code enhancementJava applications can be easily adapted to work with

enJin Transparent object navigation of complex models Full support for inherent object complexity

Inheritance, collections, multi-valued types

Page 16: Building an e-Market Place WebSphere Case Study Gerhard.Klein@versant.de 1

16 © Versant Corporation 2001

All products are trademarks or registered trademarks of their respective companies in the United States and other countries. The information contained in this document is property of Versant Corporation.

Object ManagementObject ManagementAn ExampleAn Example

Employee.java javac

javacom.versant.

Enhanceconfig.jvi

javaEmployee

mydb

Employee.class

Employee.class

public class Employee { private String _name; private int _age; private Department _department;

public Employee ( String name, int age ) { _name = name; _age = age; }

public void setDepartment ( Department d ) { _department = d; }

static public main ( String args ) { TransSession session = new TransSession(args[0]);

Department d = new Department(“Admin”); Employee p = new Employee (“Joe”, “21”);

p.setDepartment(d);

session.commit(); }}

Even these calls aren’t required in EJB Server

Page 17: Building an e-Market Place WebSphere Case Study Gerhard.Klein@versant.de 1

17 © Versant Corporation 2001

All products are trademarks or registered trademarks of their respective companies in the United States and other countries. The information contained in this document is property of Versant Corporation.

Multi-level CachingMulti-level Caching

Sophisticated caching optionsWithin and between Application Servers

Advanced options to retain objects across transactionsUseful for read-only cachesData can be read from memory orders of

magnitude faster than from disk or database Flexible caching options allows for optimal

resource utilization

Page 18: Building an e-Market Place WebSphere Case Study Gerhard.Klein@versant.de 1

18 © Versant Corporation 2001

All products are trademarks or registered trademarks of their respective companies in the United States and other countries. The information contained in this document is property of Versant Corporation.

J2EE IntegrationJ2EE Integration

J2EE integration Support for IBM WebSphere

Generic framework supports any Application Server Support for JSP/Servlets, EJB Session and EntityBeans

Direct Java object persistence (session-managed persistence)

Bean or Container-managed persistence Integrated transaction management & resource

pooling Why is this important?

Support for industry standards Integration with Application Server mechanisms Growing demand for EJB-based development

Application Server

CustomerBean

OrderBean

Page 19: Building an e-Market Place WebSphere Case Study Gerhard.Klein@versant.de 1

19 © Versant Corporation 2001

All products are trademarks or registered trademarks of their respective companies in the United States and other countries. The information contained in this document is property of Versant Corporation.

SynchronizationSynchronization Synchronization

Propagation of “business transactions” to corporate systems

Reliable propagation able to withstand system failureNear-synchronous or asynchronous (batching of updates)

Automatic mapping from objects to RDBSupport for Oracle, DB2 and other JDBC compliant databases

Bulk import & exportSupport for loading “enterprise” data into middle-tier

Why is this important? Leverage line-of-business systems that run on RDBs

Billing, Order Processing, CRM, … Data Warehousing

Data-mining & reporting Many existing business applications run on RDBs

enJin

Synchronization

RDB

Page 20: Building an e-Market Place WebSphere Case Study Gerhard.Klein@versant.de 1

20 © Versant Corporation 2001

All products are trademarks or registered trademarks of their respective companies in the United States and other countries. The information contained in this document is property of Versant Corporation.

SynchronizationSynchronizationAn ExampleAn Example public class Person {

private String name; private int age;}public class Employee extends Person { private int salary; private Deparment deparment;}

CLASS Person TABLE Person PRIMARY_KEY name SQLMAP FOR name SQLTYPE VARCHAR(20) SQLMAP FOR age;CLASS Employee TABLE Employee PRIMARY_KEY name SQLMAP FOR name SQLTYPE VARCHAR(20) SQLMAP FOR age SQLMAP FOR salary IMPLICIT_ATTRIB deptName ATTRIB_TYPE String SQLMAP FOR deptName SQLTYPE VARCHAR(20) RELATIONSHIP department REFERENCES Department WITH deptName;

name : Stringage : int

Person

salary : int

Employeename : string

Department

Page 21: Building an e-Market Place WebSphere Case Study Gerhard.Klein@versant.de 1

21 © Versant Corporation 2001

All products are trademarks or registered trademarks of their respective companies in the United States and other countries. The information contained in this document is property of Versant Corporation.

Fault ToleranceFault Tolerance

Fault Tolerance Support for hardware high availability “hot-standby”

solutions Support for Application Server clustering Fault tolerant Server option

Synchronously replicated pairAutomatic fail-over and recoveryNo interruption in ongoing Internet transaction

Why is this important? Ensures system availability

Users demand 24x7 access

Allows uninterrupted operation in event of major system failure

Page 22: Building an e-Market Place WebSphere Case Study Gerhard.Klein@versant.de 1

22 © Versant Corporation 2001

All products are trademarks or registered trademarks of their respective companies in the United States and other countries. The information contained in this document is property of Versant Corporation.

Fault Tolerant ServerFault Tolerant Server

Synchronous replication on two nodes Can be different architectures

Automatic switch-over on failure Automatic re-synchronization on recovery

ApplicationServer

Page 23: Building an e-Market Place WebSphere Case Study Gerhard.Klein@versant.de 1

23 © Versant Corporation 2001

All products are trademarks or registered trademarks of their respective companies in the United States and other countries. The information contained in this document is property of Versant Corporation.

e - business to the power of Versant

= e

XML

EJB

Page 24: Building an e-Market Place WebSphere Case Study Gerhard.Klein@versant.de 1

More informationMore information

www.ff-ecommerce.dewww.ejb-development.comwww.versant.com