Eric D. Schabell

Sunday, March 11, 2012

Red Hat Cloud Tour 2012 Amsterdam - An OpenShift Primer

I will be in Amsterdam on 3rd of April 2012 talking at the Red Hat Cloud Tour 2012. We will be covering a legion of Cloud related topics, but I will be focusing on both JBoss in the Cloud and OpenShift as your PaaS of choice for your business application in the Cloud.

OpenShift Primer - get your business into the Cloud today!

Whether your business is running on applications based on Java EE6, PHP or Ruby, the cloud is turning out to be the perfect environment for developing your business.
There are plenty of clouds and platform-as-a-services to choose from, but where to start? Join us for an action-packed hour of power where we'll show you how to deploy your existing application written in the language of your choice - Java, Ruby, PHP, Perl or Python, with the framework of your choice - EE6, CDI, Seam, Spring, Zend, Cake, Rails, Sinatra, PerlDancer or Django to the OpenShift PaaS in just minutes.
All this and without having to rewrite your app to get it to work the way the cloud provider thinks your app should work.
You can have your business applications running in the cloud on OpenShift Express in seconds, while also making use of the web browser do the heavy-lifting of provisioning clusters, deploying, monitoring and auto-scaling apps in OpenShift Flex.
If you want to learn how the OpenShift PaaS and investing an hour of your time can change everything you thought you knew about putting your business applications in the cloud, this session is for you!


Friday, March 9, 2012

Getting started with the OpenShift Express Web Management Console

This week the newest release of OpenShift brought two really great features to an already awesome PaaS Cloud provider. First, JBoss AS has been upgraded from 7.0 to 7.1 and the all new Express Web Management Console has been released as a preview. In this article we examine how to use this new console and will help you create and then destroy an application.

Overview
Figure 1: follow link to launch
the Express Console
In this section we assume you have already registered as an OpenShift user and are logged into the OpenShift Express start page. In figure 1 the Express landing page is shown and if you follow the Express Console link you will be brought to a page that currently shows the old administration console and includes a link to Preview the new OpenShift Management Console. Follow this link to the preview as shown for my user in figure 2.

Figure 2: preview Express
management console
It provides an overview of the users existing application, with a Details button for each application. My user has two application already created, one a jBPM web editor project based on JBoss and a second PHP twitter project that makes use of mongodb as a backend, see figure 2. At the top of the applications list, you have a button to Create a New Application. We will be using this button to create an existing project called kitchensinkhtml5, a mobile application from the JBoss project Aerogear. The nice thing about this demo project is that you can view it both in your desktop browsers and in your mobile devices.
Figure 3: choose a type
of application

Create application
Since this user already has created a domain and has existing applications setup, we just need to start by using the Create a New Application button. This takes us to the first of three steps where we will choose a type of application, which will be the JBoss Application Server 7.1 chosen by the Select button shown in figure 3.

Figure 4: create application
The next step is to configure and deploy the application, done by filling in an application name in the provided text box and clicking on the Create Application button. We will be calling this application kitchensinkhtml5, so we fill in that name in the text box and submit to create our new application as shown in figure 4.

Figure 5: next steps
Once we submit our creation request, the OpenShift Express magic is started to setup our new instance with JBoss AS 7.1 started. We are presented with a final screen that is labeled Next Steps which provides information on accessing your application, making code changes, how to manage your application and how to start adding capabilities. As shown in figure 5, we will be pulling in a git clone of our Express application repository so that we can setup our kitchensink application code. As stated in the section making code changes we will clone the repository locally from a shell command line:

git clone ssh://8df3de8e983c4b058db372e51bfe5254@kitchensinkhtml5-inthe.rhcloud.com/~/git/kitchensinkhtml5.git/
cd kitchensinkhtml5/
Once that is done we need to pull in our existing kitchensink code base:

cd kitchensinkhtml5
git remote add upstream -m master git://github.com/eschabell/kitchensink-html5-mobile-example.git
git pull -s recursive -X theirs upstream master
 Finally, we push this back upstream to our Express instance as follows: 
git push  
We can now view the application at the URL assigned to our Express instance: 
http://kitchensinkhtml5-{$domainname}.rhcloud.com

You should see the mobile member registration application as shown here in figure 6.
Figure 6: mobile application

Destroy application
A final action that you can do with the new OpenShift Express Web Management Console is to destroy your application. As we only get five instances at a time, you will soon find yourself creating and destroying Express instances with ease.

Figure 7: delete application
After logging in as described above and starting the preview of the web management console, you will see your list of existing applications. By selecting an applications Details button you will be shown an overview of the application, see figure 7 for our example editor application we will be destroying.

Figure 8: application deleted
You will notice a Delete button in the right top corner of the application overview screen, see figure 7. When selected, you will be asked to confirm that you really want to destroy this application. If you confirm this decision by clicking on the Delete button, your application and Express instance will be cleaned up. You will be returned to the application overview screen, see figure 8, and are ready for your next interaction with the Express Web Administration Console.

Summary
In this article we have covered the very basics of the newly released OpenShift Express Web Administration Console. We have shown you how to view your applications, create a new application and how to free up an Express instance by destroying one of your applications.


Thursday, March 8, 2012

Codemotion 2012 - Get your code into the Cloud with OpenShift

My talk on helping you get your code into the Cloud with OpenShift has been accepted for Codemotion 2012 in Rome, Italy. 

My session will be on Friday, 23 March 2012 from 1410 hrs. I will be wandering around all day and have some pretty cool t-shirts to pass out if you can show me your code running in OpenShift!

 If you want to get the most out of this session, please bring your laptop and sign up for an account at OpenShift begin sure to use the promotional code: CODEMOTION.

See you there!

Sunday, March 4, 2012

Video Recording: An OpenShift Primer for Developers to get your Code into the Cloud

The great group over in Luxembourg (YaJUG) put up a recording on parleys.com of the OpenShift session I gave in January 2012.

I cover lots of OpenShift, so enjoy!

Video Recording: JBoss Brings More Power to your Business Processes

The great group over in Luxembourg (YaJUG) put up a recording on parleys.com of the jBPM5 session I gave in January 2012. This took place after a previous talk and I have just changed 'uniform' to put on the JBoss shirt.

I cover BPM, jBPM and the jBPM Migration project. Enjoy!

Monday, February 20, 2012

Portugal JUG (PTJUG) - a night of jBPM and OpenShift

As previously posted, I was in Lisbon last week to meet with the Portugal Java User Group (PTJUG) and present on the jBPM5 project followed by OpenShift.

The flight into town is worth mentioning as you come into the city itself, making for some really spectacular views of castles, old churches and just beautiful Portugese architecture stacked against the hills of Lisbon. It was also great to come from the colder Netherlands into a summer temperature of 16 degrees (for my home location, that is summer)!

Bull fighting ring
The location was the Instituto Supirior Technico, situated right close to the center. I had a bit of time to get ready so on the advice of my hotel I walked two blocks down the road in the lovely summer like sunshine to view a bull fighting ring. Set the mood for the event session!

I arrived at the event location to be greeted by a group from the PTJUG and we got settled in the room. Before we started they made sure I met each and everyone that was attending, from consultants, engineers, developers, analysts, managers and even a professor. It was a very relaxed and sociable group of guys (not to forget, the single lady that showed up to claim the first ever OpenShift Ladies T-shirt!). We had a total of ~30 people show for the talks, but I forgot to actually count. I did notice that the 40 OpenShift t-shirts I brought did not survive the end of the event!

jBPM 5
We talked jBPM first, with quite a bit of interaction as there were users with experience in jBPM3 in the audience. We demo'ed the round tripping, jBPM console, the diverse IDE tooling support and looked extensively at the web designer. I also provided a peak at the early access bits of the upcoming JBoss Business Rules Management System product that will contain the newer jBPM5 components.

