JavaOne 2008 Blogs
Lots of new things - PHP. Check out the new developer center, NetBeans PHP video, PHP learning trail and a great PHP blog. More...

Awesome news for Java-lovin' humanitarians (hopefully, all of us!). 

Ya'll remember my prestigious annual Duke's Choice Awards? I'm super stoked for the announcement of this year's Medical Solutions winner:

The big kahuna, James Gosling, and his tech leadership posse have selected a team of students from the University of the Philippines, Diliman for their Expert System for Poisoning, or ESP.

I look good on a trophy, no?ESP, made by Diana Bandojo, Maria Jaymee Gatapia and Reggie Santos, is a Java-platform application that allows doctors in remote areas to access a poisoning database for symptoms and solutions through their mobile phones. This means quicker treatment in more places!

This is GREAT news, not just for the Philippines' suffering doctor-to-patient ratio (1:80,000!), but for the entire Java community. These genius students have found a way to save human lives using the our fave programming language.

Really, guys... I can't think of a cooler use of Java.

So proud, I could cry!

P.S - I look good on those trophies, no? ;]

Good morning! I saw this yesterday and I thought it was too cool not to share being that it combined two things I think are neat (Bob Dylan and typography).  Turn up the volume and enjoy! :-)  



Quick breaking development... So exciting I just head to share... James Gosling sent me an email.

For the uninitaited: Java is to James what Athena is to Zeus.

His picture (James', not Zeus') is on the wall of the Computer Science lab in my local high school.

The email. It contained the following words:

"I'll be there!"

(happy) sigh.

Please note the "!"

(double) (happy) sigh. 

I'm working on this proposal.

James thinks it's a reasonably OK idea.

He's going to come to a meeting on Monday to tell some important people that. 

I'm really gunning for this one, you guys. I really want to see it happen. So bad I can taste it.

James is coming. The guns don't get any bigger than that.

But I don't want to jinx it.

So I'm gonna keep my figners crossed until then.

(which  makes it a little hard to type...)

:-)


NetBeans IDE 6.5 Milestone 1 is now available. The New and Noteworthy feature list certainly makes it worthy for the install - comprehensive PHP support (Editor Screencast and PHP Learning Trail), JavaScript Debugger, Groovy Editor, Grails support and Numerous improvements in other areas are some of them.

Let's get started!
  1. Download NetBeans 6.5 M1. Installation is pretty straight-forward and I customized it with the following options:



    After a simple installation process, check the "About" box as:




  2. GlassFish v3 plug-in and TP2 is baked into the main release and so it is pre-configured for you. No need to install the additional plugin.

    This blog walks you through creating a simple Rails app and shows the nice improvements along the way.
  3. Let's create a simple Rails app:



    Notice, GlassFish v3 is chosen as the default Server.
  4. Specify the database connection as:



    and click on "Finish". NetBeans is bundled with JRuby 1.1.2 and Rails 2.1.0.
  5. Start MySQL as "sudo mysqld_safe --user root".
  6. Running Rake commands from within is more natural now. Right-click on the project and select "Run/Debug Rake Task ..."



    The dialog shows all the Rails rake tasks available. Typing the Rake command prunes the list matching
    the pattern and shows:



    Type "db:create" and select "Run".
  7. Create a new Scaffold by right-clicking on "Project" and selecting "Generate..." and entering the value as shown:



    and clicking on "OK".
  8. Migrate the database by invoking Rake command as shown:



    and selecting "Run".
  9. Right-select the project and select "Run" as shown:



    The default App Server page at "http://localhost:8080" is shown. This will be updated to "http://localhost:8080/RailsApplication19" which is the default Rails page for the final release.
  10. After adding couple of entries the final output looks like:

With NetBeans 6.5, you can easily run your Rails applications on GlassFish v3 by taking most of the defaults. Rails powered by the GlassFish Application Server explains the reasons to do so.
Subsequent blog entries will highlight other aspects of NetBeans IDE 6.5 M1.

Technorati: netbeans glassfish v3 rubyonrails mysql

newsflash-757208.jpg It's amazing how community activity tends to develop its own dynamics. Over the last few weeks there has been a surge of things happening in the phoneME Advanced project - on several fronts. I thought I'd share some of this in case you missed it:

  • Porting to Garnet OS / Palm OS 5.x

