DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Zones

Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

How are you handling the data revolution? We want your take on what's real, what's hype, and what's next in the world of data engineering.

Generative AI has transformed nearly every industry. How can you leverage GenAI to improve your productivity and efficiency?

SBOMs are essential to circumventing software supply chain attacks, and they provide visibility into various software components.

Related

  • Serverless vs Containers: Choosing the Right Architecture for Your Application
  • Before You Microservice Everything, Read This
  • Power BI Embedded Analytics — Part 3: Power BI Embedded Demo
  • DGS GraphQL and Spring Boot

Trending

  • Stop Building Monolithic AI Brains, Build a Specialist Team Instead
  • Reinforcement Learning in CRM for Personalized Marketing
  • DevOps Remediation Architecture for Azure CDN From Edgio
  • Orchestrating Edge Computing with Kubernetes: Architectures, Challenges, and Emerging Solutions

How to Deploy an Application in Mule Standalone Runtime

If you're confused about how to run and deploy a Mule app in Mule Standalone runtime, this tutorial will show you how, complete with a video guide.

By 
Naveen Kumar user avatar
Naveen Kumar
·
Jun. 03, 17 · Tutorial
Likes (6)
Comment
Save
Tweet
Share
31.2K Views

Join the DZone community and get the full member experience.

Join For Free

This article tells about how you can install Mule Standalone runtime and how you can deploy a Mule project/application. We will also see how it runs and gives a result similar to what can be done in Mule Anypoint Studio.

  1. We need to download the Mule Standalone runtime from this location. 

  2. Once you have downloaded the runtime, you need to unzip that file to where you want to place it and run it from in your machine.

  3. The best place to put it is in your Anypoint Studio Installation folder, so that all the things will fall under a single tree. 
    Image title

  4. We can find the mule.bat file in the bin folder of the runtime; we need to use this batch file to start the standalone runtime.

  5. First, we should have a project that is ready for deploying in the runtime. For that, we need to go to Anypoint Studio and create an application.

  6. This is going to be a simple project that uses the helloworld example; it includes an HTTP Component, SetPayload Component, and a logger, as shown in the screenshot.Image title

  7. Once the app is ready, we need to run this application in Anypoint Studio to see if it is working or not. We can check with Postman and make sure it is working.

  8. We need to export this project from Anypoint Studio as a Mule application deployable archive, as shown in the below screenshot; this should be done while the application is running in Anypoint Studio.Image titleImage title

  9. Once we have the archive, make sure we have stopped the project in Anypoint Studio. Then we need to copy this archive file to the {mule-standalone-runtime}/apps folder.

  10. We are all set to start the run-time from the bin folder. Double click mule.bat; it will take a few minutes when you are running it for the first time.Image title

  11. You can see that the application is deployed from the runtime, and you can go to the postman and test it to see if it is working or not.

  12. You can see the response received from the application.

This is how we can deploy and use an application with Mule Standalone runtime.

Thanks for reading and stay tuned for some more topics. I have included my video tutorial:



application

Opinions expressed by DZone contributors are their own.

Related

  • Serverless vs Containers: Choosing the Right Architecture for Your Application
  • Before You Microservice Everything, Read This
  • Power BI Embedded Analytics — Part 3: Power BI Embedded Demo
  • DGS GraphQL and Spring Boot

Partner Resources

×

Comments

The likes didn't load as expected. Please refresh the page and try again.

ABOUT US

  • About DZone
  • Support and feedback
  • Community research
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • [email protected]

Let's be friends: