Book Image

Cloud Development and Deployment with CloudBees

By : Nicolas De loof
Book Image

Cloud Development and Deployment with CloudBees

By: Nicolas De loof

Overview of this book

CloudBees offers a Platform as a Service (PaaS) to build, run, manage web applications, and support the entire application lifecycle right from development to deployment.The development and deployment of web- and mobile-based Java applications are the basic services that CloudBees has to offer. With these services you can efficiently build and enhance applications, and connect them to existing networks and systems. Cloud Development and Deployment with CloudBees introduces you to the concept of Platform as a Service. It talks about the services in detail that developers can leverage in order to build, manage, and deploy their applications with ease onto the cloud. You will learn the intricacies of the CloudBees ecosystem and how it can be extended to match your specific requirements. Cloud Development and Deployment with CloudBees will get you started with the concepts of PaaS and why it is considered better than other forms of services. You will then learn to create and manage your account, understand the CloudBees ecosystem, and subscribe to the wide array of services available. After this, you will use the clickStart feature that will enable you to set up, run, and host your application on the cloud. You will also venture out into the development phase by understanding Jenkins and how it would help you to build, maintain, and integrate your project build. You will then learn how to use the RUN@CLOUD platform to host your application, and you will also delve into cloud concepts, and understand the architectural constraints and how to monitor the application. Finally, you will deep dive into the extensive capabilities of using clickStack to create or customize your own stack.
Table of Contents (15 chapters)
Cloud Development and Deployment with CloudBees
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Advanced ClickStack


Sharing the code

As I have described the JBoss ClickStack setup as a complex setup process, you may have noticed that I omitted a major step: I didn't talk about installing JVM to run Tomcat.

CloudBees has a Java ClickStack for general purpose Java applications used to deploy non Servlet-based applications. But the JBoss ClickStack (https://github.com/CloudBees-community/java-clickstack) can't be used in combination with Java ClickStack (two-active GenApp plugins) as both of them will try to create the control/start script.

As a workaround, JBoss directly embeds the Java ClickStack plugin. Similar to most of the ClickStacks, this one's setup script only invokes the lower-level functions, and this lets JBoss ClickStack to re-use them for setting up both the Java runtime and JBoss container.

Sharing code within ClickStack is not homogeneous and depends on the developer's habits. Tomcat 7 uses Git submodules to include Java ClickStack and invoke its setup functions. Some include...