Several folks are really getting into the details now, discussing the possibilities and the pros and cons of porting strategies. This thread has had over 3300 views in less than four weeks.

  • Porting to N800

Getting Java ME to the N800 has been a long-standing topic for the community. Lately, there has been new activity in moving this along. Check out this thread.

  • Identifying and squashing bugs

Several community members have nailed bugs and even provide fixes for them. Two examples: In this thread community member Mike found a problem in the Qt-related image handling and provided a fix as well. And in this thread community member Jason found a regression that was promptly fixed by the phoneME Advanced team.

  • Adding Bluetooth functionality

Bluecove is popular open source project that brings Bluetooth functionality to a number of platforms. So community members want to make it work on phoneME Advanced as well. One of our community stars, Davy Preuveneers, has spent some time investigating what it would take. See this thread for more info.

An active and vibrant community is what it is all about. Thanks, folks!

Cheers,

-- Terrence


Nick decided to walk the talk and upgraded his blog deployment platform from Mongrel to JRuby/GlassFish.

Read more details.

Yet another successful deployment of JRuby-on-Rails on GlassFish. Read other similar stories.

Technorati: rubyonrails jruby ruby glassfish stories

NetBeans 6.5 Milestone 1 is now available with a ton of new features and new support for PHP and Groovy/Grails. More....

Happy Monday everyone! I hope that you all had a good weekend. Mine was spent in beautiful Lake Tahoe and I had a lovely time. I am back in full swing with lots happening in the JavaFX world that I am excited to share with all of you soon. I was browsing around this morning looking for a bit of inspiration to blog about and I stumbled upon aTunes.org. aTunes is a full-featured audio player and organizer AND it's developed in the Java programming language. How sweet is that? aTunes supports mp3s, ogg, wma, wav, flack and mp4 files and allows users to edit tags, organize music, rip audio cds and as an added bonus it also offers radio streaming. And..what's even cooler is that it is all built on open source software. For a full list of features and benefits, go here. I will definitely be playing around with this new player this week, so look for me to review more about it soon. I love new toys that involve music. Off to check it out now. Enjoy your day! :-D

 

 

 

 

 

I'm back from my week of vacation and am ready to pick up where I left off with the interviews I conducted at the Red Hat Summit/FUDCon last month.  After today's, I will have three left: Dennis Gilmore, Max Spevack and Chander Kant of Zmanda.

The Honourable James Zemlin

On the first day of the Summit I was able to grab my buddy Jim Zemlin, the Executive Director of the Linux Foundation for a spirited discussion about the Foundation, Linux and a bunch more. 

My interview with Jim (15:55)  Listen (Mp3) Listen (ogg)


Jimmy Z, all badged-up and ready to roll! 

Some of the topics we tackle:

  • What exactly does the Linux Foundation do? 
  • Fighting the anti-Linux FUD that comes from Microsoft and "others"
  • List of events coming up that the LF is involved with like the Kernel Summit and the Plumbers Conference.
  • Props for Sam Ramji of Microsoft
  • How Marten Mickos did at the Linux Foundation summit
  • Will Sun release more of its Free Software under the GPLv2?
  • IBM and their mix of Free and proprietary Software
  • What Jim plans to do at the RedHat Summit
Pau for now...



Technorati: jul4th fireworks cupertino memorialpark 2008 photography

Herewith some evidence, for the general tech public, that Atompub is a big deal, and for the Atomistas, some interesting developments.

It’s an Atompub Future

Let’s see; Microsoft is using Atompub for... well, everything, pretty much. Google has been for a while, and that’s now leveraging Salesforce.com. Oh, and the Kool Erlang Kids are getting into the act: Atom-PubSub module for ejabberd (Hmm, I dislike “Atom PubSub” and all its orthographic variations). And then there are things like AtomServer.

The Right Amount of Cloud Lock-In

But here’s the real reason. We seem to have consensus that the future is cloudy. My #1 gripe with the cloud-computing infrastructure I’ve seen out there is that it all seems to come with some degree of lock-in.

The only appropriate amount of lock-in, to build a cloud-centric future, is zero.

It seems to me that Steve O’Grady really hit the nail on the head with Question for Cloud Campers: The Cloud and Standards. Now it’s quite possible that my obvious bias as one of Atom’s fond parents is showing here, but it seems to me that the Atom format provides a nice clean zero-lock-in way of getting information out of the cloud, and Atompub an equivalently safe way in.

