IBM DevWorks

Develop Spring Redis applications

Redis is a key-value NoSQL datastore solution. Spring Data Redis is a Spring portfolio project that helps Java developers build Spring applications with Redis, without needing to work directly with the low-level Redis API. This article introduces Redis and then shows how to build a simple dictionary application by using the Spring Data Redis API.

Developing mobile apps with Node.js and MongoDB, Part 1: A team's methods and results

Explore the advantages of using Node.js (server-side JavaScript), rather than Java technology, to develop systems of engagement. In this article, see the results achieved by an IBM Extreme Blue team who used an alternative technology stack (Node and MongoDB) with IBM Passes as a test case. Their experience may help you decide whether such a stack is suited to your development needs.

Developing mobile apps with Node.js and MongoDB, Part 2: Hints and tips

Get implementation details on using Node.js (server-side JavaScript), rather than Java technology, to develop systems of engagement. In this article, the IBM Extreme Blue team who developed a RESTful backend application using Node.js and MongoDB shares their thought process and recommendations.

Prototype mobile applications built with IBM Worklight for IBM Watson

This article is for architects and developers who are interested in building advanced mobile applications either in general or within the IBM Watson context. It describes the design and implementation of a sophisticated mobile application prototype for oncologists that interfaces with IBM Watson and with a hospital's back-end systems. A member of the IBM team that built the prototype explains how the team used IBM Worklight, with help from Dojo Mobile and Apache Cordova, to address the project's technical challenges.

Java.next: Extension without inheritance, Part 2

The Java language suffers from intentional limitations in its extension mechanisms, relying primarily on inheritance and interfaces. Groovy, Scala, and Clojure offer many more extension alternatives. This installment further explores Clojure's use of protocols as an extension mechanism.

Java diagnostics, IBM style, Part 1: Introducing the IBM Diagnostic and Monitoring Tools for Java - Dump Analyzer

Java applications have become increasingly complex; as a result, diagnosing problems in these applications is a non-trivial task and may require extensive work with an external service organization. A helpful pointer in the right direction could save both time and expense. The IBM Diagnostic and Monitoring Tools for Java - Dump Analyzer is a tool that performs basic analysis against a formatted system dump and produces a concise report indicating what it thinks your next course of action should be.

Java diagnostics, IBM style, Part 3: Diagnosing synchronization and locking problems with the Lock Analyzer for Java

The IBM Lock Analyzer for Java, available from alphaWorks, provides real-time lock monitoring on a running Java application. It highlights threads suffering from lock contention that could be hurting application performance. Developers can use this information to modify their applications to reduce lock contention and thus improve performance. This article introduces the IBM Lock Analyzer for Java, explains the architecture on which it is built, and provides some thoughts about the tool's future direction.

Java diagnostics, IBM style, Part 2: Garbage collection with the IBM Monitoring and Diagnostic Tools for Java - Garbage Collection and Memory Visualizer

The IBM Monitoring and Diagnostic Tools for Java - Garbage Collection and Memory Visualizer, new tooling from IBM, is designed to help diagnose and analyze memory-related Java performance problems. This article, the second in a four-part series, explains how to obtain and use the toolkit and demonstrates how you can use it to quickly diagnose some common problems.

Java diagnostics, IBM style, Part 5: Optimizing your application with the Health Center

IBM Monitoring and Diagnostic Tools for Java - Health Center is a tool for monitoring a running Java application. It reports on all aspects of system health via charts, graphs, and tables, and it makes recommendations for fixing problems. The Health Center includes an extremely low-overhead method profiler, a garbage-collection visualizer, a locking profiler to identify contention bottlenecks, and a configuration explorer. Find out how you can use this tool to diagnose and fix performance, configuration, and stability issues in your applications.

Faster problem solving in Java with heuristic search

Learn about the field of heuristic search and its application to artificial intelligence. This article's authors show how they arrived at a successful Java implementation of the most widely used heuristic search algorithm. Their solution exploits an alternative framework to Java Collections and uses best practices for avoiding excessive garbage collection.

DB2 NoSQL JSON Capabilities, Part 3: Writing applications with the Java API

