Science Current Events | Science News | Brightsurf.com
 

Carnegie Mellon develops Java programming tools employing human-centered design techniques

June 18, 2009
PITTSBURGH-Researchers at Carnegie Mellon University's School of Computer Science have developed two new tools to help computer programmers select from among thousands of options within the application programming interfaces (APIs) that are used to write applications in Java, today's most popular programming language.

The tools - Jadeite (www.cs.cmu.edu/~jadeite) and Apatite (www.cs.cmu.edu/~apatite) - take advantage of human-centered design techniques to significantly reduce the time and guesswork associated with finding the right classes and methods of APIs.

APIs are standardized methods that a Java program uses to ask the computer's operating system or another program to do something, such as opening a file or sending an email. Choosing APIs for accomplishing a given task is at the heart of Java programming, but is not intuitive, said Brad A. Myers, professor of human-computer interaction. With more than 35,000 methods listed in 4,100 classes in the current Javadoc library of APIs - and more being added in every new version - not even the savviest developer can hope to be familiar with them all.

"This is a fundamental problem for all programmers, whether they are novices, professionals or the growing number of end-users who just need to modify a Web page," Myers said. "It's possible to design APIs so that they are easier to use, but that still leaves thousands of existing APIs that are hard to use but essential for Java programming. Jadeite and Apatite help programmers find what they need among those existing APIs."

Jadeite (Java Documentation with Extra Information Tacked-on for Emphasis) improves usability by enhancing the existing Javadoc documentation. For instance, Jadeite displays the names of API classes in font sizes that correspond with how heavily used they are based on Google searches, helping programmers navigate past little-used classes. The commonly used "PrintWriter" is in large, prominent letters, while the lesser used "PrintEvent" is in smaller type.

Jadeite also uses crowd-sourcing to compensate for the fact that an API sometimes doesn't include methods that programmers expect. For instance, the Message and MimeMessage classes don't include a method for sending an email message. So Jadeite allows users to put so-called placeholders for these expected classes and methods within the alphabetical listing of APIs. Users can edit the placeholder to guide programmers to the actual location of the desired method, explain why a desired method is not part of the API, or note that a desired functionality is impossible.

Finding the way to create certain types of objects, such as SSL sockets that enable secure Internet communications, may not be obvious to programmers the first time they encounter these objects. In these cases, Jadeite includes examples of the most popular code used by programmers to create these objects, allowing the user to learn from the examples.

User studies showed that programmers could perform common tasks about three times faster with Jadeite than with the standard Javadoc documentation.

Apatite (Associative Perusal of APIs That Identifies Targets Easily) takes a different approach, allowing programmers to browse APIs by association, seeing which packages, classes and methods tend to go with each other. It also uses statistics about the popularity of each item to provide weighted views of the most relevant items, listing them in larger fonts.

Both Jadeite and Apatite remain research tools, Myers said, but are available for public use. Broader use of the tools will enhance the crowd-sourcing aspects of the tools, while giving the researchers important feedback about how the tools can be improved.

Research by Jeffrey Stylos, who was awarded a Ph.D. in computer science this spring, underlies both Jadeite and Apatite. Besides Myers, research programmer Andrew Faulring and undergraduate computer science student Zizhuang Yang contributed to the development of Jadeite and computer science undergraduate Daniel S. Eisenberg led the implementation of Apatite. Eisenberg's work on Apatite earned first place in the Yahoo! Undergraduate Research Awards competition at Carnegie Mellon this spring.

Carnegie Mellon University


Related Java Programming Current Events and Java Programming News Articles


Copied from nature: Detecting software errors via genetic algorithms
According to a current study from the University of Cambridge, software developers are spending about the half of their time on detecting errors and resolving them.

UC San Diego Computer Scientists Develop First-person Player Video Game that Teaches How to Program in Java
Computer scientists at the University of California, San Diego, have developed an immersive, first-person player video game designed to teach students in elementary to high school how to program in Java, one of the most common programming languages in use today.

Code green: Energy-efficient programming to curb computers' power use
Soaring energy consumption by ever more powerful computers, data centers and mobile devices has many experts looking to reduce the energy use of these devices. Most projects so far focus on more efficient cooling systems or energy-saving power modes.

Software helps military aircraft techncians centralize maintenance
Aircraft technicians these days are as likely to use a laptop as a printed manual and logbook, and to turn to the Internet for the latest job-status reports and technical information.

