Skip navigation
ANNOUNCEMENT: community.oracle.com is currently Read only due to planned upgrade until 29-Sep-2020 9:30 AM Pacific Time. Any changes made during Read only mode will be lost and will need to be re-entered when the application is back read/write.
kfarnham

The Fragile Army Blog

Posted by kfarnham Apr 30, 2008

Java 6 (finally) for Mac... now what?

Long after its Sun-developed debut on Windows, Linux, and Solaris, Java SE 6 is finally available for the Mac. As I posted to the Mac Java Community's features feed:

Available via to Software Update, Java for Mac OS X 10.5 Update 1 adds Java SE 6 version 1.6.0_05 to your Mac. This version of Java is only for Mac OS X v10.5.2 and later, and only runs on 64-bit Intel machines. Developers may want to check out the release notes, which detail major new features including an API to work with the Dock icon (getting and setting the image, adding a badge, setting a dock menu, etc.), the ability to provide document-modal dialog sheets, support for Java DTrace probes, AppleScript as a supported language to the javax.script API, and more.

So... what to make of this? There's been a whole lot of unhappy with the long delays getting Java 6 to the Mac. It's somewhat inexplicable, considering that back in 2006, Apple had actually been tracking the JDK 6 betas pretty closely with developer previews of their own, but after JDK 6 went final in late 2006, the updates stopped. Many assumed that JDK 6 would be in Leopard, but then that OS update slipped from early 2007 to late 2007 because of iPhone demands, and then to everyone's surprise, Leopard shipped without JDK 6, a year after a more or less complete JDK 6 b88 was offered to developers. Conspriacy theorists, Apple kremlinologists, and ticked-off ranters have had a field day over the last six months, but now that JDK 6 final is out -- to say nothing of the very encouraging work being done on the open-source Soy Latte Java runtime for Mac OS X -- it's all water under the bridge, right?

Well, apparently not. Apple's new JRE runs only on Mac OS X 10.5.2 or higher (sorry, Tiger users), and only on 64-bit Intel hardware. PowerPC and 32-bit Intel machines aren't supported. Fabrizio

kfarnham

We Crawl Blog

Posted by kfarnham Apr 29, 2008

Power up your robots for JavaOne

One of the reasons we needed a bigger booth for JavaOne this year was so that the Trackbots would have room to roam. And they could be roaming with your code...

The RoboHACC Programming Un-Contest is designed to challenge your coding skills in Java using the Greenfoot Framework/IDE to direct a Sun SPOT equipped TrackBot through an Arena with various obstacles. You can use existing code examples or start from scratch. Collaboration is highly encouraged; so find some fellow coders and get hacking.

The RoboHACC Un-Contest begins now, but will really take off at JavaOne where you'll interact with other participants. Having Greenfoot preconfigured to work with the trackbots should make it easier, and if you take a look at the mini-talk schedule, you'll see that Shawn Silverman is offering a Trackbot programming mini-talk each day, and will be in the booth much of the day, giving you a chance to get answers to your Greenfoot/Trackbot programming questions during the show.

So, if you've wanted to play with SunSPOTs, Trackbots, or just want a change of pace, visit the uncontest page, download Greenfoot, and we'll look forward to seeing you next week.


Also in Java Today, the OpenJDK project has approved two new sub-projects. The NIO project's "mission is to produce the implementation of the (New) New I/O APIs being defined by JSR 203 as well as related work in the JDK." Meanwhile, the XRender Graphic Pipeline project is working on a "new Java2D graphics pipeline based upon the X11 XRender extension", and is part of the OpenJDK Community Innovators' Challenge.

Kohsuke Kawaguchi reports that GlassFish v3 just got embeddable. "I can now run Hudson in this embedded GFv3. Here's how it works — GlassFish v3 can be run as an OSGi application as Sahoo reported earlier, but in fact it can also be run without any kind of classloader isolation system at all. Sure, you won't get the isolations, but this means you can just drop a bunch of GFv3 jars in your classpath and run it like that."


The latest Java Mobility Podcast is Java Mobility Podcast 43: Mobile Distillery's porting tool Celsius, in which Razmig Sarkissian from Mobile Distillery talks to Terrence about Celsius, a software solution for porting and optimizing Java ME applications across over 800 phones.


In today's Weblogs, Mandy

kfarnham

Light To Follow Blog

Posted by kfarnham Apr 27, 2008

NetBeans 6.1 makes an early debut

Now this is a good idea. Rather than risk getting lost in all the news and hype of JavaOne week, when everyone and their brother seems to be making a major release announcement, the NetBeans team has surprised us by releasing NetBeans 6.1 final today, a week ahead of JavaOne.

Go ahead and kick off the download, then keep reading.

OK, so actually, it wasn't a surprise to everyone. I did get an e-mail from the NetBeans team in Prague telling me they were planning on a release Monday morning at noon their time, which is 6 AM here in the Eastern US (and therefore perfect for putting together the morning java.net page), and 3 AM out in the Pacific Time Zone, home to Sun, O'Reilly, and many of the world's techies. They'll be waking up in a few hours to the surprise.

Of course, if you've been watching the front page for the last few months, you've seen NetBeans 6.1 coming together, with bloggers pointing out its great new features (particularly Ruby/JRuby/Rails support), and the community giving overwhelming approval last week to greenlighting the release.

So now, NetBeans can enjoy the spotlight for a week, and by the time JavaOne hits next week, attendees should already have had a chance to download and install 6.1, and check out NetBeans-related sessions with an up-to-date perspective.


In light of the significance of the news, we've set aside the entire Java Todaysection for the NetBeans 6.1announcement:

"NetBeans IDE 6.1 supports a wide range of open source scripting technologies and offers improved performance. This release extends language support beyond Java technology by providing a rich set of features for C/C++, JavaScript and the Ruby language, including Ruby on Rails.

One of the downloads available is an Early Access preview of support for PHP. Advance versions of new modules, such as JavaScript debugger, support of ClearCase, AXIS, and Hibernate are available as separate plugins.

NetBeans IDE 6.1 also contains all of the improvements made in 6.0 including: the new smarter editor, next generation of the ground-breaking GUI builder (formerly known as Project Matisse), visual mobile designer, integrated profiler, and Java EE 5 support.

For more information about NetBeans IDE 6.1 features visit theNetBeans IDE 6.1 Release Page."


This week's Spotlightis on java.net at JavaOne 2008. After all, JavaOne 2008 begins next week, and as always, java.net will be a big part of the event, as captured by our JavaOne wiki page. On Saturday, May 3, we're holding a Community Leaders Weekend, an unconference in which community leaders can discuss the online community and help shape the future of the site. Then, of course, the Community Corner on the Pavilion floor will be your place to meet up with fellow community members, see demos, and check out20-minute mini-talks from java.net project owners and community members. The mini-talks will be recorded as podcasts, sent out during and after the show; you can subscribe to the feed at the podcast's home page, or via the iTunes link. Finally, if you're presenting a technical session, hands-on session, or BoF based on your java.net project, please be sure to add it to the list of java.net sessions on the wiki.

