Posted by editor
on February 14, 2007 at 7:21 AM PST
MPEG finally notices Java... also:
Java Today: "Chillout" DRM project, NLink for native calls, and Mike Keith on EJB 3
Weblogs: Software faster than hardware, server-side include in GlassFish, and a "semifinal" keyword?
Weblogs: Wiimote Wonderland, seeking database overlay network for JXTA, and table generator row count problem
MPEG finally notices Java
It's easy to see when developers choose Java to solve problems for other developers: IDE's, build tools, XML processors, etc. It's a lot more interesting when it gets used for some other purpose, because that proves once again that it fills a need.
To this point, I was encouraged to see that MPEG founder and chairman Leonardo Chiariglione has chosen Java to implement his latest project. I'd always wished they'd done the MPEG-4 reference implementation in Java -- late 90's performance concens notwithstanding -- because it would have gotten more developers up and running faster, rather than requiring everyone who wanted to work with it to be Windows-based and be able to read and port Windows code. Adopting Java should be a good way to advance a standard, because far more developers will be willing and able to work with it.
In this case, Chiariglione has used Java for the implementation of a standard, open-source DRM system called Chillout . He mentions it in a response to Steve Jobs' recent anti-DRM essay .
"The Moving Picture Experts Group (MPEG )
has produced most of the standard DRM technologies that are required by a DRM
system. The Digital Media Project (DMP ) has
added a few more technologies that were missing, has integrated them with the MPEG DRM technologies to provide complete solutions, is now setting up the governance of the system based on established practices and is releasing Chillout ,
the reference software of its specification, as open source under the Mozilla
Public Licence v.1.1."
Political concerns about DRM notwithstanding, it's encouraging to see the DMP adopt Java for its reference implementation, and let's hope we see MPEG do the same in the future.
Also in Java Today ,
The ever-prolific Kohsuke Kawaguchi has just released NLink , a project to simplify calling native code from Java. "The problem with calling native libraries with JNI is that, for every method, you need to write a java method declaration, and then a bit of native code to do the parameter conversion. This makes it difficult to casually call into native libraries, because you'd have to write another native library just for JNI handling. NLink overcomes this problem by providing a general-purpose method invocation converter driven by annotation." A brief tutorial on using NLink is available in the project's web space.
In the InfoQ video interview Mike Keith on EJB 3 , co spec lead discusses the state of EJB 3, talks about how the community has driven the development of the EJB 3 spec, and comments on the evolution of the specification to work better with POJO's and embrace newer ideas such as dependency injection.