Bsit – integration styles (intra + inter)

Post on 04-Jul-2015

1.123 views 2 download

Transcript of Bsit – integration styles (intra + inter)

BSIT: INTEGRATION STYLES (INTRA)Team 2 (By Appearance)Wang MiaoCharmaineKyrosAini

*All Images Used In This PPT Is Subjected To Its Respective Copyright & For Illustration Purposes | Compiled By: Kyros

FILE TRANSFER

File Transfer

• Benefit

1. Fastest way to transfer large files

2. Transfer any type of file

• Problems

1. File size transferred may be limited by the sending or receiving site.

2. Problems with ftp and Firewalls

FTP Model

• Control functions (commands) and reply codes are transferred over the control connection.

• All data transfer takes place over the data connection.

• The control connection must be “up” while data transfer takes place.

Server PI

Server DPTFileSystem

User Interface

User PI

User DTP

User

File System

Control

Data

Order Fulfillment process

• FTP can transfer spreadsheet by attaching it to an email message.

• Does not require any direct account access to the remote site.

• It can shield myPC.com operators from variation in the file storage system.

• Transferring of customer orders and pay can be done reliably and efficiently.

Filezilla product

• It is a lightweight, efficient FTP written with security in mind.

• Filezilla supports both authenticated and anonymous FTP, PAM authentication, bandwidth limiting, and SSL encryption support.

• If sftp and ssh/scp are not enough for your system, then consider using Filezilla.

• Filezilla can be used together with SFTP and SSH/SCP for more security

SHARED DATABASE

Shared Database

SCM System POS System Website

SQL Server

database

DB2

database

MySQL

database

Microsoft

(Shared Database)

Integration is achieved by storing all data in a “shared database”, and define the schema of the database to handle all the needs of the different applications.

How To Solve?Install a standard software interface for accessing database management systems (DBMS) as shared database, which can store different types of database (e.g. DB2 database, SQL Server database, MySQL database).

Example:When order information is made online via the website stored in the MySQL database has to be entered into the SCM system that stores its data in IBM DB2 database, according to the integration by storing all database in a shared database, the order information will be stored in the shared database, and then the SCM system can get order information from shared database. It also can transfer customers’ orders information between the POS system and the SCM system.

IT Product Microsoft Support Shared Database

Why?

- Microsoft’s IT product is used in global.

- Microsoft is a secure IT product.

How to implement?

- Mr. Wang only needs to download the Microsoft’s software

which can support shared database, and install it into the three

systems.

Benefits of Shared Database- Much Easier

• By the widespread use of SQL-based relational databases.

• Database services like locking and transactions

- Save Time• The information between the systems

will be transferred automatically.

Potential Problems of Shared Database- Concurrency Issues

• Need to handle multiple concurrent read/writes

• As the number of application users increases, the size of the database

is larger, so the performance has slowed.

• The database is no longer stable or secure.

- Beware of single-point-failure

• The same data can turn the database into a performance bottleneck

and can cause deadlocks as each application locks others out of the

data.

• If the shared database is broken, all information cannot be transferred.

REMOTE PROCEDURE INVOCATION (RPI)

Remote Procedure Call (RPC)

• Procedural Language

• Main Communication Mechanism

• Does not integrate different systems well

Remote Method Invocation (RMI)

• Uses Java

• Interact well in distributed network

• Saves time (catch mistakes early)

• Add Java functionality

Benefits

• Simplified writing of application

• Compatibility

Pitfalls

• Vulnerable

• Transparency breaks

How It Works

BSIT – INTEGRATION STYLE (MESSAGING)

How to integrate?

DB2

MSSQL MYSQL

SCM(IBM OS400)

Language: COBOL

POS(Windows Server)

Language: C, C++, C#

Web Server(Linux: RedHat)

Technology: Apache

Mr Wang had faced the problem which these 3 systems cannot communicate to each other.

All is done by manual.

So the solution is to use…

USING…. MESSAGING

Messaging

Why?

Using Asynchronous Messaging…

• It is more reliable than Remote Procedure Invocation (RPI).

• It is more immediate than File Transfer (FTP).

• It is better encapsulated than Shared Database.

Asynchronous Messaging

• loose coupling

• program-to-program communication with reliable delivery

• send & forget, store & forward

Integration

DB2

MSSQL MYSQL

SCM(IBM OS400)

Language: COBOL

POS(Windows Server)

Language: C, C++, C#

Web Server(Linux: RedHat)

Technology: Apache

Message Server

These 3 systems can now communicate to each other by deploying a message server(Message Oriented Middleware, MOM) act as the “middleman”