We've also added a second spotlight to announce that there's still room in the The JavaOne 2008 Student Program. This is a five-day program to attend the CommunityOneand JavaOneconferences in San Francisco next week, for free. Participants will have full access to the conference, including general sessions, technical sessions, birds-of-a-feather sessions (BoFs), specially developed Java University classes, a coupon for a free Java Certification Class, access to the JavaOne pavilion, t-shirts, lunches, the AfterDark party with Smashmouth, and more. Interested students should download and fax back the registration PDF as soon as possible, as space is limited.


Elsewhere, in today's Weblogs. Bruno

kfarnham

History Never Repeats Blog

Posted by kfarnham Apr 25, 2008

Wave goodbye to languages without garbage collection

It's not news to us -- we noted Java displacing C++ as the top language on Sourceforge a couple years ago, to say nothing of thousands of projects here on java.net. But Slashdot took the hint yesterday, asking Are C and C++ Losing Ground? They link to a Dr. Dobb's interview with TIOBE's Paul Jansen about the Programming Community Index, which "measures the popularity of programming languages by monitoring their web presence." This also shows Java on top, trailed by C, Basic / Visual Basic (which is trending upwards), PHP, and the falling C++.

Paul says the story behind the overall trends is that one of Java's defining traits, automated memory management, is increasingly being considered a neccessity:

C and C++ are definitely losing ground. There is a simple explanation for this. Languages without automated garbage collection are getting out of fashion. The chance of running into all kinds of memory problems is gradually outweighing the performance penalty you have to pay for garbage collection.

It wasn't all that long ago that Java's use of garbage collection was considered a ridiculous liability, a sop to bad programmers that would destroy performance and render Java totally non-competitive. It hasn't quite turned out like the critics say, and even if some naysayers still won't embrace Java, you don't exactly see Ruby or Python making developers mallocand free their memory.

And come to think of it, could you go without garbage collection at this point? I was poking around in C the other day, and found myself unwilling to even attempt to figure out where to match mymallocs and frees, figuring I'd get the damn thing working first and then figure out how to deal with the memory leaks I was creating. Not a real sound approach, admittedly.

So, on the topic of garbage collection, the latest java.net Poll asks "Could you work with a non-garbage-collected language?" Cast your vote on the front page, then check the results page for current tallies and discussion.


In Java Today, Joe Darcy continues a recent run of blogs discussing the specifics of what it means for changes to be "compatible" with a case study:Compatibly Evolving BigDecimal. "Back in JDK 5, JSR 13 added true floating-point arithmetic to BigDecimal, which involved many new methods and constructors along with new supporting classes in thejava.math package. I was actively involved in the JSR 13 expert group and integrated the code into the JDK. These changes had some surprising compatibility impacts which can be classified according to their source, binary, and behavioraleffects."

The article New Features in EJB 3.1, Part 3 is the latest installment of an ongoing series on TheServerSide by Reza Rahman, who writes, " In this third article, I'll cover two more features that have been discussed in detail--asynchronous Session Bean invocation and EJB Lite. Remember, none of this has been finalized yet. All of this is really just a peek into the inner workings of the JCP so that you have a chance to provide feedback."

JavaWorld takes an in-depth look at the Wizard project in Open source Java projects: The Wizard API. "If you're faced with creating a Swing-based wizard from scratch, you'll want to know about Tim Boudreau's Wizard project. This installment of Jeff Friesen's Open source Java projects series gets you started with the Wizard API and concludes with a hands-on installation wizard that is sure to please users and impress the boss."


We've updated this week's Spotlighton Collabnet's tutorial and Q&A for new java.net project owners. The tutorial, held on Thursday, is now available as an WebEx recording. To learn more about setting up and managing java.net projects (including branding of left nav, project membership, roles and permissions, setting up mailing lists, etc.), check out the stream or download the entire session.


ME for Windows Mobile? Still there, as Terrence

Looking at and modifying classes as they're loaded

A few years ago while editing ONJava, we published a number of articles on fairly exotic techniques -- mostly involving bytecode manipulation and aspect-oriented programming -- to modify and transform existing Java code. There were plausible use cases, but to pull these things off, you often had to use a different virtual machine for AOP, or do some spectactularly heavy lifting for bytecode manipulation. Each approach had its adherents, but both remained pretty fringey, surely due in part to the non-standard, high-difficulty details of using them.

So, if there were something built into Java SE that allowed you to inspect and modify existing classes, without recompilation and without having to wrangle JVM opcodes yourself, would that be worth further investigation? Well...

In our Feature Article, Thorbj

kfarnham

Another Great Divide Blog

Posted by kfarnham Apr 23, 2008

OpenJDK to add closures sub-project

As I've noted in blogs over the last few months, all the major closure proposals are backed up with implementations, so it's possible for interested developers to take each out for a spin. In fact, to save you a few minutes of Googling, here are links to blog entries introducing each implementation:

Interestingly, Stephen and Mark acknowledge that their implementations are based off the OpenJDK project's emerging Java 7 codebase, while Neal's instead requires that you have JDK 6 versions of java and javac on your path.

And the coupling to OpenJDK brings us to an interesting item in today's news, the announcement of an official project to bring the BGGA implementation to OpenJDK. Following a unanimous vote by members of the Compiler Group, the OpenJDK project has approved a closures project. The project was proposed by and will be led by Neal. Its stated goal is "to produce a feature-complete prototype of the Java bytecode compiler (javac) for the draft BGGA Closures specification", and will serve as the workspace for the closures effort in the OpenJDK Community Innovators' Challenge.

So does this give BGGA a sort of incumbency advantage over the other proposals, given its status as an official part of OpenJDK? Let's not jump to conclusions: the others have implementations already based on OpenJDK, after all, and we won't know which (if any) are in Java 7 until the JCP takes up the issue of a Java 7 contents JSR, which is still a ways off.


Also in Java Today,

Eduardo Pelegri-Llopart has posted some Updated GlassFish Roadmaps. "Anybody that has been in the software industry for any time knows that roadmaps are always "work in progress". With that caveat, here are the latest news:

GFv3 TP2 is a "Technology Preview" release; we will provide a sneak peek at CommunityOne and will be demoed at JavaOne.

The latest edition, issue 166, of the JavaTools Community Newsletter is out, with a note about the recently-concluded FISL conference, tool-related news from around the web, news from projects, announcements of new projects in the community, and a Tool Tip on facilitating access to your open source projects at java.net.


In today's Weblogs, Eltjo

kfarnham

One Step Ahead Blog

Posted by kfarnham Apr 22, 2008

Keeping up with the pre-JavaOne crunch

