Friday, 31 July 2015

IBM XPages on Bluemix: Webcast Replay: An introduction to creating Domino applications in the Bluemix environment

Today I received in response to an earlier question to SocialBiz User Group about the replay of the Webcast An introduction to creating Domino applications in the Bluemix environment  the following tweet. Very grateful. Thank you very much SocialBiz User Group!


You can find the Replay on the SocialBiz User Group website: Webcast Replay: An introduction to creating Domino applications in the Bluemix environment

On July 23rd there was a first webcast on IBM XPages for Bluemix; An Introduction to Creating Domino Applications in the Bluemix Environment.
Companies are looking to the cloud more and more for cost savings and to facilitate the creation of new modern applications. Join this webcast to find out how Bluemix – IBM's Platform as a Service (PaaS) cloud offering – can help create applications quickly, securely, and in a scalable manner. Get an introduction to Bluemix, what it offers, and more specifically how XPages and REST play a role key in it.

Watch this webcast and learn how to:
  • Easily get Bluemix up and running and how to create your own XPages applications quickly.
  • Integrate with the other services available within the Bluemix ecosystem.
  • Maximize the new and exciting possibilities this integration opens up to the Domino community.
Speakers were Mark Roden, Toby Samples Brian Gleeson and Martin Donnelly.

Thursday, 30 July 2015

IBM XPages on Bluemix - Great new video - Getting started with XPages on Bluemix - XPages Boilerplate Tutorial

Today Brian Gleeson has published a great new video on IBM developerWorks about IBM XPages on Bluemix - Getting started with XPages on Bluemix (XPages Boilerplate Tutorial).
This video covers a number of previously published blog post about IBM XPages on Bluemix.

If you are interested in IBM XPages on Bluemix and how to start with this
you should definitely watch this great video.
Also check out the accompanying blog post by Brian Gleeson on IBM developerWorks, Getting started with XPages on Bluemix.
This presentation covers IBM XPages Runtime, IBM XPages NoSQL Database and XPages Web Starter.



See also XPages on Bluemix - What are you waiting for?
Recently released on Bluemix were three experimental additions to the Bluemix Labs catalog: the XPages runtime, XPages NoSQL Database Service and the XPages Web Starter. This is a whistle-stop tour of what is on offer and to get a taste of why you should start developing XPages applications for Bluemix.

Wednesday, 29 July 2015

IBM XPages on Bluemix: Final Roundup of IBM XPages on Bluemix Information

Now IBM XPages on Bluemix is available for some time there has been a lot of information shared on this subject by several members of the community. I've said it before, we have a great community. This is my last roundup regarding information about IBM XPages on Bluemix. On my blog XPages and More I'm going to maintain a separate page from now on with all information about IBM XPages on Bluemix. You can find it here.
In case you missed some information during the last week below a summary of the most important and recommended blog posts up to now, videos and other links.


IBM XPages for Bluemix documentation
Building apps with the IBM XPages for Bluemix runtime
Getting started with IBM XPages NoSQL Database for Bluemix
Creating apps with the IBM XPages Web Starter

Recommended blog posts
Creating my first true XPages in Bluemix application via Mark Roden
XPages in Bluemix – where is the design and where is the data? via Mark Roden
XPages in Bluemix – Looking at the application dashboard via  Mark Roden
XPages in Bluemix – Pushing new changes via Bluemix git repository via Mark Roden
Bluemix Monitoring and Analytics – free service via Mark Roden
XPages on Bluemix a first look deploying app via Fredrik Norling
How to add your custom domain to your Bluemix app via Fredrik Norling
Building On Premises XPages The Bluemix Way via Paul Withers
XPages on Bluemix - finally we got here via Oliver Busse
Announcing IBM XPages on Bluemix via Brian Gleeson
XPages Comes to Bluemix via Eric McCormick
Usage of Cloudant NoSQL Databases in XPages Applications via Niklas Heidloff