Now let’s move on to some Atom-technology news stories.

Atom-Multipart

To post an image (or any other bit-blob) with Atompub, you HTTP-POST it; the server stores it and creates a synthetic Atom entry for metadata about it. Then if you want to update the metadata, you have to PUT that. So Joe Gregorio, based on his work at Google, is proposing “atom-multipart”; the idea is use pack up your bit-blob and an Atom entry full of metadata, and push ’em at the server in a MIME multipart package.

Everyone seems to like the idea, the Atom-protocol mailing list is chewing it over, the IETF seems to think it’s appropriate for the standards track, and I’ve volunteered to be the consensus referee (which is probably poetic justice since I’m obviously going to have to implement the sucker in mod_atom).

Meta-CRUD

Just to review: an Atompub implementation lets you create, retrieve, update, and delete (CRUD) Web Resources. So, suppose you think of publications as Web Resources, wouldn’t Atompub be a candidate for the CRUD job? Now, this is all getting more than a little bit meta, but the idea is so obvious that everybody is doing it. In fact, I’m doing it myself in mod_atom, since my original idea (to create a new publication, edit the Apache config file) is, well, really lousy.

I thought “If everyone’s doing this, maybe we should standardize it, and then authors of Atompub test suites (like me) could build portable tests”. So I raised the issue on the mailing list and well, it’s complicated.

Just by way of reminder: Atompub starts with a Service Document, which contains one or more named Workspaces, which contain Collections, which are what you actually POST to in order to start up the CRUD process.

So the meta-idea is simple; have a collection that when you POST to it, creates a new publication. What could be simpler? Well, it turns out that there are three obvious choices you could take as to what happens when you POST to one of these meta-collections:

  1. Create a new Service Doc, with Workspaces and collections.

  2. Create a new Workspace in the current Service Doc.

  3. Create a new collection in the current Workspace.

There are implementors out there doing all three of these things; mod_atom does #1. We just don’t have enough experience yet to decide which (if any) of ’em deserve standardization. Oh well.

There is a new tutorial on how to setup MySQL Cluster using Zones. Also lots of relatively new resources on how to develop MySQL solutions using NetBeans. More....
Got the following Hindi poems from a friend - deja vu.















And then the best of all ...


A consolidated collection is available here.

Technorati: hindi poems kids

The last rose of the day is a “Royal Sunset” in the sunset, A lucky shot, another small instance of good fortune in what’s been (so far) an unreasonably lucky life.

Sunlit Royal Sunset rose blossom

Well perhaps not sunset exactly, but after supper last Sunday, a narrow shaft of slanting sun illuminated the blossom and not much around it. I had the 21mm wide-angle on but there wasn’t time to fiddle with lenses, I just threw the camera on all-auto and pointed and shot. Lucky, I said.

Lucky, You Say?

In spades. My family is mostly free of both insanity and cancer and we mostly like each other, all of which puts us in a small minority of families. I drifted through life without working very hard at anything until I stumbled into work that I loved and have been well-paid for it. My kids are tractable and healthy. I live in a nice part of a nice city. I get to travel to interesting places and meet interesting people. I get along well with my wife of twelve years. I get to tell stories to the world, and some people like them.

And sometimes a sunbeam catches a rose when there’s a camera handy.

There isn’t a day that goes by that I don’t shake my head in amazement at how well things have worked out so far. If I were a character in a play by Sophocles the outlook would be grim.

For the first time in its 25 year history, Sun has a product that passes the $1Bn mark and is the featured star in a blockbuster movie. With a strong supporting cast that includes Steve Carell, of "The Office" fame, Wendy Johnson of Sun's Product Management team, and Jim Cates of Sun's Engineering team, the SL8500 has captured the interest of IT Managers and movie goers globally. See Sun's SL8500 in the movie Get Smart.
This week's Gadget-of-the-Week is a emerging as technology-rich, carbon-light, alternative energy version that is City 2.0. More...
Two new articles on scripting languages. The first discusses the mechanics in Java to interface/integrate scripting languages and Java. The second article offers a tutorial/article showing how to use JMaki, PHP, MySQL to build a web app. More...
The video and slides from last December in Belgium.