Yesterday, Joshua Marinacci blogged that JavaOne's approach is like the preparation crunch that precedes a big holiday like Christmas. In the comments, I asked if he really meant by his metaphor that he'd literally been working on JavaOne stuff for weeks, or months. He writes, "by the time JavaOne gets here, I will have spent almost two full months getting ready. Since I came back from Sydney March 11th."

True dat. Over here on the editorial side, this week started with a torrent of JavaOne-related meetings, which continues today, along with the at-deadline writing of the crossword puzzles for theJavaOne Today newspaper. Throw in secret announcements, guest appearances, and an inbox that went from empty to 40 overnight, and it's clear that the crunch is on.

Presumably working their own crunch to pull off a JavaOne-week release, NetBeans QA is announcing that the NetBeans Community has approved NetBeans 6.1 for FCS. "We are pleased to announce the results of the NetBeans IDE 6.1 Community Acceptance Survey that ended April 16th: 91% of respondents agree that NetBeans 6.1 is stable enough to move into FCS! (A few respondents recommended that we fix some more issues, and we will try to deliver the fixes via the Update Center as soon as possible.)"


Also in Java Today, the latest SDN Mobility Tech Tip is about Using Filters With the Java ME Device Matrix. "Let's say you have a design for a mobile application, and you know what technology (JSR) is required by the platform. You then want to know: What handsets will support your design? The SDN Device Matrix is a table that lists information on hundreds of devices that run Java ME technology."

The JBrowser project hopes to implement a modern web browser using java swing, with a goal of being "fully compatible with current mainstream browsers", learning from other browsers how to deal with broken web pages. Ultimately, the project owners hope to evolve the project into an RIA platform along the lines of Flex. For now, check out an early snapshotbuild, with initial CSS/HTML/XHTML, JavaScript, and (J)applet support.


Today's Weblogsbegin with some advice from Tom

kfarnham

Hard Act To Follow Blog

Posted by kfarnham Apr 21, 2008

The conferences and unconferences of JavaOne week

There's the JavaOne conference, the topic-specific subconferences (NetBeans Day, etc.) that make up CommunityOne, and then there are the "unconferences" of J1 week. Chances are you've heard about unconferences, either in general or in the form of its best known examples: FOO Camp, the Java Posse Roundup, etc. The unconference format inverts the interaction concepts of the gathering: rather than a primarily one-way communication from speaker to audience, the unconference attendees talk amongst themselves, setting their own agenda and moving from session to session as their interest level dictates (see the "rule of two feet").

CommunityOne, on Monday, May 5, had already set aside one of its tracks for an unconference, hosted by analysts from RedMonk. A day earlier, the GlassFish community will have an opportunity to do the same.

The Aquarium is announcing a pre-JavaOne GlassFish Unconference. "If you have never attended an Unconference, this is your opportunity! We are hosting one for the GlassFish community the Sunday before JavaOne, at the Moscone (map). The topics and speakers in an unconference are decided by the attendees themselves (see the Open Spaceprinciples). The only thing you need to do now is to go to the Wiki page and record your intent to attend and your topics of interest; we already have 26 people."


Also in Java Today, Kelly O' Hair discusses using a Mercurial "forest" of repositories and how changesets come out of that process in his new blog OpenJDK: Dude, Where's My Changeset? "Sometimes it's hard to find a changeset. Somewhat independent of the changesets flowing into the various team areas, the Release Engineering Team will use the Master area and attempt to create a promoted build, and if successful will create tags in the Master repositories to record what changesets were included in a promotion. Some people will find this whole process frustrating, but there are some big advantages. "

JT Harness, the general-purpose testing harness, has announced its 4.1.3 milestone release. This release supports JUnit tests and test suites, and includes numerous bug fixes. "JT Harness 4.1.3 provides complete backwards compatibility with previous releases of JT Harness, and JT Harness users will be able to easily migrate to this release. Additionally, the JT Harness 4.1.3 release (and subsequent releases) are covered under the GPL 2 license plus Classpath Exception." More details are available in the 4.1.3 README.


This week's Spotlightannounces a tutorial and Q&A for new java.net project owners, hosted by Collabnet on Thursday, April 24 at 8:00 AM Pacific Daylight Time (15:00 GMT). You can join the online meeting with WebEx, or just the teleconference by phone. Check out the info page for specific instructions, technical requirements, and assistance


Carol

kfarnham

It's A Dream Blog

Posted by kfarnham Apr 18, 2008

Do "big thought" blogs suggest what we'll see at JavaOne?

So, with JavaOne just a few weeks away, thoughts naturally turn to wondering what's going to be announced. Last year, nobody could have seen JavaFX coming, so maybe there will be another surprise. But more likely, many attendees are going to be keen on an update on Java 7.

It's obvious that the release date has slipped: a Danny Cowardpresentation (PDF), linked from a December 2006 blog, shows Java 7 coming out in mid-2008. Obviously not happening. Chris Maki posted a summary blog of Danny's Java SE road-map at JavaOne 2007, and wrote "Java SE 7 may be available just before 2009." Let's give that a qualified maybe... prior experience tells us that Java has a long beta cycle, so we'd presumably need to see a first beta announced at this year's JavaOne for an early 2009 release to be plausible. But this is all speculation.

Still, it's fun, so let's speculate further. Specifically, what's going into Java SE 7 that demands a new release? After all, the dramatic changes of Java SE 6 Update 10 -- the Java Kernel, Java Deployment Toolkit, Java Auto-Updater -- didn't require API changes, so these profound changes to the VM and Java end-user experience could be made as a point update to the existing release. So what big stuff, big enough to hold for a major release of the platform (or, put another way, big enough to make a major release worth doing), are on tap? Closures has long been the big one, and that debate seems far from settled.

We can also read the tea leaves of what some of the major thought leaders on the platform are posting. Two of these are featured on the front page of java.net today -- one on a design to support dynamic languages on the JVM, the other clarifying just what "compatibility" means in a Java context. On the one hand, you could look at these and say they're just talking about the big ideas, not announcing a JSR or anything more concrete, so for this stuff to make it into Java 7, that implies that Java 7 must be a long ways off. Maybe. On the other hand, you can see in these blogs that the authors have worked through the big ideas to their satisfaction, and are sharing the results for other to see. And that might indicate that big questions are getting resolved in this pre-JavaOne timeframe.


The first of these deep-thought blogs in the Java Today section is John Rose's Method Handles in a Nutshell, which proposes a design for "method handles" to better support dynamic languages. "One of the biggest puzzles for dynamic language implementors on the JVM, and therefore for the JSR 292 (invokedynamic) Expert Group, is how to represent bits of code as small but composible units of behavior. The JVM makes it easy to compose objects according to fixed APIs, but it is surprisingly hard to do this from the back end of a compiler, when (potentially) each call site is a little different from its neighbors, and none of them match some fixed API."

