Skip navigation.
Home

IBM Java Dev.

Syndicate content developerWorks
The latest content from IBM developerWorks
Updated: 5 weeks 3 days ago

Using MapReduce and load balancing on the cloud

Mon, 2010-07-19 06:00
Learn how to implement the Hadoop MapReduce framework in a cloud environment and how to use virtual load balancing to improve the performance of both a single- and multiple-node system.
Categories: Java

WebSphere CloudBurst plus Rational Automation Framework for WebSphere

Fri, 2010-07-16 06:00
Building, deploying, configuring, then recreating middleware application environments are critical tasks for IT organizations, but inefficiency often surrounds this set of tasks. It can take too long to build and deploy; require too much experience to configure; and be next to impossible to consistently recreate middleware application environments. In this article, the author shows you how WebSphere CloudBurst and the Rational Automation Framework for WebSphere can be combined to harden your dynamic WebSphere cloud application infrastructure.
Categories: Java

Gourmet Java technology for Android applications

Thu, 2010-07-15 06:00
Java language is the tool of choice for Android developers. The Android runtime uses its own virtual machine, Dalvik, which is not the usual Java virtual machine that most Java developers are used to. Dalvik supports most of the features in the Java programming language -- but not all of them. In this article you will learn advanced Java features and how they are implemented on Android. This includes features such as concurrency, networking, and database access.
Categories: Java

Distributed data processing with Hadoop, Part 3: Application development

Wed, 2010-07-14 06:00
With configuration, installation, and the use of Hadoop in single- and multinode architectures under your belt, you can now turn to the task of developing applications within the Hadoop infrastructure. This final article in the series explores the Hadoop APIs and data flow and demonstrates their use with a simple mapper and reducer application.
Categories: Java

Evolutionary architecture and emergent design: Fluent interfaces

Tue, 2010-07-13 06:00
This installment of Evolutionary architecture and emergent design continues the discussion of harvesting techniques for idiomatic patterns in emergent design. When you identify a reusable pattern, you should capture it in a way to sets it apart from the rest of your code. Domain-specific languages (DSLs) offer many techniques for concisely capturing data and functionality. This month, Neal Ford shows you three ways to build internal DSLs that capture idiomatic domain patterns.
Categories: Java

Create rich data-centric web applications using JAX-RS, JPA, and Dojo

Tue, 2010-07-13 06:00
Developing a rich application for manipulating large amounts of data used to be the exclusive domain of desktop applications. Now it can be done in a web application, and you don't have to be a JavaScript guru to do it. Learn how to use the Dojo toolkit to create eye-popping, data-centric web applications and hook them up to a back end based on the JavaEE standards such as JAX-RS and JPA. These technologies allow you to leverage convention over configuration principles to easily wire together complex applications in no time at all.
Categories: Java

5 things you didn't know about ... Java performance monitoring, Part 2

Tue, 2010-07-13 06:00
If it's news to you that the JDK ships with the full-featured profiler JConsole, you'll be even more surprised to learn about the five stand-alone profiling utilities introduced in this article. Find out how lightweight (and in some cases experimental) Java process monitoring and analysis tools can help you hone in on performance bottlenecks like thread starvation, deadlocks, and object leaks.
Categories: Java

JSF 2 fu: JSF wizards

Tue, 2010-07-06 06:00
In this JSF 2 fu installment, you'll find out how to combine JSF 2 with Contexts and Dependency Injection (CDI) to implement an Ajaxified wizard. You'll see JSF's templating and Ajax in action, and you'll learn how to use CDI's dependency injection and conversation scope.
Categories: Java

5 things you didn't know about ... Java performance monitoring, Part 1

Tue, 2010-06-29 06:00
Blaming bad code (or bad code monkeys) won't help you find performance bottlenecks and improve the speed of your Java applications, and neither will guessing. Ted Neward directs your attention to tools for Java performance monitoring, starting with five tips for using Java 5's built-in profiler, JConsole, to collect and analyze performance data.
Categories: Java

Developing Java components for the FileNet P8 Component Integrator

Tue, 2010-06-22 06:00
This article shows you how to develop Java components for the FileNet Component Integrator. The Component Integrator is part of the IBM FileNet Process Engine. It enables you to call functions of a custom Java class from a component step within a workflow. The article describes how to obtain sessions, debug your Java code, and build and configure a custom JAAS login module for database connectivity.
Categories: Java

Java Web services: WS-SecureConversation performance