and it must be in the same network to work.

More In-depth…

DB2

MSSQL MYSQL

SCM(IBM OS400)

Language: COBOL

POS(Windows Server)

Language: C, C++, C#

Web Server(Linux: RedHat)

Technology: Apache

MessagingChannel

MessageOriented

Middleware(MOM)

Eg. TIBCO Rendezvous

MOM Provides…

• remote communication

• platform / language Integration

• asynchrony

• throttling

• variable timing

• reliability

• disconnected operation

• reduction in # of threads

MOM Defines…

• interface to applications

• channels with producers, consumers

• when to send

• in what format

• routing (even without full knowledge of receiver)

• error, connection management & monitoring

BSIT: INTEGRATION TO/FRO SUPPLIERS (INTER)

About Suppliers

• Mr Wang has 3 suppliers in China.

• Mr Wang do not know what is the technology that his suppliers use for the SCM.

Supplier 1(ShangHai)

Supplier 2(Tianjin)

Supplier 3(Suzhou)

SCM SCM SCM

Assumption: Maybe its using new or old technology?

? ? ?

How?

By using:

• TIBCO BusinessConnect

• RosettaNet Partner Interface Procotols

• Cisco eHub

Recommended for integrating with MOM and we use MOM for Mr Wang’s Intra Integration.

Why TIBCO BusinessConnect?

• It can able to connect and communicate to any technologies.

Why RosettaNet Partner Interface Process (RosettaNet PIP)?• RosettaNet is one of the largest programmers and supporters

of a PIP system.

• PIP is a kind of supply chain ordering system.

• The function of a PIP is to automate and streamline the supply chain of a process.

• Eg. If a manufacturer requires a certain type of material, he can place the request on RosettaNet’s PIP and receive several responses without worry of translation or standardisationproblems.

Why Cisco eHub?

• a private, global, internet based, collaborative supply chain network.

• links Cisco with its contract manufacturers, distributors, and suppliers.

• through one central repository

Example:

• 3B2 advanced shipment notification

• 3A6 sales order

• 4C1 check inventory

• 2A12 product master inventory

Proposed Solution (Intra + Inter)

ReferencesFTP:

• http://wiki.filezilla-project.org/Main_Page

• http://webee.technion.ac.il/labs/comnet/netcourse/CIE/RFC/959/5.htm

• http://www.mapsofworld.com/referrals/internet/internet-services/file-transfer.html

Shared Databases:

• http://ptgmedia.pearsoncmg.com/images/0321200683/samplechapter/hohpech02.pdf

• http://msdn.microsoft.com/en-us/library/ff647273.aspx

• http://www.tibco.com/multimedia/ds-adapter_tcm8-753.pdf

RPI:

• http://web.mit.edu/6.033/1997/reports/dp1-danlief.html

• http://www.krzyzanowski.org/rutgers/notes/pdf/rpc-slides.pdf

• http://itgs.tistory.com/attachment/1406296529.pdf

• http://en.wikipedia.org/wiki/Referential_transparency_(computer_science)

• http://netlib.org/utk/people/JackDongarra/PAPERS/grpc.pdf

• http://etutorials.org/Linux+systems/how+linux+works/Chapter+6+Network+Services/6.6+Remote+Procedure+Call+RPC/

Messaging:

• http://en.wikipedia.org/wiki/Message-oriented_middleware

• http://www.tml.tkk.fi/Opinnot/Tik-110.551/1997/mqs.htm

• http://www.middleware.org/mom/basicmom.html

• http://www.middleware.org/general/mqm.html

• http://www.iks.inf.ethz.ch/education/ws03/eai/Lecture-5.pdf

• http://www.tibco.com/products/soa/messaging/enterprise-mesage-service/default.jsp

• http://www.tibco.com/products/soa/messaging/rendezvous/default.jsp

• http://www.iwaysoftware.com/products/b2b_srt.html

• http://www.eaipatterns.com/docs/jaoo_hohpeg_enterpriseintegrationpatterns.pdf

• http://www.looselycoupled.com/glossary/MOM

• http://www.research.ibm.com/AEM/pubs/wes2003final.pdf

• http://eecs.wsu.edu/~bakken/middleware.pdf

• http://www.manning.com/snyder/snyder_meapch1.pdf

• http://middleware2003.inf.puc-rio.br/posters/quema.pdf

• http://www.di.ufpe.br/~redis/middleware/tran-mom02.pdf

• http://cs.gmu.edu/~setia/cs707/slides/mom.pdf

Q & A

The End.

Thank You!