What does it mean for changes to be "backwards compatible" with previous versions of Java? Joe Darcy clarifies common misperceptions in the blog Kinds of Compatibility: Source, Binary, and Behavioral. "When evolving the JDK, compatibility concerns are taken very seriously. However, different standards are applied to evolving various aspects of the platform. From a certain point of view, it is true that any observable difference could potentially cause some unknown application to break. [...] Since not making any changes at all is clearly not viable for evolving the platform, changes need to be evaluated against and managed according to a variety of compatibility contracts."

The latest SDN Enterprise Tech Tips looks at Working with jMaki Events. Author Carla Mott writes, "the following tip expands the discussion of the event mechanism in jMaki. You'll learn more about the concepts that underlie the jMaki event mechanism and how to take advantage of it to easily interact with widgets. "


The latest java.net Poll asks "Do you participate in Sun's Java Bug Database (aka, "Java Bug Parade")?" Cast your vote on the front page, then visit the results pagefor current tallies and discussion.


In today's Weblogs, Simon

java.net projects at FISL 9.0

FISL 9.0starts today in Porto Alegre, south Brazil (hey, next year someone please submitit to our events page), and it's interesting to note just how prominent java.net projects and communities are at this conference.

Alexandre

kfarnham

Out On The Weekend Blog

Posted by kfarnham Apr 16, 2008

Getting Java ME running on the iPhone

Some people use the weekend for lounging around the house, watching sports on TV, or at most, doing chores like mowing the lawn.

Others are a little more productive. Hinkmond Wong reports that one of his colleagues spent the weekend on an important little project: getting Java ME running on the iPhone.

To show it off, Hinkmond has posted a blogapparently showing Java ME running on the iPhone SDK. Along with a screenshot of the iPhone emulator showing a Java ME version string and "Hello World" output, he writes, "Here's something I'm working on with Chris Plummer and Dean Long for JavaOne this year. Chris recently was able to build our Java ME CDC/Foundation Profile platform on Darwin OS x86 (hmmm... Darwin OS... I wonder what that means... ;-) ) last weekend. (I think he started on Friday afternoon and was ready with it on Saturday). Faster than you can say, "Java ME rules!""

Pretty impressive for a single weekend's work, wouldn't you say?


Also in Java Today, the Substance project has released version 4.3 of the popular look-and-feel. New features include "decoration painters", "highlight painters", better layout of menus and menu items, autoscrolling, initial support for very large fonts, tab close button usability improvements, and more. Kirill Grouchnikov has further details and screenshots in his blog.

Eduardo Pelegri-Llopart has posted an Overview of GlassFish Unconference and CommunityOne on The Aquarium. "I've updated the GlassFish Event Page with the latest information on the 2008 GlassFish Unconference and CommunityOne. I have linked to 18 sessions related to GlassFish, covering AppServer, MQ, Portal, Social Software, ESB, FAM, Scripting, Persistence and Web Tier. Some of the sessions are in the GF "track", others are listed elsewhere. This means you can't be in all the sessions you likely want to attend, so bring a friend and compare notes. CommunityOne is free but space is limited. Register Now to save your place."


In today's Weblogs, Sahoo announces GlassFish V3 on OSGi - Part I. "We have put back initial code that enables GlassFish V3 to run on an *OSGi* R4 platform. This is in addition to it being able to run on its own runtime, i.e., HK2. Since I have been involved in this effort from the very beginning, I will be blogging about it in days to come. Today is just the start."

In Benchmarks and surprises, Fabrizio

kfarnham

Tell Me Why Blog

Posted by kfarnham Apr 15, 2008

Announcements in the forums

Once again, it's one of those mornings where I can't get the number of interesting forum posts down to three for the front page, so I just went ahead and posted four.

Part of is is that two projects posted announcements of new versions to the forums, which is a great way to get the word out about your project to a subset of the java.net community that's interested in the same topics as you are. All java.net projects have an RSS announcement feed, of course, which is a good way to get the word out to people who already know about your project, while the forums offer a way to introduce your project to people who don't know about you.

And the other posts on the front page? One's an important perspective piece on ME, and the other has kicked off a good JavaFX thread.


Starting with those announcements in today's Forums,maxz1 announces that Swing Explorer version 1.0 has been released. "Swing Explorer is a tool for Swing developers. It is intended for visual exploring of Swing-based application internals. It finds all windows in explored Swing application and displays their component hierarchies as a tree. Each component in the tree can be displayed in the Swing Explorer's work area and visually inspected. Swing Explorer helps to determine sub-components when user moves mouse over them and provides additional information about currently selected component (layout, size, coordinates, border and other things). Additionally it allows to view basic graphical operations used to draw swing components like DebugGraphics does, but in more convenient for the user way..."

Over in the communications forum, deruelle_jean announces Mobicents Sip Servlets 0.3 released. "We are happy to announce Mobicents Sip Servlets v 0.3. Mobicents Sip Servlets implementation is based on the sip servlets v1.1 in progess specification (JSR 289) and run on top of both containers Tomcat 6.0.14 and Jboss AS 4.2.2.GA. The highlights of this release are: Management Console... Media Support ... JEE integration / JEE converged applications... STUN Support and DNS SRV lookups ... [and] the usual round of bug fixes."

terrencebarr lays out the real-world options for ME developers in a followup, Re: Technology -- Why do you mock me?. "As Shawn says if you are looking to deploy an Java ME app today on 80% of the market then straight MIDP is your basic choice. SVG is now appearing in devices and is very cool but certainly limits your market (of course, you can always build a MIDP version along with a SVG version of your app). FX Mobile is still some time away from coming to market in numbers so that doesn't help you right now."

Finally, Jo Voordeckers describes a needed API addition in Request JavaFX Timeline feature: seek. "I'm looking for a Timeline feature that apparently doesn't exist in the JavaFX API at the moment. I want to be able to start from or fast-forward/backward to a specific position in the timeline, be it by duration, key frame, or %, features that are present in movie players. A timeline based animations is essentially like a movie IMHO."


In Java Today, NetBeans 6.1 Release Candidate 1 has been published, and NetBeans.org has posted a Community Acceptance Survey, available to registered netbeans.org users. "The purpose of this survey is to find out if the NetBeans community deems NetBeans 6.1 RC1 as ready for FCS--or not. Thus we are asking everyone who has used RC1 and has developed a solid opinion about it to login to netbeans.org and take the short survey, which will be available until Wednesday 4/16 midnight in the last time zone."

"It appears that much of humanity is meeting and greeting the web through handhelds -- and Java ME. It's kind of thrilling to be the tiniest part of it, even if only as someone who reports on and promotes it." In Programming for Cool Devices Using the OpenSource Java ME phoneME Stack, Janice J. Heiss recounts a session session given by Terrence Barr at Tech Days, which included an update on Java ME.

In a recent episode of the Java Posse, Dick Wall and Carl Quinn interview James Gosling at JavaPolis '07 on a number of interesting and forward-looking topics, including the addition of new Java language features versus running entirely different languages on the JVM, trusting the VM's garbage collector, C's dirty little secret (malloc isn't that fast), what (if anything) should be added to the JVM, the idea of adding this as a declared return type to encourage call-chaining, and more. The interview is also available as a video from Parleys.com.


