Book Image

OpenShift Cookbook

By : Shekhar Gulati
Book Image

OpenShift Cookbook

By: Shekhar Gulati

Overview of this book

Table of Contents (19 chapters)
OpenShift Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Running OpenShift on a Virtual Machine
Index

Developing OpenShift Java applications using Eclipse


You can build, deploy, and manage your OpenShift Java applications right from within the Eclipse IDE using the JBoss Tools OpenShift plugin. This recipe will guide you through installation, setup, application creation, and managing your application from within Eclipse. In this recipe, you will develop a Java EE 6 PostgreSQL 9.2 application and deploy it on the JBoss EAP 6 application server running on OpenShift all from within Eclipse.

Getting ready

Download the latest Eclipse package for your operating system from the official Eclipse website at http://www.eclipse.org/downloads/. At the time of this writing, the latest Eclipse package is Kepler.

It is very easy to install Eclipse; just extract the downloaded package, and we are done. On Linux and Mac, open a new command-line terminal, and type the following command:

$ tar -xzvf eclipse-jee-kepler-R-*.tar.gz 

On Windows, you can extract the ZIP file using WinZip or 7-zip (http://www.7-zip...