My own humble contributions
IBM XPages on Bluemix: XPages NoSQL Database Part II - Connecting to the XPages NoSQL Database service from Domino Designer (1)
IBM XPages on Bluemix: XPages NoSQL Database Part I - Create an XPages NoSQL Database service instance
IBM XPages on Bluemix: Slides from the Webcast An Introduction to Creating Domino Applications in the Bluemix Environment
IBM XPages on Bluemix: Timeout message while deploying changes to the Bluemix environment using Domino Designer
IBM XPages on Bluemix: Deploy changes to the Bluemix environment via Cloud Foundry Command Line Interface
IBM XPages on Bluemix: Deploy changes to the Bluemix environment via Domino Designer Part II
IBM XPages on Bluemix: Deploy changes to the Bluemix environment via Domino Designer
Customizing the XPages Web Starter Application on Bluemix - Start Coding
Creating XPages Applications with the IBM XPages Web Starter on Bluemix
IBM XPages goes Bluemix (Experimental) - New XPages Extension Library has been released

IBM developerWorks
IBM developerWorks - Questions tagged with "xpages-runtime"
IBM developerWorks - Questions tagged with "xpages-service"

Videos
XPages on Bluemix - What are you waiting for?



Getting started with IBM Bluemix

Tuesday, 28 July 2015

IBM XPages on Bluemix: XPages NoSQL Database Part II - Connecting to the XPages NoSQL Database service from Domino Designer (1)

In my previous blog post, IBM XPages on Bluemix: XPages NoSQL Database Part I - Create an XPages NoSQL database service instance, I showed how to create an XPages NoSQL database service instance in Bluemix. In this blog post I will show how to connect to the XPages NoSQL Database service from Domino Designer. I have split this section in two separate parts / blog post. In this blog post I will go through the Bluemix part and in the next blog post I will go through the Domino Designer part, the connection document in the local IBM Notes client for the service provided Domino server.

Related Blog Posts:
IBM XPages on Bluemix: XPages NoSQL Database Part I - Create an XPages NoSQL Database service instance
IBM XPages on Bluemix: Deploy changes to the Bluemix environment via Domino Designer Part II
IBM XPages on Bluemix: Deploy changes to the Bluemix environment via Domino Designer
Customizing the XPages Web Starter Application on Bluemix - Start Coding
Creating XPages Applications with the IBM XPages Web Starter on Bluemix

After the creation of the service instance, the underlying Domino database can be modified by using Domino Designer. This database must be accessed by using the Notes ID provided by the service.
The following steps can be followed to connect to the XPages NoSQL Database service from Domino Designer.

1, Switch to the user ID supplied by the XPages NoSQL Database service.
In the Services section of the Dashboard navigation bar, click on the instance of the XPages NoSQL Database service. In the example below I have three instances of the XPages NoSQL database service. One for the IBM XPages ToDo Design Application and already two Unbound services. In the example below I use the XPages NoSQL database service that was created in the previous blog post, IBM XPages on Bluemix: XPages NoSQL Database Part I - Create an XPages NoSQL Database service instance.


The IBM XPages NoSQL Database Service page will open. Select the Launch button in the upper right corner. The IBM XPages NoSQL Database Service page will open. Select the Launch button in the upper right corner. The IBM XPages NoSQL Database Service Dashboard will open in a new browser window and displays your credentials.


Click the ID Download link to save your credentials locally.


In the next blog post this ID must be used to log into the Domino Designer.
You also need the corresponding password (click on the button show as shown in picture above).
In Designer, click File > Security > Switch ID.
Browse for and select the downloaded ID. Click Open.


For more information about the using the ID file see my earlier blog post on IBM XPages Bluemix: Deploy changes to the Bluemix environment through Domino Designer Part II.

Monday, 27 July 2015

IBM XPages on Bluemix: XPages NoSQL Database Part I - Create an XPages NoSQL Database service instance

In the upcoming blog post I will go through the different steps regarding how to create/deploy an (existing) XPages application to the Bluemix environment. In this blog post I will show the first step, creating an XPages NoSQL database service instance.
IBM XPages NoSQL Database for Bluemix is a service that adds a fully provisioned Domino database to your XPages application. You can use the IBM Bluemix dashboard or the Cloud Foundry command line tool to create an application and bind an XPages NoSQL Database to it or you can deploy an existing XPages application to Bluemix.

Related Blog Posts:
IBM XPages on Bluemix: Deploy changes to the Bluemix environment via Domino Designer Part II
IBM XPages on Bluemix: Deploy changes to the Bluemix environment via Domino Designer
Customizing the XPages Web Starter Application on Bluemix - Start Coding
Creating XPages Applications with the IBM XPages Web Starter on Bluemix

The following steps can be followed to create an XPages NoSQL database service instance.
1. Log in to Bluemix through the web user interface.
2. Select the option CATALOG.


3. Scroll to the end of the Catalog. In the Looking for more? section, click Bluemix Labs Catalog.


4. In the Category pane, click Data & Analytics.
5. Select the IBM XPages NoSQL Database service tile.


6. Add Service
In the Add Service section, select your application's name from the App menu or leave the service unbound. In this example I leave the service unbound.
In the Service Name field, enter a service name or accept the default.
In the Selected Plan field, select the Free plan and click CREATE.


7. The IBM XPages NoSQL Database Service page opens.


To use the service instance and locate the credentials and database that were created for your app, click LAUNCH. The IBM XPages NoSQL Database for Bluemix Service Dashboard opens in a new browser window.


The XPages NoSQL Database service instance has been created. The XPages NoSQL database service instance can be found on the Dashboard under Services,

Saturday, 25 July 2015

IBM XPages on Bluemix: Slides from the Webcast An Introduction to Creating Domino Applications in the Bluemix Environment

On July 23rd there was a first webcast on IBM XPages for Bluemix; An Introduction to Creating Domino Applications in the Bluemix Environment.
Companies are looking to the cloud more and more for cost savings and to facilitate the creation of new modern applications. Join this webcast to find out how Bluemix – IBM's Platform as a Service (PaaS) cloud offering – can help create applications quickly, securely, and in a scalable manner. Get an introduction to Bluemix, what it offers, and more specifically how XPages and REST play a role key in it.

The content of this webcast was:
  • Easily get Bluemix up and running and how to create your own XPages applications quickly.
  • Integrate with the other services available within the Bluemix ecosystem.
  • Maximize the new and exciting possibilities this integration opens up to the Domino community.
Speakers were Mark RodenToby Samples Brian Gleeson and Martin Donnelly.


Below are some interesting slides of the webcast which were published on Twitter during the webcast. When the replay of the webcast becomes available it will be added to this blog post.














Thursday, 23 July 2015

IBM XPages on Bluemix: Timeout message while deploying changes to the Bluemix environment using Domino Designer

The last few days I have been confronted with timeout messages when I try to deploy changes to the Bluemix environment using Domino Designer. These messages appear if an attempt is made to start the application on Bluemix. Waiting for the application to start...


After some time the following screen appears.


The Application on Bluemix is NOT started. Only after a refresh the application on Bluemix is running again. I have submitted a question on this subject on IBM developerWorks: Time outs deploying change using Domino Designer.

The answer by Gary Marjoram:
When the deployment process enters the "Waiting for application to start" phase, Designer is polling Bluemix every 5 seconds to check if the application has started successfully. Designer will poll Bluemix for 180 seconds by default before giving up and displaying the error Dialog you've shown above. Typically Bluemix takes somewhere from 90 - 150 seconds to stage and start an XPages application, but it may take longer if Bluemix is under heavy load. In your case the application has started after the 180 second timeout, which is why you got the error Dialog but the application appeared to be running when you went to the Bluemix Dashboard.

There are two ways to solve this. 
1. You can extend the amount of time Designer will poll for in the Bluemix preferences.


2. You can disable the "Waiting for application to start" phase of the deployment process completely.
If you do this Bluemix will still stage and start your application but you will get no indication in Designer when the application is ready.