Speaking of James Gosling, he tops today's Weblogs with a blog about real-time Java, entitled Space Junk. "Today we got to put out one of the most weirdly cool press releases that we've done in quite a while. [...] Projects like this have quite a rigorous evaluation process to get to the start of deployment. One of the fun things about the realtime version of Java is that it gets us involved in all sorts of fascinating systems. It's not real engineering until megawatts are involved. :-) Today's customer visit involved folks in the gigawatt range..."

For those fixing character encoding issues, John

When the DSL provider's lights go out

I was traveling last week, and when you get home from a long trip, there's always that sensation of "OK, how badly did the house degrade in my absence?" You know the deal: weeds popping up on the front lawn, four spots of cat barf in the basement, milk in the fridge that's gone bad (wish we'd remembered to throw it out before leaving), and a bunch of messages on the answering machine.

Oh, and maybe the DSL isn't working. So, you bounce the router and/or the DSL modem, or assume it's just a short outage and figure it'll be back in the morning.

That's where I was Saturday morning, still with no DSL. So I called the company, and got the "all circuits are busy" message. And again. And, in fact, the next five times I tried. And it started to occur to me that this might be a good old fashioned, dot-bomb-era ISP implosion. So I used the iPhone to Google my way over to the DSL Reports forum thread where everyone else was complaining, freaking out, reporting on alternative providers or, of course, sowing mischief by pretending to be representatives of the ISP.

So, it's Monday, and I'm waiting for a new provider to send me a new DSL modem (mine's an antique that I'm not sure I can configure for their network) and get set up. In the meantime, I'm borrowing the neighbors' wifi (with their permission), having turned my tower to point the antenna towards their house, getting my reception up from one bar to two. I'm still not sure I'd trust an svn commit to actually complete with the flakiness of this connection, but it's better than nothing. And it's a heck of a reminder of how much of my productivity depends on an internet connection. Jeez, I hope that modem gets here tomorrow...

And here I thought that was going to be an excuse for having a short blog today.


In Java Today, Ethan Nicholas has posted a new SDN article Introducing Java 6 update 10. He writes, "don't be fooled by its unassuming name: the upcoming Java 6 update 10 is a very different animal than the updates that preceded it. Java 6u10 pushes the envelope by adding more new features and functionality than in any previous Java programming language update release, including many that have been a long time coming." The article covers 6u10's major features, including the Java Kernel, the new Java Plug-In, the Java Deployment Toolkit, Nimbus look-and-feel, patching improvements, and more.

The Java User Groups Community is glad to promote JUG Events, a web application to handle community events for your JUG, created by the JUG Padova (Italy) and tested during the last months by several JUGs all around the world. JUG Events is also integrated with our international JUG Map, created by the Silicon Valley Web Developer JUG (USA). These are two great examples of collaboration and creativity; check them out!

The latest edition of the JavaTools Community newsletter is out, with tool-related news from around the web, announcements of new projects and recent graduations (SigTest and Eval), and a Tool Tip on managing your application tests.


This week's Spotlightreprises last Friday's announcement of the JavaOne 2008 Student Program. Are you a college student? Interested in Java? Want to get into JavaOne for free? The Student Program, hosted by Sun's Chief Gaming Officer Chris Melissinos, is a five-day program to attend the CommunityOneand JavaOneconferences in San Francisco, May 5 - 9, 2008. Participants will have full access to the conference, including general sessions, technical sessions, birds-of-a-feather sessions (BoFs), specially developed Java University classes, a coupon for a free Java Certification Class, access to the JavaOne pavilion (come see us at the java.net Community Corner), t-shirts, lunches, the AfterDark party with Smashmouth, and more. Space for this program is limited, so interested students should download the registration PDF right away.


In today's Weblogs, Bruno

kfarnham

Oh My Golly! Blog

Posted by kfarnham Apr 10, 2008

One heck of a deal for college students

Wow, you don't often see serious giftage like the announcement that Sun sent me yesterday.

T-shirts? Books? DVDs? Lovely tote bags? Meh.

If you're a college student, how does a free, all-you-can-eat pass to pretty much all of JavaOne sound?

Yeah, I was pretty surprised too. But it's the real deal. The JavaOne 2008 Student Program, hosted by Sun's Chief Gaming Officer Chris Melissinos, is a five-day program to attend the CommunityOneand JavaOneconferences in San Francisco, May 5 - 9, 2008. Participants will have full access to the conference, including general sessions, technical sessions, birds-of-a-feather sessions (BoFs), specially developed Java University classes, a coupon for a free Java Certification Class, access to the JavaOne pavilion, t-shirts, lunches, the AfterDark party with Smashmouth, and more.

If you want to tally this up in monetary terms... this is the equivalent of a full conference pass (a US$1,595 value), plus it includes special Java University classes, so it's arguably worth even more than that.

Space for this program is limited, so interested students shoulddownload and fax the registration PDF right away. Oh, and come see us at the java.net Community Corner while you're there.


Also in Java Today, NetBeans.orghas announced the availability of the NetBeans IDE 6.1 Release Candidate, which is now available for download. The final NetBeans IDE 6.1 release is scheduled for late April, and feedback is welcomed and encouraged on the mailing lists. Also you can win $500 USD by blogging about your experience with the NetBeans IDE 6.1; details are on the Blogging Contest page.

The SigTest project is based on Sun Microsystems' signature testing and API conformance tool of the same name. The SigTest tool makes it possible to easily compare the signatures of two different implementations of the same API. It verifies that all of the members are present, reports when new members are added, and checks the specified behavior of each API member. Originally developed to help in the creation of TCK test suites, it has since evolved into a general purpose tool that can be used to compare any two implementations of an API to determine their differences. The SigTest project is being created in order to develop a community that will improve it, further its development, and use it to develop test suites. We encourage you to browse, download, contribute, and get involved.


The latest java.net Poll makes the most of poll anonymity in asking the question "How far have you ever taken a dispute over code?" Arguing, yelling... fighting? Cast your vote on the front page, then visit the results page for current tallies and discussion.


In today's Weblogs, Van

kfarnham

All Over The World Blog

Posted by kfarnham Apr 9, 2008

New thinking for educational challenges

Back in Monday's editor's blog, I pointed over to Cay's blog about the College Board dropping the Advanced Placement Computer Science AB course and some of the trends behind it. This development has a lot of people talking (take a look at Monday's comments for some interesting thoughts), including a couple of our own bloggers.

java.net intern / Sun engineer / middle school teacher Sonya Barry asks What do we do about Computer Science education? Her Master's thesis project was an intro to Java programming for eighth graders, so she knows this field well. She writes:

