Skip navigation.
Home

IBM Java Dev.

Syndicate content developerWorks
The latest content from IBM developerWorks
Updated: 1 week 2 days ago

Read, recycle, and reuse: Reporting made easy with Excel, XML, and Java technologies, Part 2

Tue, 2010-03-02 07:00
Part 1 of this series walked through reading Microsoft Excel files using Java technology and Apache POI. But reading Excel files is only a start. This installment mixes up Excel and XML to soothe developers who turn green at the thought of converting between reporting formats.
Categories: Java

Read, recycle, and reuse: Reporting made easy with Excel, XML, and Java technologies, Part 1

Tue, 2010-03-02 07:00
Extracting business data is a challenge every company faces. Discover some of the secrets to extracting data from Excel and converting it between Excel and XML using Java technology.
Categories: Java

Getting started with OCAP, Part 1: Running the OCAP RI

Tue, 2010-03-02 07:00
The OpenCable Application Platform Reference Implementation (OCAP RI) is a freely available implementation of a comprehensive platform for interactive applications that run on set-top boxes, televisions, and other devices. This article, first in a three-part series, explains OCAP at a high level and describes how to obtain and run the RI. You'll learn how the OCAP RI locates applications and how to run any application.
Categories: Java

What's new in iBATIS 3

Tue, 2010-03-02 07:00
iBATIS is a project used primarily for data access object (DAO) and object-relational mapping (ORM). You can use it to easily work with Java objects and databases. The update for iBATIS 3 beta 9 was posted January 23, 2010. iBATIS 3 is a completely rewritten version of iBATIS and includes some significant updates. This article introduces some of what's new in iBATIS 3.
Categories: Java

Build better Web applications with Google Sitebricks

Tue, 2010-02-16 07:00
Do you want to quickly build a Web application that can be maintained, or worked on, by other people? Google Sitebricks lets you rapidly develop Web applications that are built to last. Sitebricks uses dependency injection to do away with boilerplate code. It leverages type safety and inference to check the correctness of your application, so you catch problems at compile time instead of run time. In this article, learn how to build Web applications powered by Google Sitebricks.
Categories: Java

Eliminate Java verbosity the easy way

Tue, 2010-02-16 07:00
Lombok is a Java utility that enables developers to eliminate Java verbosity, specifically with plain old Java objects (POJOs). It does this with the use of annotations. Developers can save a lot of time constructing methods such as hashCode() and equals(), as well as the usual assortment of accessors and mutators, by implementing Lombok in their development environments.
Categories: Java

Build rich Java Web applications with Apache Wink and Ajax

Tue, 2010-02-16 07:00
This article introduces Apache Wink, which is a framework for building Representational State Transfer (REST)ful Web services. Apache Wink is an Apache Incubator project. Its goal is to provide an easier method of writing RESTful Web services by providing the ability to use Java annotations to define services inside classes.
Categories: Java

Develop applications using IBM InfoSphere eDiscovery Analyzer REST APIs

Thu, 2010-02-11 07:00
This article describes IBM InfoSphere eDiscovery Analyzer (eDA) v2.1.1 and how to access its functionality by using a set of Application Programming Interfaces (APIs). The APIs enable you to perform common functions without using the eDA Graphical User Interface application. The intended audience is software developers and business partners who need to integrate eDA with other applications, or want to create simple utilities to perform common tasks on an automated or batch basis. This article provides an overview of the architecture of the APIs, a description of the API functions, and several scenario-based Java code samples that demonstrate how to write applications using the APIs.
Categories: Java

Managing pureQuery client optimization in Web application environments, Part 1: Optimize applications on a single application server node

Thu, 2010-02-11 07:00
pureQuery client optimization requires the use of properties settings to enable a specific stage of the client optimization process. Settings for these properties vary, depending on the required behavior for your Web application environment. This first article of a two-part series describes property settings for a Web-based application running on a single application server node that uses single or multiple databases shared across multiple applications. The second article will focus on how to set client-optimization properties in more complex Web environments, such as with clustered servers. This article assumes you are familiar with the pureQuery client-optimization process and with setting Web application properties in WebSphere(R) Application Server or in your chosen application-server environment.
Categories: Java

The Java XML Validation API

Wed, 2010-02-10 07:00
Validation reports whether a document adheres to the rules specified by the schema. Different parsers and tools support different schema languages such as DTDs, the W3C XML Schema Language, RELAX NG, and Schematron. Java 5(TM) adds a uniform validation Application Programming Interface (API) that can compare documents to schemas written in these and other languages. Learn about this XML validation API.
Categories: Java

Java Web services: Introducing CXF

Tue, 2010-02-09 07:00
The Apache CXF Web services stack supports JAXB 2.x data binding (along with some alternative data bindings) and JAX-WS 2.x service configuration. Like the Metro JAXB/JAX-WS alternative discussed in earlier columns, CXF uses XML files to extend the JAX-WS configuration information. In this article, Java Web services series author Dennis Sosnoski looks into the basics of working with CXF for client and server development.
Categories: Java

Develop a Java application that uses pureQuery annotated methods, Part 3: Gather performance data and bind the SQL

Wed, 2010-02-03 07:00
This three-part demo series introduces you to some of the features in Optim Development Studio available to develop a Java application that uses pureQuery annotated methods. The demo series uses the GSDB sample database, which is the sales database for a fictional company called Great Outdoors. In this demo, learn how to gather SQL performance data, view it in the SQL Outline, and bind the SQL for static execution.
Categories: Java

Introduction to the eSWT mobile extension, Part 3: Use advanced dialogs and device-related features for mobile applications

Tue, 2010-02-02 07:00
As mobile platforms become increasingly sophisticated, the demand for mobile computing will increase. In this "Introduction to the eSWT mobile extension series, learn about the embedded Standard Widget Toolkit (eSWT). You can use eSWT to develop native-looking Java applications for a variety of mobile phones. In this article, learn how to use more of the mobile controls: MultiPageDialog, QueryDialog, TimedMessageBox, MobileDevice, Screen, and Input.
Categories: Java

Develop a Java application that uses pureQuery annotated methods, Part 2: Modify and test the interface

Tue, 2010-02-02 07:00
This three-part demo series introduces you to some of the features in Optim Development Studio available to develop a Java application that uses pureQuery annotated methods. The demo series uses the GSDB sample database, which is the sales database for a fictional company called Great Outdoors. In this second demo, learn how to modify the generated interface, test it, and use the SQL Outline to navigate between the Java source code and SQL.
Categories: Java

Compare JavaScript frameworks

Tue, 2010-02-02 07:00
Modern Web sites and Web applications tend to rely quite heavily on client-side JavaScript to provide rich interactivity, particularly through the advent of asynchronous HTTP requests that do not require page refreshes to return data or responses from a server-side script or database system. In this article, you will discover how JavaScript frameworks make it easier and faster to create highly interactive and responsive Web sites and Web applications.
Categories: Java

Debugging and testing Swing code

Tue, 2010-02-02 07:00
When you need to use or maintain other Java developers' code, debugging and testing can help you understand how it works. In the case of visual code though, these powerful practices are more difficult unless you have the appropriate tools. The two open source tools that this article introduces - Swing Explorer and FEST-Swing - can make debugging and testing of Swing UIs simple and reliable. Alex Ruiz shows how to use them to understand a UI's structure, test how it functions, and troubleshoot issues.
Categories: Java

Develop a Java application that uses pureQuery annotated methods, Part 1: Create a Java project and generate code

Mon, 2010-02-01 07:00
This three-part demo series introduces you to some of the features in Optim Development Studio available to develop a Java application that uses pureQuery annotated methods. The demo series uses the GSDB sample database, which is the sales database for a fictional company called Great Outdoors. This first demo shows you how to create a pureQuery-enabled Java project in Optim Development Studio, add support for pureQuery, and generate code and SQL directly from a database table.
Categories: Java

OpenID for Java Web applications, Part 1

Wed, 2010-01-27 07:00
OpenID is a decentralized authentication protocol that makes it easier for users to access resources in your Java Web applications. In this first half of a two-part article, you'll learn about the OpenID Authentication Specification and walk through the steps of incorporating it into a sample Java application. Rather than implement the OpenID Authentication specification by hand, author J. Steven Perry uses the openid4java library and a popular OpenID provider, myOpenID, to create a safe and reliable registration process for a Java application written in Wicket.
Categories: Java

Get to know Apache Click

Tue, 2010-01-26 07:00
Get introduced to Apache Click, a Java Platform, Enterprise Edition (Java EE) Web application framework that enables the creation of Web applications without using Model-View-Controller (MVC) patterns or JavaServer Pages (JSP). This article provides examples of displaying a simple Web page and creating a Web form that submits data that is displayed on a different Web page.
Categories: Java

New to Java programming

Sat, 2010-01-23 07:00
The developerWorks Java technology zone contains hundreds of articles, tutorials, tips, and community resources to help software developers make the most of the Java platform and related technologies. But when you're looking for a place to get started, sifting through the volume of resources available on the Web today can be overwhelming. developerWorks offers this page to provide an overview of Java technology basics within the overall context of the language. It includes starting points for further investigation in the form of links to relevant introductory developerWorks content, other educational resources, and IBM downloads and products.
Categories: Java