Skip to main content

Playing the home version of Jeopardy

Posted by daniel on January 21, 2005 at 9:21 AM EST

The answer is (binary) XML

John Mitchell has started a conversation about Binary XML He begins by asking "If binary XML is the answer, what exactly is the question?"

Also in today's Weblogs Andreas Schaefar writes " I am always surprised when someone tells me that he/she does not know how to implement conditional compilation in Java. Here I want to describe a way to implement it. I did not invent this but took the idea from JBoss but I refined it here to accomplish some additional feature like still have regular Java code. "

Jayson Falkner is way nicer than need be to a reader who writes Help me print your book. I downloaded it for free. He does point out "Printing 700+ pages requires a lot of paper, time, and ink. All of those cost money. For $30 you can buy a pre-printed copy of the whole book. Plus I get something like 15% on each sale. That is $4.50, which happens to be enough money to buy a wet burrito, on wet burrito day, at my favorite wet burrito joint. If you buy the book, I'll buy a wet burrito, and that way we all win. Plus, you'd be amazed at what some good food does to e-mail response times."


In Also in Java Today , Michael Feathers has written a story in which the new guy explores ideas around Using Null Objects. The story centers around someone working with legacy code who is introducing tests to the existing test free working code. One programmer considers the introduction of null objects and concludes that he thinks " it is a good idea but we have to make sure people don't do it in production code."

Tell me if this has ever happened to you. You're developing part of a large enterprise system and a key piece you interface with isn't done by the time you need to unit test. Or not even started. Or it's done, but it requires so many resources (servers, databases, licenses for some third-party piece you've tied into), that setting up and running a second copy for your testing is prohibitively expensive. Often, the way out of this trap is to use mock objects to simulate the other piece, and rather than write it yourself, you might want to have the mock object created for you. EasyMock can do it, but its use of java.lang.reflect.Proxy means you can only generate mock objects from interfaces. In Mock Objects in Unit Tests, Lu Jian introduces his Mocquer library, which generates mock objects not only from interfaces, but from classes as well.


In Projects and Communities, the Jini Community has updated the Jini Standards in response to the Gargoyles Proposals, which addressed three security issues in proxy trust verification, class loading, and JERI distributed garbage collection.

The Javapedia page on certification combines a list of the various Java certifications offered by Sun, a collection of exam-preparation books, and a running discussion of the merits of the certification program vis-a-vis others in the industry.


DKKopp suggest focusing on a JavaOne party in today's Forums. "This has nothing to do with content, but I think it is important nonetheless. JavaOne needs to get back to having a good conference party! The last couple of years have been pretty lean in that regard."

MarkF writes "I think Java needs a curses library, so that we can do serious console work. All the third-party curses libraries are either really crummy, or are completely dead projects."


In today's java.net News Headlines :

Registered users can submit news items for the java.net News Page using our news submission form. All submissions go through an editorial review before being posted to the site. You can also subscribe to thejava.net News RSS feed.


Current and upcoming Java Events :

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.

The answer is (binary) XML