In the past few weeks I've met with someone from Sun's Global Citizenship Initiative. He's working on proposals to get a volunteer program set up so Sun's engineers can go out with the company's support and teach a CS curriculum either as part of a class or an after school program. He wanted to get some opinions from me about it, since I'm actually teaching it, and he also came in to my classroom on Monday morning to observe.

So what would I do if I had all the time and money to do this? My suggestions were to come up with some kind of portable classroom and to have a fairly rigorous mentor program for teaching engineers how to teach.

Why a portable classroom? Why mentoring? She's got a good case for each, so go check out the details.

Meanwhile, Juan Carlos Herrera discusses the use of Java in international education, in Project "Hello Buddy/Hola Amigo":

The project "Hello Buddy/Hola Amigo" is a Sun Microsystems' volunteers' initiative to reduce the digital divide. The digital divide is the gap between people that has resources and knowledge to get access to digital and information technology from people who don't. The source of digital divide came from social, economical, and cultural issues. Some technology (specially if come from the open-source world) can help to overcome the digital divide since open-source software does not have cost for using and also can be distributed freely, countries with with broader digital can use for free.

...

The project itself is based on Wonderland, a Sun's open-source project to create virtual 3D world. Wonderland gives us the platform to build a live virtual and 3D classroom where children of different countries can meet and share in a virtual space for fun...and learn. At the same time we can take advantage of this tool to teach and educate children, if we have technology that provides a broadband connection, audio, and publishing tools, we can develop and attend classes closer to a real world. Finally the project will have a children driven approach, in fact both English and Spanish speakers will teach each other their native language.


Also in today's Weblogs, Jean-Francois

kfarnham

Here Comes Your Man Blog

Posted by kfarnham Apr 8, 2008

Dalibor gets even more involved with OpenJDK

You might recognize the name Dalibor Topic from a number of times we've mentioned his blog entries in the editor's blog or in the Java Today section. Or maybe you know him as a member of the OpenJDK Governance Board, or lead developer of the F/OSS Kaffe VM. Or maybe you heard him interviewed a few months back on Java Posse, or seen him on the Posse's IRC channel.

Yeah, busy guy. About to get busier too.

He shows up twice in today's Java Today section, first as the author of the announcement that the OpenJDK Porters Grouphas approved a new project to port OpenJDK to the MIPS architecture. This Linux-based port aims to keep up-to-date with the OpenJDK base, provide client and server compilers, and generalize the port to all MIPS variants, while focusing primarily on MIPS32 and MIPS64 (currently, MIPS64 is the only implemented variant).

Moreover, Dalibor has announced in his blog that he is joining Sun as a F/OSS Ambassador. He writes,:

I was looking for a job that would let me influence the future direction Open Source Java is taking more directly. Sun has made a lot of progress in the past couple of years, both as a good corporate Free Software citizen, and as an Open Source company, and I think it's the right place and time for me to do my next little bit to keep pushing Java Libre forward.

Anyways, congratulations to Dalibor, as this is not the kind of thing that would have happened without the efforts of him and many others to nurture and grow the field of free and open source Java, both inside and outside Sun.


Also in Java Today, the latest in the SDN's series of interviews with Java Champions isBetter Programming With Java EE: A Conversation With Java Champion Adam Bien. In it, the self-employed consultant / lecturer / software architect / developer / author talks about the perceptions and real challenges of Java EE, the utility of EE patterns, hazards of large IT projects, the power of GlassFish, favorite features in Java SE 6, the traits and habits of effective developers, and more.


In today's Weblogs, Marina

kfarnham

The Happening Blog

Posted by kfarnham Apr 7, 2008

Making Java's presence known at OSCON

The O'Reilly Open Source Convention has published its list of sessions, including its Java track. I mentioned before that I was on the program committee again this year, and suggested that the committee was looking for talks other than the usual "state of / update on" kind of presentations (which could easily be whipped through in lightning talks). Since Java is one of several languages with its own track at the conference -- along with broader disciplines like security, desktop, and webapps -- it's important for the talks to reach out beyond the usual interests and biases of the Java audience, to appeal to people who might primarily work in other languages, or not even care about languages, per se. If your talk is right for JavaOne, it's probably wrong for OSCON.

Fortunately, many of the would-be speakers got the message and proposed talks about how the open-source community has picked up the Java ball and run with it. This year's java.net-related talks include Dalibor Topic on ports and projects spun off of OpenJDK, Josh Marinacci on expanding the Java platform beyond programmers, and Roger Brinkley on extending, expanding, and porting Mobile & Embedded Community projects. There are also multiple Groovy talks -- a surprise to me, since I thought Groovy had one foot in the grave just 18 months ago -- and a ridiculously appealing talk on "Java Programming in a Multicore World", something I think would make a great article proposal (hint!) or perhaps even a book.


In Java Today, NetBeans.org has announced that a new version of the Plugin Portal is now available. New features include a verification process for publishing plugins on Plugin Portal Update Center built in NetBeans IDE, comment notification via email, comment management, and more. Further information about the portal's new functionality is available in the full functional specification.

Over on OEDN, a site for developers using OpenCable/OCAP/Tru2way to develop interactive television applications, Will Kreth asks Does Cable "Get It"? "It's a question that needs to be asked. Because, beyond the dichotomy of "Professionally Created Content" vs. "User Generated Content" (sometimes referred to as "UGC") -- we're rapidly moving into the territory of "User CONFIGURED Content." Content that is arranged, assembled and edited as drag-and-drop, click-to-install elements that represent the entertainment/social dashboards of their lives. The "Widget Nation" is here, and combined with the move to time-shifted video viewing, a powerful dynamic is at play."


In today's Weblogs, Brian

kfarnham

Weird At My School Blog

Posted by kfarnham Apr 6, 2008

What's happening to computer science in education?

In this week's first WTF moment, I looked at Slashdot last night (yeah, I know...) and was greeted with the headline College Board Kills AP Computer Science AB. For the benefit of non-US readers, Advanced Placement (AP) is a program of advanced classes in high schools, in which students who pass a rigorous standardized test can receive college credit for their coursework. Anyways, according to the Washington Post article cited by Slashdot, an AP spokesman said that the more advanced "AB" was among the four least-popular topics, along with Italian, Latin literature, and French literature.

B-trees are as unpopular as Camus? That's news.

Cay Horstmann, who works on the AP Computer Science courses' Development Committee, shares some insights in his blog Is Computer Science the New Latin? He shows a graph of the rapidly dropping enrollment in college CS programs -- particularly women, for whom CS is the choice of less than 0.5% of freshmen, the lowest rate on the 35-year chart -- and asks:

Why don't students major in CS? Nobody knows for sure. The Dilbert image of working long hours in cubicles, only to have your job outsourced, surely doesn't help. We do know that most students have made up their mind by the time they reach college, so the way to their hearts and minds is in secondary school.