Tue, 2010-06-22 06:00
WS-SecureConversation lets you secure ongoing Web service message exchanges with less processing overhead than plain WS-Security. In this article, you'll learn how to configure and use WS-SecureConversation with the three main open source Java Web services stacks: Apache Axis2, Metro, and Apache CXF. You'll also see how the three stacks compare on WS-SecureConversation performance.
Categories: Java

Java development 2.0: Cloud storage with Amazon's SimpleDB, Part 1

Tue, 2010-06-15 06:00
Learn first-hand how to store and query data using Amazon's SimpleDB, a cloud-based key/value datastore that packs the punch of Amazon's Web Services infrastructure.
Categories: Java

5 things you didn't know about ... JARs

Tue, 2010-06-15 06:00
Many Java developers never think beyond the basics of JARs -- only using them to bundle classes before shipping them off to the production servers. But a JAR is more than just a renamed ZIP file. Learn how to use Java Archive files at their fullest capacity, including tips for jarring Spring dependencies and configuration files.
Categories: Java

Integrating healthcare services, Part 2: Using Apache ServiceMix as a Healthcare Service Bus

Tue, 2010-06-08 06:00
A Healthcare Service Bus (HSB) enables diverse healthcare applications to interconnect and interoperate for efficient service delivery. Part 1 of this two-part article discusses the aggregation of healthcare services using Java Business Integration (JBI) architecture. This concluding installment shows how you can use an open source JBI implementation -- Apache ServiceMix -- as an HSB. You'll configure an application as a ServiceMix-hosted internal service, learn how to interconnect multiple JBI environments, and find out how you can integrate an industry standard for healthcare interoperability into ServiceMix.
Categories: Java

Evolutionary architecture and emergent design: Using DSLs

Tue, 2010-06-08 06:00
Until now, Evolutionary architecture and emergent design has primarily focused on emergent design for technical patterns. This installment covers capturing domain idiomatic patterns using domain-specific language (DSL) techniques. Series author Neal Ford illustrates the approach with an example and shows the benefits of this abstraction style for harvesting idiomatic patterns.
Categories: Java

Distributed data processing with Hadoop, Part 2: Going further

Thu, 2010-06-03 06:00
The first article in this series showed how to use Hadoop in a single-node cluster. This article continues with a more advanced setup that uses multiple nodes for parallel processing. It demonstrates the various node types required for multinode clusters and explores MapReduce functionality in a parallel environment. This article also digs into the management aspects of Hadoop -- both command line and Web based.
Categories: Java

JSF 2 fu: After-the-fact Ajax composite components

Tue, 2010-06-01 06:00
JavaServer Faces (JSF) 2 Expert Group member David Geary continues his article series offering in-depth coverage of JSF 2 technology. In this installment, you'll learn how to let page authors add Ajax to your composite components, taking a close look at a powerful -- but entirely undocumented -- JSF 2.0 tag. And you'll see how to implement a reusable, general-purpose, Ajax-capable icon component in fewer than 25 lines of XML.
Categories: Java

5 things you didn't know about ... <code type="inline">java.util.concurrent</code>, Part 2

Tue, 2010-06-01 06:00
In addition to concurrency-friendly Collections, java.util.concurrent introduced other pre-built components that can assist you in regulating and executing threads in multithreaded applications. Ted Neward introduces five more of his Java programming must-haves from the java.util.concurrent package.
Categories: Java

Extending the capability of secldap to authenticate from multiple data sources

Tue, 2010-06-01 06:00
The secldapclntd daemon establishes connection between an LDAP server and the AIX security LDAP module. Usual steps to configure a secldapclntd daemon with LDAP server allows us to provide multiple replicated LDAP server details during configuration. However, there can be a situation when the information for all the users is not available in only one LDAP server. In such a scenario, configuring just one active LDAP server details might not be sufficient. To resolve this limitation, this article demonstrates the usage of the pass-through authentication feature in IBM Tivoli Directory Server. The steps listed in this article can be followed to configure a setup such that AIX security module will be able to seek authentication information from multiple data sources and yet hide the backend server details from the client, hence ensuring abstraction and security.
Categories: Java

Managing pureQuery client optimization in Web application environments, Part 2: Optimizing applications in clustered environments

Thu, 2010-05-27 06:00
pureQuery client optimization can improve the performance, security, and administration of Java database applications. The first article in this two-part series described how how to enable client optimization on a single application server node. This second article uses scenarios to describe how to configure and work with client optimization in clustered application server environments, specifically, clustered WebSphere Application Server environments. .
Categories: Java