April 14, 2014

Bluemix upgrade – improved debugging

BlueMix was successfully upgraded to a new level, including an updated to Cloud Foundry. And I wanted to point out one of the major benefits of the upgraded version - improved debug logs when applications fail to deploy/stage/start etc.

Continue reading

April 7, 2014

EJBs in BlueMix (with JPA: DB2 and MySQL backends) (packaged server)

This article will use a BlueMix JPA Sample Application with a db2 or mysql database driven by either EJBs or Servlets. JPA (Java Persistence Architecture API) is a set of APIs that is used for reading and writing data to databases via Java objects. An EJB (Enterprise Java Bean) is a server side Java object that contains business logic with special qualities of service (collaborators) such as transactions and security. We’ll provide some code snippets for EJBs and JPA, and also explain the packaging required for deploying this type of application to BlueMix.

Continue reading

April 7, 2014

Using Java Persistence API(JPA) in bluemix with EJBs

This article will use a BlueMix JPA Sample Application with a db2 or mysql database driven by either EJBs or Servlets.JPA (Java Persistence Architecture API) is a set of APIs that is used for reading and writing data to databases via Java objects. An EJB (Enterprise Java Bean) is a server side Java object that contains business logic with special qualities of service (collaborators) such as transactions and security. We'll provide some code snippets for EJBs and JPA, and also explain the packaging required for deploying this type of application to BlueMix.

Continue reading

April 1, 2014

BlueMix UI Updated with New Features!

Earlier today the BlueMix UI was updated with a number of improvements. The general theme of this set of updates is to help you find the information you need, when you need it:  Search enablement in the catalog and dashboard, ability to mark your favorite applications or services, “Quick Docs" functionality to gain fast access to the VCAP_SERVICES information for services you've bound to an application, and improvements to service creation like assigning a meaningful name to the new service instance.

Continue reading

March 27, 2014

Mad Dash: a Node.js Application Dashboard

As a follow up to my previous blog post, where I showed how to set up a real-time console log web tail for your Node.js application, I will be demonstrating how to use socket.io to instrument a web application. This is not meant for production level code, but instead to serve as an example of how a developer could instrument their web application in a few short steps and how they could expand it without much effort.

Continue reading

March 20, 2014

A Live Look: How to Observe Your Node.js Application Logs in Real-Time

In this article, I’ll be demonstrating how you can add a “live” console web tail to your Node.js application hosted on BlueMix in a few easy steps without cluttering up your application code. We’ll be achieving this by overloading the Console object, something you find in almost every javascript program. This is a handy feature for real-time debugging as well as monitoring your running applications. It also serves as a prototype for modifying console statements or adding entirely new console types.

Continue reading

March 17, 2014

Deploying Ghost.js on IBM Bluemix

Ghost is a crowd funded open source Node.js application which allows you to write and publish your own blog, giving you the tools to make it easy and even fun to do. It's simple, elegant, and designed so that you can spend less time making your blog work and more time blogging.

Continue reading

March 12, 2014

the cf-env package for node.js

I've gotten tired of pulling various values from environment variables when I write my node.js apps for BlueMix, so I put together a small package that does most of the work for me. It's called cf-env, and is available in npm.

Continue reading

March 11, 2014

Using IBM.com as Open ID Provider in Node.JS

If you would like to be able to enable user's to login to your app with their ibm.com ID you can follow these simple steps.

Continue reading