In my situation, I changed Timeout (seconds) to 360 and the messages were gone. My advice is NOT to disable the "Waiting for application to start" phase but to increase the Timeout setting (seconds).

IBM XPages on Bluemix: Second Roundup of XPages on Bluemix Information

More and more information is shared about the initial release of IBM XPages on Bluemix particularly by Mark Roden and Fredrik Norling. In case you missed some information below a summary of the most important and recommended blog posts up to now and other links.



IBM XPages for Bluemix documentation
Building apps with the IBM XPages for Bluemix runtime
Getting started with IBM XPages NoSQL Database for Bluemix
Creating apps with the IBM XPages Web Starter

Recommended blog posts
Creating my first true XPages in Bluemix application via Mark Roden
XPages in Bluemix – where is the design and where is the data? via Mark Roden
XPages in Bluemix – Looking at the application dashboard via  Mark Roden
XPages in Bluemix – Pushing new changes via Bluemix git repository via Mark Roden
Bluemix Monitoring and Analytics – free service via Mark Roden
Bluemix Monitoring and Analysis – Diagnostics version via Mark Roden
XPages on Bluemix a first look deploying app via Fredrik Norling
How to add your custom domain to your Bluemix app via Fredrik Norling
Building On Premises XPages The Bluemix Way via Paul Withers
XPages on Bluemix - finally we got here via Oliver Busse
Announcing IBM XPages on Bluemix via Brian Gleeson
XPages Comes to Bluemix via Eric McCormick
Usage of Cloudant NoSQL Databases in XPages Applications via Niklas Heidloff

My own humble contributions
IBM XPages on Bluemix: Deploy changes to the Bluemix environment via Cloud Foundry Command Line Interface
IBM XPages on Bluemix: Deploy changes to the Bluemix environment via Domino Designer Part II
IBM XPages on Bluemix: Deploy changes to the Bluemix environment via Domino Designer
Customizing the XPages Web Starter Application on Bluemix - Start Coding
Creating XPages Applications with the IBM XPages Web Starter on Bluemix
IBM XPages goes Bluemix (Experimental) - New XPages Extension Library has been released

IBM developerWorks
IBM developerWorks - Questions tagged with "xpages-runtime"
IBM developerWorks - Questions tagged with "xpages-service"

Monday, 20 July 2015

IBM XPages on Bluemix: Deploy changes to the Bluemix environment via Cloud Foundry Command Line Interface

In my previous blog posts, IBM XPages on Bluemix: Deploy changes to the Bluemix environment via Domino Designer Part I and II, I described how to deploy changes to the Bluemix environment using Domino Designer. You can also use the Cloud Foundry Command Line Interface to deploy and modify changes to the Bluemix environment.

Getting started
First the Cloud Foundry Command Line Interface must be downloaded and then be installed. Second, the Starter Code must be downloaded. See also my blog post Customizing the XPages Web Starter Application on Bluemix - Start Coding.


Deploy changes using the Cloud Foundry Command Line Interface
To deploy a change using the Cloud Foundry Command Line Interface you can follow the steps below. In the example below I use my own 'Bluemix credentials'. You can find these via the Dashboard - CF APPS (1) - Demo - Start Coding. 


Also I made a small change in the the IBM XPages ToDo Design Application. On the XPage todoDoc I added some new values in the field Priority.


1. Open the Windows Command Prompt and change to the local development directory.
cd your_new_directory (in my case this is the directory BluemixXP)

2. Connect to Bluemix™.
cf api https://api.ng.bluemix.net

3. Log in to Bluemix
cf login -u j.oldenburger@gmail.com -o j.oldenburger@gmail.com -s XPagesandMore


4. Deploy the change to the Bluemix environment
cf push Demo


This works great but remember to clean & re-build your application before deployment and the changes are in the deployment directory. See my question on IBM developerWorks : Changes are not deployed with the Cloud Foundry Command Line Interface.


Frankly, I do not know if I will often use this method. But I found it very worthwhile to try out this method. And the result is good.

Sunday, 19 July 2015