Academics find that the finger of destiny points their way
Male scientist are good at research because they have the hormone levels of women and long index fingers, a new study says.

Media arts on the Internet
For those who work with digital media, or provide instruction on its use, www.netzspannung.org offers a comprehensive archive - particularly in media arts. The platform has been enhanced with new sections devoted to media arts research and education as well as research tools. --- View the rooms of the Kremlin as they looked 500 years ago. Visit synagogues demolished during the Third Reich. Bring the ruins of antique cities back to life. All of this is possible - at least virtually. These three forays into past cultural heritage are projects that exemplify the link between the arts and research. And all three can be explored in the new media arts research section of netzspannung.org. This com

A turbo compressor for mobile surfers
Despite faster Internet connections, many users still resentfully associate the three letters www with "world wide wait". This is also due to the fact that files are constantly increasing in size. When using wireless terminals with low-resolution displays, such as palmtops or PDAs, it is not in fact necessary to transfer all elements of a Web page, designed for display on large, high-resolution monitors. Although mobile service providers offer solutions to this problem, access is then limited to preselected sites, in the same way as the WAP service.
More Java Programming Current Events and Java Programming News Articles

Java: A Beginner's Guide

Java: A Beginner's Guide
by Herbert Schildt (Author)


Essential Java Programming Skills--Made Easy! Fully updated for Java Platform, Standard Edition 8 (Java SE 8), Java: A Beginner's Guide, Sixth Edition gets you started programming in Java right away. Bestselling programming author Herb Schildt begins with the basics, such as how to create, compile, and run a Java program. He then moves on to the keywords, syntax, and constructs that form the core of the Java language. This Oracle Press resource also covers some of Java's more advanced features, including multithreaded programming, generics, and Swing. Of course, new Java SE 8 features such as lambda expressions and default interface methods are described. An introduction to JavaFX, Java's newest GUI, concludes this step-by-step tutorial. Designed for Easy Learning: Key Skills &...

Java Programming: A Beginners Guide to Learning Java, Step by Step

Java Programming: A Beginners Guide to Learning Java, Step by Step
by Troy Dimes (Author)


Learn one of the most widely used computer programming languages in existence today. Java is one of the most widely used and powerful computer programming languages in existence today. Once you learn how to program in Java you can create software applications that run on servers, desktop computers, tablets, phones, Blu-ray players, and more. Write once, run anywhere! Also, if you want to ensure your software behaves the same regardless of which operation system it runs on, then Java's "write once, run anywhere" philosophy is for you. Java was design to be platform independent allowing you to create applications that run on a variety of operating systems including Windows, Mac, Solaris, and Linux. Here's what you'll learn... How to prepare your computer for programming in Java....

Beginning Programming with Java For Dummies

Beginning Programming with Java For Dummies
by Burd (Author)


A practical introduction to programming with Java Beginning Programming with Java For Dummies, 4th Edition is a comprehensive guide to learning one of the most popular programming languages worldwide. This book covers basic development concepts and techniques through a Java lens. You'll learn what goes into a program, how to put the pieces together, how to deal with challenges, and how to make it work. The new Fourth Edition has been updated to align with Java 8, and includes new options for the latest tools and techniques. Java is the predominant language used to program Android and cloud apps, and its popularity is surging as app demand rises. Whether you're just tooling around, or embarking on a career, Beginning Programming with Java For Dummies, 4th Edition is a great place to...

Java: The Complete Reference (Complete Reference Series)

Java: The Complete Reference (Complete Reference Series)
by Herbert Schildt (Author)


The Definitive Java Programming Guide Fully updated for Java SE 8, Java: The Complete Reference, Ninth Edition explains how to develop, compile, debug, and run Java programs. Bestselling programming author Herb Schildt covers the entire Java language, including its syntax, keywords, and fundamental programming principles, as well as significant portions of the Java API library. JavaBeans, servlets, applets, and Swing are examined and real-world examples demonstrate Java in action. New Java SE 8 features such as lambda expressions, the stream library, and the default interface method are discussed in detail. This Oracle Press resource also offers a solid introduction to JavaFX. Coverage includes: Data types, variables, arrays, and operators Control statements Classes, objects, and methods...

Head First Java, 2nd Edition

Head First Java, 2nd Edition
by Kathy Sierra (Author), Bert Bates (Author)


Learning a complex new language is no easy task especially when it s an object-oriented computer programming language like Java. You might think the problem is your brain. It seems to have a mind of its own, a mind that doesn't always want to take in the dry, technical stuff you're forced to study.