There's probably a counter-argument that there are plenty of effective programmers who don't come from an academic CS background, which is a big bag of glass shards that we really shouldn't open up on a Monday. At least for the moment, let's assume that genuine CS really is worth saving. So what do we do? Cay recommends duty now for the future:

As you can see, CS in American high schools is in bad shape. That is a problem for all of us in the computing industry. What can you do? If you have kids in school, make your voice heard with the school board. Volunteer in the CS club. (They don't have one? Start one. I fondly remember my high school days in the physics and technology club, the refuge of the nerds. We were a proud group of nerds, and many of us ended up with a Ph.D.) Get your company to send speakers, volunteers, and equipment. Get kids into your company so they (hopefully) see that it's not Dilbert land. And remember, what got you into CS may not be what excites them, so be on the lookout for new approaches such as this or this or this.


Also in today's Weblogs, James Gosling crows about Hotspot performance. "I've had several run-ins in recent months with crusty C (and a few Fortran) programmers who say "you must be faking your benchmarks!". Nope. The HotSpot crew has done a truly great piece of work."

Evan

kfarnham

Disappear Blog

Posted by kfarnham Apr 3, 2008

Just how obvious should Java be to the end-user?

There's a pretty heated thread going on this week in the Java Plug-In forum. The discussion System Tray Madness! started off with a complaint about multiple Java system tray icons on Windows, one for each running applet. Aside from that issue, participants are debating whether it makes sense for Java to have such prominence in the system tray at all. carcour writes:

You're right I am also in favor of removing the Java icon in the tray. Flash is so widely used and its success is because of its perfect deployment and startup speed even though it had a weaker technology. Java on the other hand had a great technology but failed at the startup and the deployment. Java applets shouldn't clutter the user's system tray. People do not care about technology they care about end results. Some people might argue that the system tray are to enforce the Java brand but other methods should be used such as a great splash screen with Java.

After a follow-up agreeing that the icon and Java splash screen are too pushy, kbr replied that the splash is easily dismissed, which prompted demonduck to reply that Java's verbosity shouldn't be the default:

Stop trying to get the attention of the user to tell them how great Java is. It's like some cheap salesman trying to make phony friends with someone so as to take advantage of them.

When Flash starts up or Acrobat or other plugins -- except for Quicktime -- which I avoid like the plague -- they just start. No memory hassles, no "Look at me, I'm XXXX" They just work -- quietly.

Stop trying to tell the World how great Java is. It makes Java look like it's not quite sure of itself. And there's a *LOT* of people who really hate Java on the desktop already. You are only making it worse by telling people "Look -- it's Java"

I repeat -- just shut up and work!

While that conversation continues, a sidetrack points out that refreshing the page brings up a new system tray icon, meaning that 10 refreshes puts 10 icons on the tray. That's obviously inappropriate, and bug 6683047 has been filed to fix it.

So some good has already come of this contentious thread. And if you have something to add to the debate over user experience and Java's visibility, by all means, take a look.


Also in today's Forums,josandres needs to Print a JPanel in headless mode. "I'm developing an application from printing plotcharts in headless mode, that is, every hour my app prints a plotchart with some information. What i have is a JPanel (the plot chart) and when i invoke the printAll method, it checks the method isShowing() from Component class. this method checks that the Component is visible and its parent also is visible. My question is if there is any way of printing a JPanel without being visible...and how can i solve this."

segfault2007 wants to know how to store json data in browser. "I am writing a major project with glassfish. We are using a lot of restful services and servlets that talk via browser tru json. Imagine my page loads first, the init method is called in js, and then the dom tree is modified as the user interacts. when the user navigates to a different page within my server, and then hits the back button, the init method in my js executes, and all the data I polled from my server gets destroyed. how can I overcome this limitation? I guess I could store some data in session object, but that would still consume bandwidth. is there no way to store data inside the browser, like in the window. object?"


The latest Java Mobility Podcast is Java Mobility Podcast 41: Down Under - Sydney Mobility Days Town Hall, in which Roger leads a developer question and answer session of Australian developers at Mobility Days in Sydney.


In Java Today,the Aquarium points out that the OpenSSO project has released build 4. New features include an new OpenSSO configurator, WS-Trust Security Token Service (STS) (based on Metro) is available on Glassfish, Sun Application Server, Sun Web Server, Geronimo, Tomcat and WebSphere. We're working on support in Oracle Application Server, JBoss and WebLogic Server, simplified STS client sample, configuration and/or user store replication across multiple OpenSSO instances where the embedded instance of OpenDS is in use, and various fixes. Check out the release notes or download the current stable build.

The SDN continues its series of profiles of Java Champions in Better Programming With Java EE: A Conversation With Java Champion Adam Bien. The self-employed consultant / lecturer / software architect / developer / author discusses Java EE fallacies and challenges, SE 6 features, writing javadocs, GlassFish, the process of writing code, and more.

XML.com blogger Rick Jelliffe complains that Java's default handling of ZIP files has been broken for nine years, and asserts that it wouldn't have happened if Java had become an ISO-certified standard all those years ago. In Reaping what you sow: How a standard for Java would have made it better today, he writes, "Software maintenance and juggling issues on a budget are not easy. However I think it is more than plausible that had Sun gone ahead and submitted Java to ISO for standardization a decade ago, this issue would have been fixed long ago. Because ISO National Bodies give very high precedence to issues such as internationalization, accessibility, modularity, and conformance."


Following this week's release of a beta version of the "Consumer JRE", the latest java.net Poll asks "Have you tried out the Java SE 6.0 Update 10 Beta?" Cast your vote on the front page, then visit the results page for current tallies and discussion.


In today's Weblogs, Arun

kfarnham

New Sensation Blog

Posted by kfarnham Apr 3, 2008

The consumer JRE goes beta

Can desktop Java be revolutionized without adding a single API? We're about to find out.

The so-called "Consumer JRE" is now in beta. Java SE 6 Update 10 is "an update release that introduces new features and enhancements aimed at providing an optimized consumer-end user experience."

Announced at last year's JavaOne, JDK6u10 targets deployment as a unique and important pain point in the Java SE ecosystem, one that can be addressed effectively in the short term. It's a great idea: since the changes affect the Java VM and its interactions with its host environment, and don't introduce new APIs, it can go out as an update to the current JRE rather than waiting for JDK 7.

And what changes they are. The monolithic JDK of the past gets replaced by the Java Kernel, which provides just enough class libraries to get started and downloads the rest on the fly. The Java Plug-In has been completely rewritten and no longer runs as part of the browser's process, meaning that in the absolute worst case, a JVM crash doesn't take out your browser too. The Java Deployment Toolkit allows applets and Java Web Start applications to discover the installed version(s) of the JRE, and fetch a newer one if necessary. Windows users get Direct3D-based hardware-accelerated graphics. And the "Java Quick Starter" preloads parts of the JRE into memory, making it faster to cold-launch Java apps.

Rather than pick off one problem at a time, JDK6u10 goes for the whole enchilada, radically rethinking Desktop Java deployment. If you haven't tried it with your applets and web start apps, try downloadingit and tell us what you think.


Also in Java Today, a recent EE Tech Tip, Adding Voice to Java EE With SIP Servlets, shows off how to useSession Initiation Protocol (SIP), a signaling protocol that is used to set up, modify, and terminate a session between two endpoints. SIP is used to set up a two-party call, a multi-party call, or even a multicast session for Internet calls, multimedia calls, and multimedia distribution. The Tech Tip covers some of the basic concepts underlying SIP and SIP servlets. It also presents a sample application that uses SIP servlets and HTTP servlets to provide VoIP phone service.

Developing 3D games for mobile devices is full of challenges, but the rich, evolving toolset enables some stunning results. In the ACM Queue article Big Games, Small Screens, Mark Callow, Paul Beardow, and David Brittain step through the design and development of Java-based games for the small mobile device, including planning, designing for scalability and multiplayer, handling assets, working through the challenges and limitations inherent in small devices, testing, packaging, and distributing your game. So why bother with all that? Because "the mobile market has the largest potential games audience ever. More than 700 million new handsets ship each year, and the majority of those are enabled for gaming in some form. That is many times the console space and encompasses a much wider range of consumers and appetites for entertainment."


In today's Weblogs, Claudio

kfarnham

What You Need Blog

Posted by kfarnham Apr 1, 2008

More on Java web browsers

Yesterday's blog about the JDIC Plus project's tight integration with the single-platform IE browser didn't kick off nearly the firestorm that one might have expected, although there was one pretty strong reaction over in the forums.

In Re: JDICplus is ready!, will69 writes:

Could you please post some sort of mission statement for JDICplus? At the present stage this project seems to be in the "stupid Java move of the week" category. What are you trying to achieve? Is this supposed to be platform-neutral eventually? Nobody and his dog cares about integrating Internet Explorer into anything. IE died when MS decided IE6 had crushed the competition and stopped development on that project. IE7 (what a failure!) and IE8 (vaporware?) don't even have native SVG support, a feature we simply take for granted in a modern browser. It would have been much more logical to integrate a browser that is available on most platforms, like Mozilla Firefox or - even better - Opera. Mozilla and Opera have demonstrated Java competence in the past. Opera even offers pure Java browsers for mobile phones. Please work with them to create a Java-integrated or pure Java browser.

Some of the people who replied to the JDIC Plus story on JavaLobby also complained that the project might not even be necessary had Swing's HTML support been kept current and viable over the years. And there's another technology to consider: Sun announced at January's Mobile & Embedded Developer Days that they were adopting the open-source WebKit for JavaFX and JavaFX Mobile. As it turns out, they implicitly announced this last November, when theyintroduced their WebKit teams to webkit-dev list. Sun doesn't say it's porting WebKit to Java, but their stated approach might be broadly reusable:

This integration requires webkit platforms, or ports, similar to those that exist for qt or gtk, that will support embedding webkit into the various flavors of Java that sun plans to support. Internally, we have discussed several approaches for creating a new port for Java. We believe that the best strategy for Sun and the community is to create a port that enables Sun to decouple its ports from the main webkit project. We'd like to help to create a toolkit independent, "stub" port that enables sun to develop ports outside of the main webkit repository. We've been using the term "embedded platform" to describe this concept, and we intend for it to be a simple abstract porting layer that will create explicit separation between a port and webkit platform independent code.

So, if WebKit can be integrated into JavaFX, will we pick up Java SE integration as part of the deal? It's an encouraging thought. After all, WebKit is fast, standards-compliant, and used by a number of popular browsers -- most obviously Safari, but Wikipedia lists others. In fact, I've been using the WebKit Nightly Builds as my browser of choice for a few months now. Getting it as a Java browser technology, one that already passes Acid3 and supports the HTML5 <video> tag, could be a real breakthrough.


Also in today's Forums,tdanecito asks Why is Java Deployment kit installing beta version of jre? "I discovered if you use the Java Deployment kit when no jre is installed it downloads and installs jre 1.6 U10 b14. If a version of 1.6.0 is installed it does not download the beta of 6uN. If I use either of the following it downloads the beta -- deployJava.createWebStartLaunchButton(url); or deployJava.createWebStartLaunchButton(url,'1.6.0'); -- I really do not want users downloading the beta yet."

jharrop2 wonders about JavaFX terms in licensing - redistribution of jars? "I'd like to understand the restrictions, if any, on redistributing javafxrt.jar with my application. [A] blog post says: "Nandini Ramani (Sun) clears up any confusion on the JavaFX user list: 'I would like to reiterate that it is perfectly fine to distribute your JavaFX applications, in fact we encourage it. I was just pointing out that it is not yet ready for commercial use. [Developers] are welcome to distribute their applications. 'Unlike other proprietary companies, we at Sun really do believe in open source and community involvement. I am sorry we do not have a licensing model in place yet, but I assure you that we are working on it and I will keep you all posted as soon as we have one in place.'" However, the license in https://openjfx.dev.java.net/source/browse/openjfx/LICENSE/is still the Technology Evaluation License. Or am i looking in the wrong place?"


The latest Java Mobility Podcast is Java Mobility Podcast 40: Navigon - navigation on your phone . In it, Terrence talks with Phillip Candal about their new Scabler product that has integrated mapping and GPS solution and how it was developed by J2ME Polish.


In Java Today, Jim Connors shrinks the 88MB Linux JDK down to 31MB in Reduced Footprint Java SE: Bringing Java Standard Edition Down to Size. "A previous blog post demonstrated how you can, with minimal effort, lessen the disk footprint of a typical Java SE 5.0 runtime environment by about a third without violating the Java Standard Edition Licensing agreement. That post focused primarily on removing optional files and compressing class library jar files.  It turns out that with a little more engineering,  there is significant opportunity for further space optimization."

Lucas Torri has announced the release of version 0.5 of the Marge project., just in time for the project's first anniversary. Marge is a framework to simplify development of Bluetooth applications in Java ME or SE, abstracting away some of the more complex parts of JSR 82. Check the releases page to see the 0.5 changeset.

The SDN article NetBeans, Solaris, GlassFish: The Ruby's Red Slippers Fit, reports on how the Ruby landscape is turning into a gem, fueling the move to Web 2.0. "Ruby's growing popularity, as well as its support on the JVM through JRuby, plus the tooling support of the NetBeans IDE and Solaris OS support in Cool Stack, results in a complete Ruby developer environment, from tools and databases to servers and runtimes."


In today's Weblogs, Scott

kfarnham

The One Thing Blog

Posted by kfarnham Apr 1, 2008

JDIC Plus project takes a Windows-only approach

The JDIC Plus project describes itself as a "a Java Win32-extension development kit, enabling developers to use extended Microsoft Windows API functionality." By implementing a semi-lightweight wrapper component

Filter Blog

By date: