1. Home
  2. Computing & Technology
  3. Java
photo of Paul Leahy
Paul's Java Blog

By Paul Leahy, About.com Guide to Java

A Better Way to Search the Java API?

Thursday June 18, 2009

I came across an interesting article today from ScienceBlog on a couple of new research tools aimed at helping developers find what they're looking for in APIs. The tools have been constructed as part of the Natural Programming Project at Carnegie Mellon University.

Apatite (which stands for Associative Perusal of APIs That Identifies Targets Easily) is a way of exploring the Java API through association. The idea is to be able to browse the Java API on the strength of classes that commonly go together in programs.

Jadeite (which stands for Java Documentation with Extra Information Tacked-on for Emphasis) works on the assumption that developers expect classes to have certain methods. One example provided is for the File class. It might be expected to have a read() method that could be used to read a file. Jadeite allows its users to fill in these expectations through the creation of "placeholders". A placeholder can be used to point developers in the direction of the class they are looking for.

In the case of both tools their entries link back to the official Sun Java API documentation. If you want to find out more about the thinking behind the two tools have a look at the research papers Apatite: Associative Browsing of APIs and Improving API Documentation Using API Usage Information.

Comments

No comments yet. Leave a Comment

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Discuss
Community Forum
Explore Java
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Java

©2009 About.com, a part of The New York Times Company.

All rights reserved.