There were some questions around the various integrations and an interesting request to provide an open source evaluation of the new jBPM5 to place along side the existing one on the Workflow Patterns site. We also spent time discussing and digging into the jBPM Migration project as a preview of what the migration possibilities might be moving forward.

View more presentations from Eric D. Schabell

OpenShift
After a short break we moved on to the OpenShift session. This talk was about getting the audience into the session, so I pushed actually from the start of the entire event to have them sign up for an OpenShift account with their laptops and to follow along. We walked through the Express setup, client tools and focused a lot in the demo section on the Java tooling provided by JBossTools project. This was enforced by doing the demo through both Eclipse with JBossTools and with JBoss Developer Studio 5. This early release version integrates the OpenShift wizards and tooling to get you started.


The event concluded with a nice discussion around the possibilities of clustering Express instances, how to interact between two nodes of Express and what the advantages of Flex would be. Some of the audience had already used OpenShift for personal projects. I was asked if I wanted to come back before the end of the year to talk about OpenShift updates as the Open Sourcing and exposing the cartridge API will be of great interest for this group.

It was a great time with experiences Java users, jBPM users and the interaction was nice during both talks. I really enjoyed this event and look forward to meeting up with the PTJUG anytime in the future!

Friday, February 3, 2012

JUDCon 2012 Boston - OpenShift State of the Union / OpenShift Primer


Boston, June 25-26

The call for papers is open, but not official on the website yet. I thought I would submit my sessions before I get snowed under (really, it is below zero here in NL all week, skating on the canals, snow today...). Hope to get accepted and see you all there!

An OpenShift Primer for Developers to get your Code into the Cloud

Whether you're a seasoned Java developer looking to start hacking on EE6 or you just wrote your first line of Ruby yesterday, the cloud is turning out to be the perfect environment for developing applications in just about any modern language or framework. There are plenty of clouds and platform-as-a-services to choose from, but where to start?


Join us for an action-packed hour of power where we'll show you how to deploy an application written in the language of your choice - Java, Ruby, PHP, Perl or Python, with the framework of your choice - EE6, CDI, Seam, Spring, Zend, Cake, Rails, Sinatra, PerlDancer or Django to the OpenShift PaaS in just minutes. And without having to rewrite your app to get it to work the way the cloud provider thinks your app should work.


If you want to learn how the OpenShift PaaS and investing an hour of your time can change everything you thought you knew about developing applications in the cloud, this session is for you!


OpenShift State of the Union, brought to you by JBoss

It has been a marriage made in heaven. JBoss has brought the enterprise application platform and JEE to the OpenShift PaaS for all of your development tasks. It is much more than a simple application server though, JBoss provides a multitude of projects that cover everything from mobile, business process management, web development, support tooling to inter connectivity with other development languages like Ruby.


This session will take you through an overview of what OpenShift has to offer right now, how to get started, and then provide some highlights of the various projects that you can now access within the JBoss community. Bring you laptop and follow along as we help you get started in mobile development with Aerogears, Ruby Java connectivity with TorqueBox, process development with tooling from jBPM and much more. These will all be real world projects put on display for you with code you can access live during this session!




JUDCon 2012 Boston - Getting your migration on with jBPM Migration Project

Boston,  June 25-26
The call for papers is open, but not official on the website yet. I thought I would submit my sessions before I get snowed under (really, it is below zero here in NL all week, skating on the canals, snow today...). Hope to get accepted and see you all there!

Getting your migration on with jBPM Migration Project

With the release of jBPM 5 in the Red Hat product JBoss BRMS 5.3 it is time to closely examine your existing legacy jBPM 3 projects for migration. What does the future bring?


This session will take a look at the background of jBPM 3 process projects and present how we plan to help you make the jumpt to jBPM 5. We will provide you with a plan for positioning your existing Enterprise jBPM projects and examine some of the architectural layers involved.  We will take a closer look at the tooling being created for this and steps you can take to ensure a smooth transition moving into your jBPM future.


Finally we will demo the existing tooling on an actual existing enterprise jBPM project. This will provide you with a real life scenario to take home as an example for your own BPM projects.