Congratulations! You just finished learning how to deploy and run an eap sample application

What's next?

I will be putting more scenarios upp on the learning system to show you other eap related samples. However, if you want to try some of the other sample applications you can amend the fields in the template to refer to another sample instead of the kitchensink. These can be edited when processing the template as per the previous tutorial page.

eap samples:

  • batch-processing
  • bmt
  • cmt
  • contacts-jquerymobile
  • ejb-in-war
  • ejb-timer
  • greeter
  • helloworld
  • helloworld-html5
  • helloworld-mdb
  • helloworld-rs
  • helloworld-singleton
  • helloworld-ws
  • hibernate
  • jaxrs-client
  • jsonp
  • jta-crash-rec
  • kitchensink
  • kitchensink-angularjs
  • kitchensink-jsp
  • kitchensink-ml
  • logging-tools
  • managed-executor-service
  • numberguess
  • payment-cdi-event
  • servlet-async
  • servlet-filterlistener
  • shrinkwrap-resolver
  • spring-greeter
  • spring-kitchensink-basic
  • spring-kitchensink-springmvctest
  • spring-resteasy
  • tasks
  • tasks-jsf
  • temperature-converter
  • thread-racing
  • websocket-client
  • websocket-endpoint
  • websocket-hello
  • xml-jaxp

For more details of the samples please look at eap samples

OpenShift Development Tooling:

OpenShift S2I References:

Red Hat EAP 7.1 kitchensink example

Step 1 of 3

Step 1 - Create an Initial Project

To get started, first we need to login to OpenShift.

To login to the OpenShift cluster use the following command in your Terminal:

oc login -u developer -p developer

This will log you in using the credentials:

  • Username: developer
  • Password: developer

You should see the output:

Login successful.

Now we need to create a Project space in OpenShift for our API.  In OpenShift we can create a new project by running

    oc new-project <projectname>

For out project let's create a project called eap-demo by running the command:

oc new-project eap-demo

You should see output similar to:

Now using project "eap-demo" on server "".

You can add applications to this project with the 'new-app' command. For example, try:

    oc new-app centos/ruby-22-centos7~

to build a new example application in Ruby.

We are not going to use the web console for this course, but if you want to check anything from the web console, switch to the Browser and use the same credentials to login as you used above to login from the command line.