As some (many? both?) of you know, we have been running a special program for Education with Sun SPOTs. We have been accepting proposals, and granting Sun SPOT kits, for course development in Wireless Sensor Networks, Robotics, and a wide range of other topics. The courses developed through this program are required to be open source, and we're starting to get results!


RTI has submitted an interesting website with some of their course development activities and results. Check it out!


I'll post more as they roll in. If you're working on one of these projects, and you want to see your project listed here, just send me the link (again, if you already did and I ignored it) and I'll get it posted here!


[ The Kennedy Constant:


Don't get mad -- get even. ]

Exactly 1 month later (Aug 3, 2008), I'll be running the San Francisco Marathon (First Half) - the coolest marathon right in the middle of Summer. Register Now!

Read the 2nd newlsetter for all the latest developments.

 Here are some of the features that make this marathon cool:

Watch the entire course of full marathon in the video footage that follows a group of runners, led by Dean Karnazes (the ultra marathon man).

Part 1 at ...



And then part 2 (starting @ mile 10) ...


This will be the 4th addition to my list of marathons:
I completed PG&E @ Rancho last weekend in 84 mins, 45 secs (run+walk 56 mins to the top starting from the first parking lot and downhill running) and hope to run 4 more times in as many weekends before the race.

Technorati: running marathon runsfm

I like mornings. Especially bright ones on foot in the city. People are up and about for a reason; it’s easy to believe the world is on the whole is a well-organized purposeful kind of place.

Bee at breakfast

I smile particularly when I walk past a restaurant or other storefront and they’re outside washing the big windows. Glass in a city gets cruddy fast, and the window-washers are a daily battalion of shock troops in our doomed but admirable struggle against entropy generally. People who ten hours later pause hungrily by the windowgleam to consider the menu, they never think about the minion in the morning light with the bucket and rubber blade on a pole.

Transparency

And if they’re washing the windows in front, in the back you know they’re chopping and peeling and mixing and baking.

Baking

Driving can be good too (well, unless you’re going east) but it could be better. I like all kinds of music but when it’s morning and I’m behind the wheel of a car, all I want to hear is rock & roll, hard fast and loud. I could put a CD in but it’d be nice to be surprised. Sadly, the rock stations don’t play much music in the commute window, that’s their prime slot for ads and then they seem to think the people in cars want airhead DJ banter, mostly.

Hmph, this is a big-government country with an intrusive broadcast regulator that oversees radio formats. Clearly they’re doing something wrong. I’m a taxpayer and I want some damn enforcement; compulsory morning rock & roll please.

We planted today’s rose in an awkward corner of the garden and thus had to move it; this summer it’s recovering and only produced one blossom. Pretty pictures are a relief, I hope, in a week that feels like summer’s Horse latitudes.

Morning Mist rose blossom

Tomorrow’s RotD will be the last, and it’s a honey.

Horse Latitudes

Yeah, I seem to be busy enough; talking to product and research groups internally, Wide Finder moving right along, making progress on mod_atom albeit slow, but it all seems an effort of will, not something that’s pulling me toward the keyboard at all times. Right now the only thing that’s exciting is a couple of big Fortune top-whatever Sun customers I’m talking to about modern Web stuff; the cognitive dissonance between the vigor of the high-tech Twittersphere and what’s actually in BigCo production is invigorating.

Whatever, time’s on my side; I never stay bored long.

I’ll try to play this straight. It seems that a posse of industry titans (IBM, Oracle, CA, and EMC) want a W3C working group to standardize WS-Transfer, WS-ResourceTransfer, WS-Enumeration and WS-MetadataExchange. Because, as they say, “There is still some work to be done”, and “Accessing data about a resource through Web services is an area of the Web services architecture that has yet to be fully realized.” I guess that if you really do want to implement HTTP on top of the SOAP stack on top of HTTP, these are clearly the Right Vendors For The Job. There is, however, real danger in this move, as outlined by Mark Nottingham in The WS-Empire Strikes Back... feebly.

Looking at various LISP environments are pushing me toward looking at a NetBeans LISP IDE extension. More....

A while ago, Jon wrote about his first World Builder world, which is a lecture hall. Since then, this has become a standard part of our Wonderland "demo tour". What's nice about the lecture hall, apart from the fact that it showcases how easy it is to build spaces using our web based World Builder application, is that it's packed with cool features that make for a really great demo.

Let's take a quick tour:

Project Wonderland lecture hall

Let's start with where I'm standing.

First notice the floor mounted microphone, just in front of me and slightly to my right. This is a functional in-world microphone. It's not just a prop. If I stand on the white square by the microphone, my voice will be amplified so that everyone in the lecture hall hears me at the same volume. Having a microphone in this space provides virtual world users with a familiar real world model for addressing questions to the presenters. The microphone enforces a one-at-a-time mechanism by requiring proximity to the microphone. Of course we could have done away with this completely and given everyone the ability to address the room at full volume, but the virtual microphone allows us to use social mediation to control question asking. Why create a new mechanism when, there's already an established solution we can bring from the real world?

If you look carefully there's also a white square on the stage which works in the same way for the presenter.

On the far wall of the lecture hall are two collaborative applications.

On the left is a PDF viewer. This allows a PDF document to be displayed in-world and can be used by the presenter just like they'd use a laptop and a projector to give presentations in the the real world. Unlike the real world, though, audience members can un-sync from the presenter and flip through the slides on their own. Each user can do this independently, and when they're done, they can re-sync with the presenter to go back to the slide they're currently on. All without interrupting the presentation. Try doing that in the real world!

To the right is a video application. Presenters can use this to load videos to show during their presentation. The video application supports recorded videos in a wide range of formats courtesy of the fobs video library which provides Java bindings to native video and audio codecs. The video app can also be used to stream live video from Axis webcams, courtesy of the jipcam library.

New in Wonderland 0.4 is a heads up display (HUD). You can see the control panel for the video application in the bottom right. The button that looks like a chain is the sync button. Just like the PDF viewer, individuals can un-sync from the presenter and play the video at their own pace.

Finally, there's one more interesting component in this feature packed space. On the far left there's a table with a phone. This phone allows us to dial out from the virtual world to real world phones and have so-called "out worlders" (thanks, Jordan for coining that phrase!) join the meeting in the virtual world. This phone acts like a conference call, people can also dial into the meeting from their phones.

So, that's Wonderland's virtual lecture hall. I hope this encourages you to use the features we're building into Wonderland to create really effective collaborative spaces of your own. We'd love to hear about your projects. Better yet, invite us into your worlds for a show-and-tell. We'd love to meet you!

I don't know about you guys, but I'm getting a little tired of listening to my Neil Young albums on boring ol' iTunes.
Can I get an amen?

Enter aTunes - a full-featured music file manager, just like iTunes, but developed with Java.
(aka, it's infinitely better.)


aTunes functions on Macs, Windows, Linux, Unix-like systems, and is completely open source. Edit tags, organize your tunes, rip CD's...

Do everything you need to get your groove on, but hand-in-hand with Java and Open Source.

Gettin' my music and Java on and the same time?

Swwweeeeeeet.

Hello everyone! I am heading off to Lake Tahoe for the holiday weekend later tonight, but I wanted to quickly leave you with my artist of the week. This will probably come as no surprise that I am going to feature the likes of the boys of Minibar. After being blessed with seeing them live and performing all my favorite songs last week, I figured I needed give them props once again and get all of you listening to them as soon as possible. I am actually going to feature one of Simon Petty's side projects, Solomon's Seal in this post because I think the song, "Sleeping In the Car" is gorgeous. Simon's voice can get you lost in a sea of beautiful lyrics, gorgeous vocals and musical prose. I hope you enjoy the song as much as I do and I am working on getting the boys up to San Francisco as soon as possible. Until they come to your neck and my neck of the woods again, enjoy the song and of course enjoy your day! :-D 

 

Doing the simplest thing that could possibly work is a frequent advice of the agile development movement. But how applicable is that advice in different kinds of development contexts?

Just catching up with the morning news... Check this out: 

Sun Microsystems Tuesday said it has broken the million-messages-per-second barrier for the Thomson Reuters Market Data System, a platform widely used by Wall Street financial houses to aggregate data and complete trades.

"We've broken the 1 million messages per second barrier using off-the-shelf Intel-chip hardware and Solaris 10," says Ambreesh Khanna, CTO for Sun's financial services division. "Reuters Markets Data System is widely used to aggregate information, and algorithmic trading is one reason market data has more reason to focus on latency."

Full story.