IBM XPages on Bluemix: Webcast An Introduction to Creating Domino Applications in the Bluemix Environment


On July 23rd there is a first webcast on IBM XPages for Bluemix; An Introduction to Creating Domino Applications in the Bluemix Environment.
Companies are looking to the cloud more and more for cost savings and to facilitate the creation of new modern applications. Join this webcast to find out how Bluemix – IBM's Platform as a Service (PaaS) cloud offering – can help create applications quickly, securely, and in a scalable manner. Get an introduction to Bluemix, what it offers, and more specifically how XPages and REST play a role key in it.  More information on the SocialBizUG website.

Why attend the webcast
Join this webcast and learn how to:
  • Easily get Bluemix up and running and how to create your own XPages applications quickly.
  • Integrate with the other services available within the Bluemix ecosystem.
  • Maximize the new and exciting possibilities this integration opens up to the Domino community.
Speakers are Mark RodenToby Samples and Martin Donnelly. You can register on this site for the webcast.

Saturday, 18 July 2015

IBM XPages on Bluemix: Deploy changes to the Bluemix environment via Domino Designer Part II

In my previous blog post, IBM XPages on Bluemix: Deploy changes to the Bluemix environment via Domino Designer, I described how to deploy changes to the Bluemix environment using Domino Designer. I forgot one important aspect in this blog post, the ID to use for access and edit the data NSF in Domino Designer, the IBM XPages ToDo Design Application. I've received some questions about this after I published the blog post. In this blog post I will show you where the ID can be found in Bluemix and how it should be used.

ID to Access and Edit the data NSF in Domino Designer
After logging in in Bluemix go to the Dashboard. Click the option Services (1) in the left menu . The option Demo-XPagesData displays.


Select this option. The IBM XPages NoSQL Database Service page will open. Select the Launch button in the upper right corner. The IBM XPages NoSQL Database Service Dashboard will open. In the Organization Detail you can find the ID that must be downloaded.


Domino Desginer
After the ID file has been downloaded it can be used in the Domino Designer. With this ID you can access / edit the data NSF (the IBM XPages ToDo Design Application).
In the Domino Designer select Security from the File Menu and select the option Switch ID. Then select the downloaded ID file. You also need the corresponding password (click on the button show as shown in picture above).
Next create a small change in the XPages database and deploy the change to the Bluemix environment.


The downloaded ID file is now being used for the change in the DDE (see the image above). The change will now be deployed without any problem to the Bluemix environment.


Friday, 17 July 2015

IBM XPages on Bluemix: Deploy changes to the Bluemix environment via Domino Designer

In my previous post I described how an XPages Application can be created in Bluemix, Creating XPages Applications with the IBM XPages Web Starter on Bluemix, and how the Starter Code can be imported into the Domino Designer (DDE), Customizing the XPages Web Starter Application on Bluemix - Start Coding. In this blog post I will show how a change in the XPages Application can be transferred / deployed to the Bluemix environment via the DDE.

After the XPages Application has been created in Bluemix and the Starter Code has been imported into the DDE the IBM XPages ToDo Design Application will be available in the Domino Designer.

Create change
At first, I made a small change to the existing XPages Application. On the XPage todoDoc I added the value 'Very High' in the field Priority.


Deploy Application
Designer copies the modified application to the deployment directory, and the application is pushed to Bluemix. The application stops, restages, and restarts on Bluemix. This process takes a few minutes to fully complete. To deploy new code to the Bluemix environment right click on the XPages database and select Deploy Application.


The next screen will appear in the Domino Designer.


After some time the following screen appears:


During the deployment of the change to the Bluemix environment the following message, among others, is visible in Bluemix.


Start XPages Application on Bluemix
If the changes are deployed the XPages Application can be started in the Bluemix environment.
In the example below the desgin change has been properly deployed to the Bluemix environment. The priority Very High is now available in Bluemix.

The deployment of the changes is relatively fast. This method of deployment works excellent!
See also the blog post of Mark Roden, XPages in Bluemix – Pushing new changes via Bluemix git repository.