Java: A platform for platforms
Sun's reorg may seem promising to shareholders but it's also a scramble for position. The question now is whether Sun can, or wants to, maintain its hold on Java technology. Especially with enterprise leaders like SpringSource and RedHat investing heavily in Java's future as a platform for platforms

Also see:

Discuss: Tim Bray on 'What Sun Should Do'

Featured Whitepapers
Newsletter sign-up
View all newsletters

Sign up for our technology specific newsletters.

Enterprise Java
Email Address:

Code-centric search tool strives to reduce Java development time

IBM's jCentral among the first of a new wave of targeted search engines

  • Digg
  • Reddit
  • SlashDot
  • Stumble
  • del.icio.us
  • Technorati
  • dzone

If you've spent hours, days, or even weeks or months searching for an obscure piece of Java-related information or a code example, you probably understand the frustration that such a quest involves. To find what you're looking for, you might try a number of Java informational sites, perhaps browsing manually through articles and archives, topic by topic. You scan the subject lines of scores of Usenet newsgroup articles. You peruse Java code directories, which contain dozens of code examples for just about everything but what you actually need. After plugging in as many keywords (and NOT-keywords) you can think of, you slog through myriad pages of general-purpose search engine results. You even resort to printed materials: books, magazines, old notes -- anything that might offer solutions to your Java development problems. Sometimes, if you're lucky, you eventually find what you're looking for. But often you don't. Perhaps the most frustrating aspect of development is knowing that some piece of necessary information is out there, but not knowing how to find it.

Your efforts to find Java resources may now reap more rewards -- and require less time. IBM jCentral, announced and showcased at the recent JavaOne Java developer conference in San Francisco, is an information-specific search engine for Java resources. In other words, jCentral is a search tool that finds only Java resources. And it finds all types of Java resources, including source code, JavaBeans, applets, and Java-related newsgroup articles and Web sites.

The jCentral Power search
(Click image for full-size view)



Once the jCentral technology finds code in applets, beans, source code files, and newsgroup articles, it extracts the salient features of the code for indexing purposes. For example, when crawling a Java applet, jCentral analyzes the embedding HTML page and the applet class file to obtain information about the applet, such as all of its invoked methods. The information is subsequently indexed so that users can issue queries to find, say, all the Java applets that make a network connection by invoking methods from the java.net.socket class, or all the applets that contain a particular button, or a slider bar. Developers can use this specific code-searching technique on class methods, strings, and other snippets of useful Java code.



Because it is optimized for running Java-specific searches, jCentral represents an important new tool for the Java community. Internet development community leaders, such as the attendees of the seventh World Wide Web Consortium Conference in Australia, are voicing concerns about the growing ineffectiveness of monolithic search engines when used for specific purposes. As the Internet grows, the available information associated with any given keyword grows accordingly, which leads to general-purpose search engines becoming clogged with massive amounts of data -- data that is often irrelevant and useless to users. For instance, an English-only search for "Java" through Alta Vista (Digital Equipment Corp.'s popular general-purpose Internetwide search tool) uncovers more than 800,000 documents.

  • Digg
  • Reddit
  • SlashDot
  • Stumble
  • del.icio.us
  • Technorati
  • dzone
Comment
Login
Forgot your account info?
Add comment
Anonymous comments subject to approval. Register here for member benefits.
Have a JavaWorld account? Log in here. Register now for a free account.
Resources
  • At the official IBM jCentral Web site you can run a quick jCentral search in the text input box at the top and read about IBM's Java development news http://www.ibm.com/java/
  • The jCentral Power Search offers a more detailed, free, and continually-updated input mechanism for jCentral http://jcentral.alphaworks.ibm.com/Internet/power.htm
  • jCentral Power Search Help -- An excellent resource for using the power search feature, this page provides information on search categories and attributes, a full list of attribute descriptions, search guidelines and rules, and search examples http://www.ibm.com/java/jcentral/powersearch-help.html
  • IBM Java Education jCentral Whitepapers, tutorials, and articles The official -- source of documentation and information on jCentral http://www.ibm.com/java/education/papers-jcentral.html
  • The IBM Java Education contains links to the jCentral fact sheet http://www.ibm.com/java/education/jcentral/jcentral-facts.html
  • The jCentral Whitepaper http://www.ibm.com/java/education/jcentral/jcentral.html
  • Developer.com directories (formerly Gamelan) -- EarthWeb's index of Java resources. Here you can find annotated directories of Java tutorials, beans, a wide variety of tools and applets, and programming information. If jCentral is the Alta Vista of Java-related searching, Developer.com/Gamelan is the Yahoo! of looking up Java information http://www.developer.com/directories/pages/dir.java.html
  • The Lake Applet, David Griffiths's GIF-processing applet that creates a watery, reflective look, appears on more than 4,000 Web pages http://www.demon.co.uk/davidg/lake.htm
  • DevSearch, which indexes the content of more than a dozen sites of interest to Web developers, is but one potential interface option that IBM developers may consider mimicking in jCentral to allow Java developers to search more specific subsets of content, such as articles and tutorials that include source code http://www.devsearch.com/
  • Home page for interviewee Udi Manber, Ph.D., full professor of computer science at The University of Arizona in Tucson http://glimpse.cs.arizona.edu/udi.html