Вы находитесь на странице: 1из 21

Workshop TOTVS ESB

Implementation
Objective

Training the participants to


install, set and manage
integration environments with
TOTVS ESB.
Workshop TOTVS ESB
Implementation
Integrating Applications
Integrating Applications

Situations in Integration
Enterprise Service Bus

ESB?
ESB How it works
TOTVS ESB
TOTVS Solution

ESB Players

TOTVS ESB
Components
TOTVS ESB Editor
TOTVS ESB Monitor

TOTVS ESB Characteristic


TOTVS ESB Functions

Platform

TOTVS ESB
Requirements

TOTVS ESB
Operating Systems
Windows

XP

Vista

Server 2003

Server 2008

Linux Ubuntu

Java SDK
1.6

Monitor Browser

Flash Player 10
Needs to be evaluated

Scalability

TOTVS ESB
Fail Over
Capacity
50 thousand messages per day
More messages regarding query

Clustering
Checking availability

Workshop TOTVS ESB


Implementation
Performing Integrations
Performing Integrations

Joint
Message

Base Concepts
It is an event that something has

happened in the system


or
It is an information requirement
They are debts in transactions
It adds necessary information

How are the messages written?


The integration molecules

How to make a message?

Base Concepts
It needs to be understood by

other system

It needs to be understood by

people Auto-documentation

Easy to be analyzed
Easy maintenance
More automatic as much as

possible

Premises for a message

Simple Text
XML - eXtensible Markup
Language

Base Concepts
What are they for?
It enables describing anything

It can be read by systems and

people
Normally, it is possible to know

the message content

XML Advantages

XML Components

Base Concepts
Basic Parts

XML Rules

Base Concepts
XML Valid

Base Concepts
Schema XML

It describes how a XML will be


Rules of construction and

necessary information
Systems will normally provide its

Schema
How to improve the XML rules

XML Example
Transforming XML

Base Concepts
XSL

Meeting each system need


The transformation with a

Transformation motor performed


TOTVS ESB has this functionality
Meeting the needs of each application

XML Tools

Base Concepts
Daily tools

Asynchrony x Synchrony

Base Concepts
Asynchronous Process

Asynchrony x Synchrony

Base Concepts
Synchronous Process

Integration Queue

Base Concepts

It enables the system for

asynchronous transactions

It enables the record of

integrations for traceability

Failures Control

Advantages of Asynchronous
usage

Closing
Off line operations: if any point is

downtime, the messages are


queued until the system is
restored.
Presence of a mediator that aims

at making the parties talk


Instead of blocking the user, it

sends a message and waits by


the return through a call that can
be in another process.
Why making asynchronous integrations

Asynchronous usage
disadvantages

Closing
Programming is more difficult to

be projected and debugged

Not all scenario can be

asynchronous

Dealing with messages causes a

performance degradation
Break and join messages

Asynchronous integrations weak points

Workshop TOTVS ESB


Implementation
Installation, Setting and
Management

Hands on!
TOTVS ESB Installation Base

Part 1
Place in the TDN
Installing with JAR
Shortcuts and folders
Services
Finding which version was

installed
Certificate
Our first example File File

TOTVS ESB General View

Part 2
Service break (do not close)
Basic Settings (E-mail and

Contact)
Bank Setting (Bank Cleaning)
LOG Setting

TOTVS ESB Monitor

Part 3
Development with TOTVS ESB

Part 4
Components basic view
Transformer
Identifier
Foreach
OnError
DocIdentifier
FileSender

ESB Components
ESB Components

ESB Components
ESB Components
ESB Components
ESB Components
ESB Components
ESB Components
What must come for an
implementation to work

Integration Requirements
totvsesb-config.xml

Setting about how the integration

will be
XSL Files
What the transformation will do

STD Files
What the components

identifications will do

Workshop TOTVS ESB


Implementation
How a new version is made

Update
All new version is a new installer

is generated
Regularly, it includes BUGs

corrections and solution


improvements

In a zero environment you must

use the installer

An order is not followed as

internal compilations are


reflected, as follows:
5.1.103
5.1.111
5.1.120

Understanding the new versions

Steps

Update

Checking whether the version is


approved for integration

Access updating procedures

Currently in the TDN


http://www.totvs.com/web/tdn/#2
3120

Example

Workshop TOTVS ESB


Implementation
What is it?

web services
Communication means based on

XML

It is not only a pattern, there are

opened specifications
WSDL
OASIS

Under the hood, it uses HTTP as

communication protocol.

It is the means of transport

adopted by Protheus and RM


How does it work?

web services

WSDL - Web Service Definition


Language

web services
Specification that explains for

the systems how the service


meets the requirements

Defines how the information

must arrive
Defines which server that meets

the requirements
Usually it is a URL
Example GPS
http://webservices.microsiga.com.

br

Active or Passive?

Differences WS Channel

System A wants to send a message


to system B

Active or Passive? Channel or not


System A wants to send a message to
system B

WebService Component
WS Channel Receiver
WebService Component
WS Channel Sender
WebService Component
Enabling Channel components
WebService Component
Checking the created services

WebService Component
WS Sender
WebService Component
WS Receiver

Workshop TOTVS ESB


Implementation
How does it solve?

Common Mistakes

Interpreting diagrams

Integrations Examples

Necessary files (saved in the


diagram)

Using File

E-mail

Follow up with DocIdentifier

Вам также может понравиться