Upload
comunidade-netponto
View
2.006
Download
3
Tags:
Embed Size (px)
DESCRIPTION
Nesta sessão o João vai nos mostrar o que é o Biztalk e para que serve, bem como explicar a sua arquitectura e principais componentes, juntamente com diversas demonstrações de suas funcionalidades, como por exemplo orquestrações com consumo de ficheiros, serviços WCF, construção de Custom Adapters, entre outras demonstrações, com ênfase nas novidades da versão 2010 do Biztalk.
Citation preview
BizTalk Server 2010João Faneca
http://netponto.org15ª Reunião Presencial - 23/10/2010
João Faneca• Developing Internet applications since 1996, using at the
time C and Perl supported by Apache and MySql over Unix systems
• 10 years of experience working with Microsoft platforms: SQL Server, Commerce Server, SharePoint Server, Project Server, Windows Media Server, SQL Server Integration Services, SQL Server Reporting Services, BizTalk Server
• Experienced developer using ASP, ASP.Net, C#, VB.Net, producing DeskTop, Mobile and Web applications
Agenda• What is BizTalk?• BizTalk Architecture• BizTalk Components• Demo 1 – Consuming files• What’s new in BizTalk 2010?• Demo 2 – Consuming a WCF service• Extensibility Features in BizTalk Server• Demo 3 – Building a Custom Adapter• What else do you need to know?• Give it a try!
Também disponível em vídeo...
Assista!http://www.vimeo.com/16484517
What is BizTalk?
MainFrame
Web Site
Internal Databases
Supliers
Intranet
Customers(B2B or B2C)
ERP
Legacy Systems
What is BizTalk?• BizTalk Server is Microsoft’s Integration and
connectivity server solution• Allows organizations to more easily connect disparate
systems• Includes over 25 multi-platform adapters and a robust
messaging infrastructure• Provides strong durable messaging, a rules engine, EDI
connectivity, Business Activity Monitoring (BAM), RFID capabilities and IBM Host/Mainframe connectivity
Why BizTalk?
• One single tool and infra-structure for system integration
• Simplify and automate interoperability to reduce costs and errors
• Automate your business interactions with partners• Gain critical insights on business processes and
performance
BizTalk Architecture
BT Components: Adapters • Used for sending and receiving messages, they
will interoperate with “all kinds” of applications on “all kinds” of systems
• BT has a lot of them built-in: SAP, Siebel, IBM DB/2, SharePoint, JD Edwards, File, MSSQL, SMTP, FTP, HTTP, etc
• Third-party adapters exists in the Market• Developers can build their own
BT Components: Pipelines • Applied on incoming and/or outgoing messages,
they perform steps, that can change the message• Used for translating xml to regular files, it can be
used for authenticating the message and other features
• Developers can create custom pipelines using the Pipeline Designer, which runs inside Visual Studio, enabling whatever behavior is required
BizTalk Pipeline Designer
BT Components: Data Mapping • Applied to a message (xml format), it can
produce a different xml instance• It is accomplish with XSLT transformation.• BizTalk provides the BizTalk Editor (a xsd
editor) and the BizTalk Mapper (a xslt editor)• Developers can build schemas and Maps by
hand or using the BizTalk tools
BizTalk Mapper
BT Components: Orchestrations • Orchestrations are a set of actions that together meet
some useful business need• The Orchestration Designer (integrated in Visual
Studio) lets a developer define these actions by connecting together a series of shapes in a logical way
• For an easy collaboration between software developers and business people, an orchestration created in Visual Studio can be imported into Visio and vice-versa
BizTalk Orchestration Designer
BT Components: Business Rule Engine • BRE allows business analysts to change orchestration
behavior without re-deploying the orchestration• The Business Rule Composer allows the definition of
a set of business rules. Rules are composed by terms (for example, Maximum Quantity of Items) . The value for each term might be a constant, a xml attribute retrieved from a message, a value coming from a SQL query or a value coming from a .Net component
BT Comps: Business Rule Engine (2)
• A rule uses the terms defined in some vocabulary together with logical operators such as Greater Than, Less Than, Is Equal To, and others to define how a business process operates
• To execute a business policy, an orchestration uses a CallRules shape, passing in the information this policy needs, such as a received XML document
Consuming a flat file, inserting file records into a SQL Server
database table
Demo 1
What’s new in BizTalk 2010 (1)?• BizTalk Server Settings Dashboard: addresses
performance settings• Improved Management Pack: Through System Center
Operations Manager (SCOM), management is easier• FTP Adapter Enhancements: Support for secure FTP,
readonly locations and atomic file transfer in ASCII mode
• Enhanced Trading Partner Management: new approach on B2B communication
What’s new in BizTalk 2010 (2)?• Enhanced support for HIPAA (Health Insurance Portability
and Accountability Act) documents: support for 5010 version
• Enhanced BizTalk Mapper: Intellisense, Relevance View, Suggestive Matching, Optimized Display of links, Search support
• Support for .NET Framework 4, SQL Server Backup Compression in BizTalk Server and SQL Server Transparent data encryption, Hyper-V, SharePoint 2010
• Monitoring known issues in BizTalk Server: new SQL Agent job for tracking known issues
Deprecated Features, Tools, and APIs
• EDI Pipeline: now available as part of the Trading Partner Management user interface• EDI Context Properties: DestinationPartyID,
DestinationPartyName• SOAP Adapter: You should use the WCF-BasicHttp or
WCF-WSHttp adapter• BizTalk Web Services Publishing Wizard: you should
instead use the BizTalk WCF Publishing Wizard with the WCF-BasicHttp
Extensibility Features in BizTalk Server
“The presence of the code is often a symptom of not understanding the problem, not understanding BizTalk, or both”, by Erik Westermann
Extensibility Features in BizTalk Server
• Adapters: physical message delivery in and/or out of the system
• Pipelines: message tretatment and/or validation before and/or after message is sent and/or received
• Functoids: used in BizTalk maps
The Adapter framework
• Offers a stable, open mechanism for all adapters to implement or access work from the BizTalk Server Messaging Engine
• The interfaces described in the Microsoft.BizTalk.Adapter.Framework namespace enable adapters to provide a means to modify configuration property pages. It also is a means to import services and schemas into the BizTalk project
Custom pipelines
• A pipeline component is a .NET or COM component that implements a set of predefined interfaces for interaction with the BizTalk Messaging Engine
• You can create three types of pipeline components: general, assembling, and disassembling (different interfaces for each)
Developing custom functioids
• Custom functoids provide a way for you to extend the range of operations available within the BizTalk Server mapping environment
• Each custom functoid is deployed as a .NET assembly using classes derived from Microsoft.BizTalk.BaseFunctoids
Building a Custom Functiod
Demo 2
What else do you need to know?
• Transactions (Atomic and Long Running)• Error handling and error recovery• Debug tools• Deployment tools• Monitoring and Performance Analysis ToolsBizTalk resilience features
(message Dehydration and Rehydration)• BizTalk Correlation Sets• BizTalk and the ESB tool kit• BizTalk and Azure• BizTalk and AppFabric
Give it a try!
• Go to http://www.microsoft.com/biztalk/en/us/default.aspx (no credentials, no registration is required).
• Download the fully functional BizTalk Server 2010: free for 120 days.
System Requirements• Microsoft Windows: Can be Windows 7, Windows Server 2008 R2, Windows
Server 2008 SP2, Windows Vista® with Service Pack 2 (SP2), 32-bit (x86) or 64-bit (x64) platforms
• SQL Server 2008 R2 or SQL Server 2008 SP1 • Microsoft .NET Framework 4 and .NET Framework 3.5 with Service Pack 1
(SP1)• Microsoft Visual Studio 2010 [Required for selected features only]• Microsoft Office Excel 2010 or 2007 [Required for selected features only] • SQL Server 2005 Notification Service [Required for selected features only] • SQLXML 4.0 with Service Pack 1 [Required for selected features only] • Internet Information Services (IIS) Version 7.5 and 7.0 [Required for selected
features only]
Quote
“One Orchestration to rule them all,One Subscription to find them,One Port to bring them alland in the engine bind them”
Charles Young
Questões?
ReferenciasMicrosoft BizTalk Server Homepage
– http://www.microsoft.com/biztalk
BizTalk Server Developer Center (MSDN)– http://msdn.microsoft.com/en-us/biztalk/default.aspx
BizTalk Gurus– http://www.biztalkgurus.com/blogs/
BizTalk Webcasts– http://www.cloudcasts.net/Default.aspx?category=BizTalk
Patrocinadores desta reunião
Thanks!
João [email protected]://twitter.com/jfanecahttp://jfaneca.spaces.live.com/