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
Please enter at least three characters to search
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

Last call! Secure your stack and shape the future! Help dev teams across the globe navigate their software supply chain security challenges.

Modernize your data layer. Learn how to design cloud-native database architectures to meet the evolving demands of AI and GenAI workloads.

Releasing software shouldn't be stressful or risky. Learn how to leverage progressive delivery techniques to ensure safer deployments.

Avoid machine learning mistakes and boost model performance! Discover key ML patterns, anti-patterns, data strategies, and more.

Related

  • How To REST With Rails and ActiveResource: Part Three
  • Spring Boot - How To Use Native SQL Queries | Restful Web Services
  • How to Consume REST Web Service (GET/POST) in Java 11 or Above
  • Breaking Up a Monolithic Database with Kong

Trending

  • Medallion Architecture: Efficient Batch and Stream Processing Data Pipelines With Azure Databricks and Delta Lake
  • Teradata Performance and Skew Prevention Tips
  • The Role of Functional Programming in Modern Software Development
  • Apache Doris vs Elasticsearch: An In-Depth Comparative Analysis
  1. DZone
  2. Software Design and Architecture
  3. Integration
  4. How To Create a Restful Web Service Using Low Code Integration Platform

How To Create a Restful Web Service Using Low Code Integration Platform

This article shows a video demonstration on how to create a restful webservice using TIBCO Active Matrix Business Works 6 version (BW6) or Container Edition (BWCE)

By 
Pradeep Kumar Dhoopati user avatar
Pradeep Kumar Dhoopati
·
Sep. 18, 22 · Tutorial
Likes (2)
Comment
Save
Tweet
Share
4.5K Views

Join the DZone community and get the full member experience.

Join For Free

TIBCO Active Matrix Business Works is a middleware product which serves as an integrated foundation for mission-critical IT environments. Powered by a next-generation foundation that includes an Eclipse-based design-time, a powerful process engine and a modular OSGi-based run-time, Business Works 6 enables developers to create new services, orchestrate business processes and integrate applications in the shortest time possible.

In this tutorial, we will see how to create a RESTful Web Service using TIBCO Business Works 6 (BW6) or Container Edition (BWCE). TIBCO Business Works Container Edition allows customers to leverage the power and functionality of TIBCO Active Matrix Business Works in order to build cloud-native applications with an API-first approach and deploy it to container-based PaaS platforms such as Cloud Foundry, Kubernetes and OpenShift or to similar Docker-supported cloud platforms.

  • Open the business studio for business works, Welcome screen appears.
  •  Go ahead and click on the workbench, it takes you to the design view.
  •  Create a new application module by clicking on a new project.
  •  It will open a project wizard, locate the application module and click on next.
  •  Name the application as rest service, click next and leave all the default folders as is, click on next then finish.
  •  This will create a typical business works application module with an empty process.
  •  Delete the empty process which comes as part of application module creation.
  •  Right-click on the rest service package and create a new business works rest resource.
  •  It opens a rest service wizard, leaves all the default values as is then unchecks the post operation and checks the get operation, click on next then finish.
  •  This will create an address resource with the get operation, the get-out activity is where the output for the rest application is configured.
  •  Give a hello world string for the application as output and say welcome to BW6 and save.
  •  Add a logger to the process, for that go to general activities and go down to locate log activity, then drop it in the process canvas.
  •  Drag the transition to connect to get output activity and in the log, the message writes a log message saying this is a BW application and saves it.
  •  This completes the designing process, to test the application click on the play button.
  •  It launches the application, goes to the console view to see the logs; waits until the project gets started.
  •  As soon as the BW application is started, try to invoke the rest application.
  •  To do that click enter and get the rest URL for the application by typing the l-rest doc command which gets the discovery URL for the rest application.
  •  Copy this URL, use a browser and click enter this will open the Swagger UI. TIBCO BW6 has native support for Swagger UI.
  •  Click on the resource to see all the resources that are implemented in the rest web service.
  •  Currently, get a resource, click on try it out and a message shows "hello world welcome to BW6" with the response code 200 which means it is successful.
  •  Go to the studio to see the logs, to locate the log which is configured in the log activity "this is a BW application"
REST Web Service

Opinions expressed by DZone contributors are their own.

Related

  • How To REST With Rails and ActiveResource: Part Three
  • Spring Boot - How To Use Native SQL Queries | Restful Web Services
  • How to Consume REST Web Service (GET/POST) in Java 11 or Above
  • Breaking Up a Monolithic Database with Kong

Partner Resources

×

Comments
Oops! Something Went Wrong

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
  • support@dzone.com

Let's be friends:

Likes
There are no likes...yet! 👀
Be the first to like this post!
It looks like you're not logged in.
Sign in to see who liked this post!