Java Device Test Framework (JDTF) Project Overview
Recently the java.net Mobility and Embedded Community published a Java Mobility Podcast 81: JDTF, in which Victor D'yakov talks about the community's new Java Device Test Framework Project. Having worked on lots of large (millions of lines of code) software engineering projects, I'm quite familiar with the difficulty of testing systems for robustness and reliability. So, today I decided to take a look at JDTF.
The project's home page introduces JDTF as:
a test framework based on Sun Microsystem's commercial Java Device Test Suite (JDTS) product. JDTF is a general purpose, fully-featured, flexible, and configurable test framework suited to assess various aspects of Java Platform, Micro Edition (Java ME) device implementation quality, such as fitness, interoperability, reliability, and performance. The framework is a set of JT harness plugins that facilitates the running of quality test suites on Java ME devices.
Following the JT harness link brings us to the JT Harness project, which is also a java.net project. The JT harness:
- Is designed to configure, sequence, and run test suites that consist of many (100,000 or more) discrete, independent tests. It is especially good at testing APIs and compilers.
- Can be used to run tests on all of the Java platforms, from the Java Card platform, to the Java Platform, Enterprise Edition ("Java EE").
- Enables you to create test suites that are self-contained products that customers can easily configure and run.
The JT Harness project released their Version 4.2 Milestone Release in March. The JDTF project released Version 2.4 in May. Among the highlighted features in JDTF 2.4 are the capability to generate new stub test classes, integration with NetBeans, ability to run tests on Java ME / CLDC devices, and ability to debug tests on Java Platform Debugger Architecture enabled emulators and devices.
Terrence Barr wrote about the JDTF project when it was released as a Java Mobile and Embedded Community project. The project had a pod at JavaOne, it was presented in lightning talks (at CommunityOne and in a JavaOne BOF), and JDTF was also an aspect of a JavaOne technical session (TS-6263: Device Fitness Testing) and a JavaOne panel discussion (PAN-7083: JATAF Panel: What Is It, How to Use IT).
Speaking of JATAF (the Java Application Terminal Alignment Framework -- another java.net project), JDTF is the test framework that has been chosen by JATAF for running their test suite. JATAF is "collaborative project made up of companies and individuals whose goal is to make Java ME a truly ubiquitous platform for application deployment on mobile devices. Current sponsors are Orange, Sony Ericsson, Sun, and Vodafone." You can hear excerpts from the JavaOne JATAF panel discussion in Java Mobility Podcast 83: JATAF panel discussion.
Clearly, I've barely scratched the surface of the Java Device Test Framework and related technologies in this one post. I'll go into some more depth on the project and related projects in some future follow-on posts.
In Java Today, In Net Applications: Apple just lost half its 'market share', java.net Mac Java Community leader Chris Adamson pointed me to Net Applications: Apple just lost half its 'market share'. Chris pointed this out not only because of the drastically changed Apple market share that results from the new Net Applications methodology, but also because the new method drastically increases the market share of Java ME based browsers. Chris notes: "With the new numbers, ME's share is now the same as the iPhone's, and nearly double Symbian's." See the article for the full details.
Java Champion Adam Bien asks How Evil Are Data Transfer Objects (DTOs)?: "DTOs aren't dead. The opposite is true. In certain situations, they become the necessary tool or workaround to solve a particular problem. Impedance mismatch between layers is rather common. The object driven JPA (entity/domain layer) is often kept DRY and fluent, whereby the database driven approach results in anemic domain objects. In either case you would like to keep your exposed REST-API simple and lean..."
Elliotte Rusty Harold notes that Version 1.6.4 of Groovy has been released: "Version 1.6.4 of Groovy has been released. Groovy is a JVM hosted scripting language that "builds upon the strengths of Java but has additional power features inspired by languages like Python, Ruby and Smalltalk." 1.6.4 is a bug fix release..."
In today's Weblogs, John Ferguson Smart announces Online Maven training - coming soon to a PC near you!: "If you are on the lookout for some good Maven training, but can't justify travelling to a training center in another city, then Sonatype might have the answer. Starting next week, Sonatype is proposing its core Maven training material..."
And Arun Gupta provides TOTD #88: How add pagination to Rails - will_paginate: "This Tip Of The Day (TOTD) explains how to add pagination to your Rails application. Create a simple Rails scaffold as..."
In the Forums, daniel_leo asks is seeing hanging in sailfin when rebooting one node in cluster: "Hi, We got one problem, which looks hanging of some EJB threads. - 2 nodes are configured as a sailfin cluster, e.g, instance1, and instance2; - run traffic towards both nodes, i.e., instance1 and instance2; - reboot one node, e.g., instance2; - instance suddenly does NOT work. Part of the thread dump as below. It looks like quite a lot of threads are in hanging state..."
steflik asks NPCs: "How do I include NPCs in my wonderland environment? Since my Wonderland will be the Binghamton Camous i was planning on people like instructors and staf being represented as NPCs. Can NPCs have scripted dialogues associated with them (can the answer "canned" questions from players?)..."
rado_penev has a Problem with remote EJB call and inheritance: "Hello all. I have a problem with calling EJB through it's remote interface. I am passing an entity class as a parameter to the call. The entity class is extending another class as MappedSuperclass. All the properties in the superclass are resolved to null at the EJB side. I am calling the EJB from JSF managed bean. Am I doing something wrong, or there is some limitation/bug?"
And John Clingan announces a GlassFish v3 / Java EE 6 schedule update: "As some of you may have already heard, JSR 330 (Dependency Injection for Java) will be incorporated into Java EE 6. Because of this, the Java EE 6 specification schedule - and the release of GlassFish v3 - will be modified to reflect this addition. On a positive note, immediate alignment between JSR 330 and JSR 299 (Context and Dependency Injection for Java, aka Web Beans) will only improve developer experience with Java Enterprise Edition Platform. We expect a relatively minor schedule impact to GlassFish v3..."
The current Spotlight is the James Liu and OpenSolaris Team Roundtable: "java.net's Gary Thompson moderates a roundtable discussion with James Liu and members of the OpenSolaris Team in this java.net Community Corner 2009 podcast, recorded at JavaOne."
This week's java.net Poll asks "What do you think about Project Kenai?". Today (Thursday) is the last full day of voting.
Our Feature Articles include an article by Biswajit Sarkar, Using the Payment API for Microcredit and Other Applications, which describes how to apply the Payment API (JSR 229) in JavaME applications. We're also featuring Jeff Friesen's Introducing Custom Cursors to JavaFX, in which Jeff shows developers how to leverage undocumented JavaFX capabilities to support custom cursors in versions 1.2 and 1.1.1.
The latest Java Mobility Podcast is Java Mobility Podcast 84: Valderi Leithardt on using SunSpots for gesture recognition.: "An interview with Ph.D. candidate Valderi Leithardt in Brazil on using SunSpots for gesture recognition."
-->
Current and upcoming Java Events :
- August 3-7: Java Power Tools - Auckland
- August 6-7: Hibernate Training Philippines
- August 7-9: 2009 Central Iowa Software Symposium
- August 21-23: 2009 Central Florida Software Symposium
- August 23-30: WOWODC East 2009
- August 28-30: 2009 Research Triangle Software Symposium
- September 9-11: Java Power Tools - Canberra
- September 11-13: 2009 New England Software Symposium: Fall Edition
- September 14-16: The Ajax Experience
- September 18-20: 2009 Pacific Northwest Software Symposium
- October 5-9: Java Power Tools - Brisbane
- October 19-23: Java Power Tools - Sydney
- October 23: Strange Loop Conference - St. Louis
- October 24: Florida Linux Show 2009 Orlando
Registered users can submit event listings for the java.net Events Page using our events submission form. All submissions go through an editorial review before being posted to the site.
Archives and Subscriptions: This blog is delivered weekdays as the Java Today RSS feed. Also, once this page is no longer featured as the front page of java.net it will be archived along with other past issues in the java.net Archive.
Recently the java.net Mobility and Embedded Community published a Java Mobility Podcast 81: JDTF, in which Victor D'yakov talks about the community's new Java Device Test Framework Project..
- Login or register to post comments
- Printer-friendly version
- editor's blog
- 2418 reads





