Learning OpenShift
Subtitle: leverage the power of cloud computing using OpenShift Online to design, build, and deploy scalable applications
By: Grant Shipley
Series: Community experience distilled; Community experience distilled
Publisher: Packt Pub.
Published: 2014
Place of publication: Birmingham, U.K
Language: eng
ISBN-13: 9781783980970; 9781783980963
Subjects: Application software; Development; Cloud computing; Open source software; Logiciels d'application; Développement; Infonuagique; Logiciels libres; COMPUTERS; Software Development & Engineering; General; Programming; Open Source; Cloud Computing
Description: This book is ideal for you if you're a developer experienced with the PHP or Java programming languages and have a basic understanding of using the command line.
Notes: Includes index.
Table of contents: title: Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Creating Your First OpenShift Application; Creating your OpenShift Online account; Installing and configuring the Red Hat Cloud command-line tools; Installing the RHC command-line tools for Microsoft Windows; Installing the RHC command-line tools for OS X; Installing the RHC command-line tools for Linux; Configuring the RHC command-line tools; Creating your first OpenShift Online application; What just happened?; Placement of your gear; Creating your application account.; title: Configuring your applicationCloning the remote Git repository; Adding the source code to your application; Using the web console; Summary; Chapter 2: Creating and Managing Applications; Learning the essential RHC commands; Displaying information about an application; Deleting applications; Understanding cartridges; Web cartridges; Add-on cartridges; Using cartridges; Adding cartridges; Using databases with your application; Adding the phpMyAdmin add-on cartridge; Developing the application; Understanding the code; The cron cartridge; Adding the cron cartridge; Adding a cron job; Summary.; title: Chapter 3: Application MaintenanceStopping and starting applications; Viewing application logfiles; Creating your own logfiles; Viewing a single logfile; Backing up and restoring applications; Creating a snapshot; Restoring a snapshot; Secure shell and your application; Understanding and viewing the /etc/passwd file; Understanding and viewing cgroup information; Setting the timeout parameter and viewing logfiles; Understanding environment variables; Setting your own environment variables; Summary; Chapter 4: Using an Integrated Development Environment.; title: To use an IDE or not to use an IDE is the questionInstalling and configuring Eclipse; Downloading and installing Eclipse; Downloading and installing the OpenShift plugin; Importing an existing OpenShift application; Creating and managing a new OpenShift application; Deploying changes; Viewing your application's logfiles; Embedding add-on cartridges; Viewing your application's environment variables; Viewing the details of an application; Deleting an application; Integrating OpenShift with other IDEs; Summary; Chapter 5: Creating and Deploying Java EE Applications; Evolution of Java EE.; title: Introducing the sample applicationCreating a JBoss EAP application; Adding database support to the application; Importing the MLB stadiums into the database; Adding database support to our Java application; Creating the database access class; Creating the beans.xml file; Creating the domain model; Creating the REST services; Verifying the REST web services; Creating the user interface; Creating the map using Leaflet and OpenStreetMap; Verifying that the map was deployed and is responsive; Getting the stadiums from our REST services; Adding the stadiums to the map.