A Choice between Interoperability and Migration - PowerPoint PPT Presentation

About This Presentation
Title:

A Choice between Interoperability and Migration

Description:

A Choice between Interoperability and Migration By Chaitanya Kurada Masters Defense Major professor: Dr.Daniel Andresen Presentation Overview Problem statement ... – PowerPoint PPT presentation

Number of Views:201
Avg rating:3.0/5.0
Slides: 29
Provided by: Chaitany3
Category:

less

Transcript and Presenter's Notes

Title: A Choice between Interoperability and Migration


1
A Choice between Interoperability and Migration
  • By
  • Chaitanya Kurada

Masters Defense Major professor Dr.Daniel
Andresen
2
Presentation Overview
  • Problem statement
  • Solutions
  • Objective
  • Interoperability
  • Implementation details
  • Demo
  • Performance Evaluation
  • Analysis
  • Conclusion

3
Problem Statement
  • A company X has about a million lines of code
    written in EJBs for its business logic for an
    application. The front end is developed in JSP
    and Servlets. The management decides to give the
    website a new look with ASP.NET. What are the
    options to be considered while implementing this
    change and which is the best one?

4
Solutions
  • Option 1 Migration
  • Rewrite the entire business logic on a new
    Windows server in VS.NET
  • Option 2 Interoperability
  • Provide an interface to access the EJBs
    from VS.NET

5
Objective
  • To analyze the feasibility of interoperability
    from a programmers perspective
  • To compare the performance of a homogeneous
    website to that of a heterogeneous website

6
Choices for Interoperating
  • CORBA
  • DCOM
  • RMI
  • Web Services
  • .NET Remoting

7
Web Services
  • Concepts involved XML, SOAP, WSDL, and UDDI
  • Invocation of a web service

UDDI Registry
Server A
3. How exactly should I invoke you
1. Where can I find a web service that does X
(UDDI)
2. Server A is capable of doing X
4. Take a look at this WSDL
CLIENT
5. Request operation X
6. Result of operation X
8
Architecture
Web Services
9
Architecture
user session
Front End HTML CSS
BROWSER
KSU SMTP Server
user activity
AJAX function call
AJAX function call
Web Services
Web Service call
Code behind
EJBS
CIS Oracle 9i Database
JDBC
Ajax server pages
WebLogic APPL SERVER
Web Service call
IIS 5.0 WEB SERVER
ADO.NET
10
Technologies and Tools Used
  • Visual Studio.NET 2003
  • WebLogic Workshop 8.0
  • EJBs (session and entity beans)
  • XML
  • Ajax
  • JavaScript/DOM
  • Scriptaculous
  • RSS

11
Database relational schema
12
Use Case diagrams
  • Customer System

13
Class Diagram
14
  • DEMONSTRATION

15
Programmers Perspective
  • Change in business logic code
  • User defined XML tags
  • Parameter passing
  • Use of suitable IDE
  • Conclusion
  • Exposing the business logic is dependent on
  • Complexity of EJBs
  • IDE used
  • Programmers proficiency

16
Unit Testing
17
Performance evaluation
  • Comparing heterogeneous architecture with
    homogeneous architecture
  • System set up
  • 1. Heterogeneous pages Tested on pages built
    during implementation phase.
  • 2. Homogeneous pages The web services are
    replaced by calls to ADO.NET.

18
Architectures of the pages tested
  • Homogeneous pages
  • Heterogeneous pages

19
Test Suites and tools
  • Tools used include Apache JMeter, Microsoft ACT,
    and AdventNets QEngine
  • Load
  • Light Load 1 user requesting 200 times
  • Heavy Load 10 users requesting 200 times
  • Test Suites 4 iterations for each of the two
    pages
  • Test Suite 1 Retrieving 50KB file from database
  • Test Suite 2 Retrieving 200 KB file from
    database
  • Test Suite 3 Retrieving 1MB data from database
  • Test Suite 4 High level computational
    business logic
  • Test Suite 5 Retrieving small amount of data
    with no logic overhead on database
  • Test Suite 6 Retrieving small amount of data
    with significant logic overhead on
    database
  • Test Suite 7 Retrieving large data (300 KB)
    from the database
  • Test Suite 8 Ajax pages retrieving small amount
    of data
  • Test Suite 9 Ajax pages retrieving large amount
    of data

20
Results
21
Graphical view
22
Analysis of performance testing
  • Overall analysis How slow are heterogeneous
    pages compared with homogeneous pages?
  • Inferences from the table
  • Response time on par with homogeneous pages in
    case of file transfers.
  • Low performance when retrieving tabular data from
    database
  • Good performance while retrieving small amounts
    of data using Ajax
  • Decrease in difference as file size increases
  • Decrease in difference as amount of data increases

23
Reasons
  • For file transfers, there is no network
    bottleneck
  • For tabular data, conversion into xml format is
    the overhead
  • For large amounts of data ADO.NETs data adapter
    is not optimized for performance

24
XML conversion
ASP.NET Web Form
Parse xml
ltxmlgtltiteminfogtltnamegtNike lt/namegtltpricegt50lt/pricegt
lt/iteminfogt
name price
Nike 50
Web Services

EJBs
Result set
Convert to xml
ltxmlgtltiteminfogtltnamegtNike lt/namegtltpricegt50lt/pricegt
lt/iteminfogt
Item name Price
Nike 50
Item name Price
Nike 50
CIS Oracle DB
25
Problems faced
  • Learning WebLogic Workshop
  • Lack of Ajax support in .NET 2003
  • JMeter performance testing
  • Oracle connection time-out

26
Conclusion
  • From a programmers perspective, the feasibility
    of interoperability depends on the complexity of
    EJB code, IDE used, and the programmers
    proficiency
  • From the performance comparison vis-à-vis a
    homogeneous architecture, the heterogeneous pages
    performed well when the amount of xml wrapping is
    minimized

27
Acknowledgments
  • Dr. Daniel Andresen
  • Dr. Gurdip Singh
  • Dr. Mitch Neilsen
  • Technical support team of the CIS department
  • Administrative support team of the CIS department

28
Questions
Write a Comment
User Comments (0)
About PowerShow.com