Tag Archives: DB2

Add a REST API to Your IBM DB2 Database in Four Easy Steps

via Add a REST API to Your IBM DB2 Database in Four Easy Steps.

Got a DB2 database that needs a REST API? Now you can connect to your IBM DB2 with DreamFactory in just a few minutes. In this short blog post I’ll explain how to connect to DB2 and use DreamFactory’s auto-generated REST API for DB2.

Simple DB2 / NodeJS demonstration for IBM Bluemix

via data-henrik/db2visitors · GitHub.

Simple DB2 / node.js demonstration for IBM Bluemix, track visitor by IP, lookup geolocation and store inIBM DB2. The application also runs locally with a node runtime environment. It needs a private file db2cred.json to hold login information for a DB2 database. The format of that file is described in the first blog article linked below.

Most of the code is explained in the following blog articles:

Accessing DB2 from NodeJS on IBM Bluemix and locally

via Data Henrik: IT, Life, DB2, and more: Accessing DB2 from node.js on IBM Bluemix and locally.

Some days ago I started experimenting with node.js. Other than JSON and some click functions on webpages I don’t have much experience with JavaScript. The reason for this “adventure” is that node.js is offered as one of several programming languages on IBM Bluemix, IBM’s platform-as-a-service (PaaS). I wanted to find out how complex or easy it would be to bring both node.js and DB2 (IBM’s relational and in-memory database system) together.