Summary
This course is for developers and architects who want to get hands-on experience using Anypoint Platform™ to build APIs and integrations. In the first part, students use Anypoint Platform discover, consume, design, build, deploy, manage, and govern APIs. In the second part, students focus on using Mule 3 and Anypoint Studio to build applications for use as API implementations and/or integrations.
Get a datasheet for the course here.
Note: For the Mule 4 version of the course, go here.
Objectives
At the end of this course, students should be able to:
- Build an application network using API-led connectivity and Anypoint Platform.
- Use Anypoint Platform to discover, consume, design, build, deploy, manage, and govern APIs.
- Connect to databases, files, web services, SaaS applications, JMS queues, and more.
- Add application logic, handle errors, and transform data using DataWeave.
- Structure applications to facilitate development and deployment.
- Handle batch data processing.
Prerequisites
- Experience with Java (preferred) or another object-oriented language
- A basic understanding of data formats such as XML, CSV, and JSON
- A basic understanding of typical integration technologies such as HTTP, JMS, JDBC, REST, and SOAP
Setup requirements
- A computer with:
- At least 8-16 GB RAM (16 highly recommended), 2GHz CPU, and 10GB available storage
- A minimum screen resolution of 1024x768
- Internet access to ports 80, 3306, and 61616 (with > 5Mbps download and > 2Mbps upload)
- The latest version of Chrome, Safari, Firefox, or Edge
- An Anypoint Platform account
- JDK 1.8
- Anypoint Studio 6 with embedded Mule 3.9 runtime
- A Salesforce Developer account (not a standard account) and API Access token
- Postman REST client (or any other REST client application)
Get a detailed setup document here.
PART 1: Building application networks with Anypoint Platform
Module 1: Introducing application networks and API-led connectivity |
- Explain what an application network is and its benefits
- Describe how to build an application network using API-led connectivity
- Explain what web services and APIs are
- Explore API directories and portals
- Make calls to secure and unsecured APIs
|
Module 2: Introducing Anypoint Platform |
- Identify all the components of Anypoint Platform
- Describe the role of each component in building application networks
- Navigate Anypoint Platform
- Locate APIs and other assets needed to build integrations and APIs in Anypoint Exchange
- Build basic integrations to connect systems using flow designer
|
Module 3: Designing APIs |
- Define APIs with RAML, the Restful API Modeling Language
- Mock APIs to test their design before they are built
- Make APIs discoverable by adding them to Anypoint Exchange
- Create API portals for developers to learn how to use APIs
|
Module 4: Building APIs |
- Use Anypoint Studio to create flows graphically
- Build, run, and test Mule applications
- Use a connector to connect to databases
- Use the graphical DataWeave editor to transform data
- Create RESTful interfaces for applications from a RAML file
- Connect API interfaces to API implementations
|
Module 5: Deploying and managing APIs |
- Describe the options for deploying Mule applications
- Use properties in Mule applications so they can be easily moved between environments
- Deploy Mule applications to CloudHub
- Use API Manager to create and deploy API proxies to CloudHub
- Restrict access to API proxies
|
PART 2: Building applications with Anypoint Studio
Module 6: Accessing and modifying Mule messages |
- Log message data
- Debug Mule applications
- Read and write message properties
- Write expressions with Mule Expression Language (MEL)
- Create variables
|
Module 7: Structuring Mule applications |
- Create and reference flows and subflows
- Pass messages between flows using the Java Virtual Machine (VM) transport
- Investigate variable persistence through subflows and flows and across transport barriers
- Encapsulate global elements in separate configuration files
- Explore the files and folder structure of Mule projects
|
Module 8: Consuming web services |
- Consume RESTful web services with and without parameters
- Consume RESTful web services that have RAML definitions
- Consume SOAP web services
- Use DataWeave to pass parameters to SOAP web services
|
Module 9: Handling errors |
- Describe the different types of exception strategies
- Handle messaging exceptions in flows
- Create and use global exception handlers
- Specify a global default exception strategy
|
Module 10: Controlling message flow |
- Route messages based on conditions
- Multicast messages
- Filter messages
- Validate messages
|
Module 11: Writing DataWeave transformations |
- Write DataWeave expressions for basic XML, JSON, and Java transformations
- Store DataWeave transformations in external files
- Write DataWeave transformations for complex data structures with repeated elements
- Coerce and format strings, numbers, and dates
- Use DataWeave operators
- Define and use custom data types
- Call MEL functions and Mule flows from DataWeave transformations
|
PART 3: Building applications to synchronize data
Module 12: Connecting to additional resources |
- Connect to SaaS applications
- Connect to files
- Poll resources
- Connect to JMS queues
- Discover and install connectors not bundled with Anypoint Studio
|
Module 13: Processing records |
- Use the For Each scope to process items in a collection individually
- Use the batch job element (EE) to process individual records
- Trigger batch jobs using polls
- Use batch jobs to synchronize data from legacy databases to SaaS applications
|