DB2 JSON enables developers to write applications using a popular JSON-oriented query language created by MongoDB to interact with data stored in IBM DB2 for Linux, UNIX, and Windows. This driver-based solution embraces the flexibility of the JSON data representation within the context of a RDBMS with well-known enterprise features and quality of service. This DB2 NoSQL capability supports a command-line processor, a Java API, and a wire listener to work with JSON documents. The DB2 JSON Java API is the backbone of the command-line processor and the wire listener, and supports writing custom applications. The article introduces basic methods with a sample Java program and discusses options to optimize storing and querying JSON documents.

Mobile for the masses: Words and gestures with Overheard Word

You might feel like a kid in a candy store grabbing third-party code from GitHub or another repository, but there are still some tricks to integrating it with your Android UI. This month, Andrew Glover shows you how to take the Overheard Word demo app up a level with a JSON-based word engine and some prebaked, swipe-gesture functionality. As it turns out, Android easily accommodates third-party code, but you still have to do some careful logic if you want your app's UI to run it smoothly.

DB2 NoSQL for JSON Capabilities, Part 4: Using the IBM NoSQL Wire Listener for DB2

DB2 NoSQL JSON enables developers to write applications using a popular JSON-oriented query language created by MongoDB to interact with data stored in IBM DB2 for Linux, UNIX, and Windows. This driver-based solution embraces the flexibility of the JSON data representation within the context of a RDBMS with well-known enterprise features and quality of service. This DB2 NoSQL capability supports a command-line processor, a Java API, and a wire listener to work with JSON documents. In this article, the IBM NoSQL Wire Listener for DB2 is introduced. It parses messages based on the MongoDB wire protocol. It thus enables using MongoDB community drivers, and the skills acquired when working with these drivers, to store, update and query JSON documents with DB2 as JSON store.

Mobile for the masses: Activities and icons in your Android application lifecycle

The Activity class is the workhorse of an Android mobile app, and it's also where you can fine-tune your app's interactions with both the user and the mobile device. Get things working exactly the way you want them in your app's lifecycle, then use icons and action bars to guide users through UI navigation and other app features.

HTML5 2D game development: Implement gravity and add sound

In this series, HTML5 maven David Geary shows you how to implement an HTML5 2D video game one step at a time. In this installment, you'll complete Snail Bait's mechanics by learning how to incorporate gravity when the runner falls. Then, you'll see how to implement sound -- both a musical soundtrack and sound effects.

DB2 NoSQL JSON Capabilities, Part 2: Using the command-line processor

Rapidly changing application environments require a flexible mechanism to store and communicate data between different application tiers. JSON (Java Script Object Notation) has proven to be a key technology for mobile, interactive applications by reducing overhead for schema designs and eliminating the need for data transformations. DB2 NoSQL JSON enables developers to write applications using a popular JSON-oriented query language created by MongoDB to interact with data stored in IBM DB2 for Linux, UNIX, and Windows. This driver-based solution embraces the flexibility of the JSON data representation within the context of a RDBMS, which provides established enterprise features and quality of service. This DB2 NoSQL JSON capability supports a command-line processor, a Java API, and a wire listener to work with JSON documents. In this article, you will set up a DB2 database to support NoSQL applications and walk through a scenario that introduces basic features of the NoSQL command-line processor to help you get started with your own applications.

DB2 NoSQL JSON capabilities, Part 1: Introduction to DB2 NoSQL JSON

DB2 NoSQL JSON enables developers to write applications using a popular JSON-oriented query language created by MongoDB to interact with data stored in IBM DB2 for Linux, UNIX, and Windows. This driver-based solution embraces the flexibility of the JSON data representation within the context of an RDBMS, which provides established enterprise features and quality of service. This DB2 NoSQL JSON capability supports a command-line processor, a Java API, and a wire listener to work with JSON documents. In this article, get an introduction to the DB2 NoSQL JSON technology preview.

Java.next: Extension without inheritance, Part 1

Groovy, Scala, and Clojure offer many extension mechanisms, whereas inheritance is virtually the Java language's only option. This installment looks at category classes, the ExpandoMetaClass, implicit casts, and protocols as ways to extend Java classes with the Java.next languages.

Mobile for the masses, Part 3: Activities and icons in your Android application lifecycle

The Activity class is the workhorse of an Android mobile app, and it's also where you can fine-tune your app's interactions with both the user and the mobile device. Get things working exactly the way you want them in your app's lifecycle, then use icons and action bars to guide users through UI navigation and other app features.

Seiten