Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Cloud Foundry for Developers

You're reading from  Cloud Foundry for Developers

Product type Book
Published in Nov 2017
Publisher Packt
ISBN-13 9781788391443
Pages 306 pages
Edition 1st Edition
Languages
Authors (3):
Rahul Kumar Jain Rahul Kumar Jain
Profile icon Rahul Kumar Jain
Rick Farmer Rick Farmer
Profile icon Rick Farmer
David Wu David Wu
Profile icon David Wu
View More author details

Table of Contents (20) Chapters

Title Page
Credits
About the Authors
Acknowledgements
About the Reviewer
www.PacktPub.com
Customer Feedback
Dedication
Preface
1. Cloud Foundry Introduction 2. Cloud Foundry CLI and Apps Manager 3. Getting Started with PCF Dev 4. Users, Orgs, Spaces, and Roles 5. Architecting and Building Apps for the Cloud 6. Deploying Apps to Cloud Foundry 7. Microservices and Worker Applications 8. Services and Service Brokers 9. Buildpacks 10. Troubleshooting Applications in Cloud Foundry 11. Continuous Integration and Continuous Deployment

Worker applications


In Chapter 6, Deploying Apps to Cloud Foundry, you learned how to build and deploy a simple web application into Cloud Foundry on PCF Dev. Once the application was pushed onto PCF Dev, the platform created a route to the application that could then be used by the users to communicate with the various endpoints exposed by the application. In this section, we will talk about the applications that have no route, but that run in the background, performing a task. A worker application is basically a process, lower level than a web application, that maps naturally to many so-called back-office jobs.

These applications generally have no API endpoints, and can be treated as the jobs that are run every night, to keep various systems in sync. A worker application can be written in any language and be deployed into Cloud Foundry.

Fortune teller worker application

We will now build a Spring Boot application that will run every five seconds and output a random fortune. Let's call this...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}