The fact is your brain craves novelty. It's constantly searching, scanning, waiting for something unusual to happen. After all, that's the way it was built to help you stay alive. It takes all the routine, ordinary, dull stuff and filters it to the background so it won't interfere with your brain's real work--recording things that matter. How does your brain know what matters? It's like the creators of the Head First approach say, suppose you're out for a hike and a tiger jumps in...

Java in 24 Hours, Sams Teach Yourself (Covering Java 8) (7th Edition)

Java in 24 Hours, Sams Teach Yourself (Covering Java 8) (7th Edition)
by Rogers Cadenhead (Author)


Sams Teach Yourself Java in 24 Hours, Seventh Edition Covers Java 8 and Android Development In just 24 lessons of one hour or less, you can learn the fundamentals of Java programming. In this book's straightforward, step-by-step approach, each lesson builds on everything that's come before, helping readers learn Java's core features and techniques from the ground up. Friendly, accessible, and conversational, this book offers a practical grounding in the language, without ever becoming overwhelming or intimidating. Full-color figures and clear instructions visually show you how to program with Java. Popular author Rogers Cadenhead helps you master the skills and technology you need to create desktop and web programs, web services, and even an Android app in Java. Learn...

Effective Java (2nd Edition)

Effective Java (2nd Edition)
by Joshua Bloch (Author)


Are you looking for a deeper understanding of the Java™ programming language so that you can write code that is clearer, more correct, more robust, and more reusable? Look no further! Effective Java™, Second Edition, brings together seventy-eight indispensable programmer’s rules of thumb: working, best-practice solutions for the programming challenges you encounter every day.   This highly anticipated new edition of the classic, Jolt Award-winning work has been thoroughly updated to cover Java SE 5 and Java SE 6 features introduced since the first edition. Bloch explores new design patterns and language idioms, showing you how to make the most of features ranging from generics to enums, annotations to autoboxing.   Each chapter in the book consists of several...

Java: Learn Java Programming in an Hour!: Learn the basics of Java, Learn it quick, Start Coding Today!

Java: Learn Java Programming in an Hour!: Learn the basics of Java, Learn it quick, Start Coding Today!


Java: Quick and Easy Guide To Java Programming!
Java is a programming language created by James Gosling at Sun Microsystems in the year 1991. The first version (Java 1.0) was made publicly available in 1995. In 2010, Oracle Corporation acquired Sun Microsystems; therefore Java is now managed by Oracle. Currently, the latest release of Java for Java is known as Java 8.

Even though Java is a powerful programming language, it is relatively easy to learn.

This book is designed for software developers who wish to learn about Java technology and want to get up and running with real world application development and object-oriented programming using the Java Language and Platform. Java: Quick and Easy Guide To Java Programming! does not require any prior experience...

JAVA: PROGRAMMING ESSENTIALS (Bonus Content Included): Learn web & app development today! Design your very first java apps in less than 24 hours (Java Programming Series)

JAVA: PROGRAMMING ESSENTIALS (Bonus Content Included): Learn web & app development today! Design your very first java apps in less than 24 hours (Java Programming Series)



Develop Apps in Today’s #1 Programming Language!


How would you like to start creating POWERFUL java-based apps?


How impressive would it be to know how to code in Java?

* * LIMITED TIME OFFER * *
(Exclusive to Amazon Customers Only)

BONUS CONTENT INCLUDED:
(find most of them throughout the book!)
Android. Google. GMail. LinkedIn. Amazon. Facebook.
All these apps and site - plus many more - use Java.
It’s no denial that Java is the most popular programming language today.
To jump start your programming career or business,
you NEED to learn Java.
And learn FAST.
So are you ready?

Flip through the pages and learn:

...

Java: Learn Java Programming FAST!

Java: Learn Java Programming FAST!


Java: Quick and Easy Guide To Java Programming!
Java is a programming language created by James Gosling at Sun Microsystems in the year 1991. The first version (Java 1.0) was made publicly available in 1995. In 2010, Oracle Corporation acquired Sun Microsystems; therefore Java is now managed by Oracle. Currently, the latest release of Java for Java is known as Java 8.

Even though Java is a powerful programming language, it is relatively easy to learn.

This book is designed for software developers who wish to learn about Java technology and want to get up and running with real world application development and object-oriented programming using the Java Language and Platform. Java: Quick and Easy Guide To Java Programming! does not require any prior experience...

© 2015 BrightSurf.com