Posted by jonbruce
on July 6, 2005 at 8:29 AM PDT
JavaOne 2005 saw much chatter around XML bindings slatted for Dolphin, alignment around JBI but it also saw important presentations given on XQuery and what it means for today's Java developer.
JavaOne 2005 saw much chatter around XML bindings slated for Dolphin, alignment around JBI but it also saw important presentations given on XQuery and what it means for today's Java developer.
Despite competing with the sometimes booming Moscone PA system, I enjoyed giving my view of XQuery and it's impact on J2EE, XML and SOA; I got some excellent questions and learned about some very interesting integration challenges that I believe XQuery could solve. Of course, my thanks to both Dennis MacNeil and Michael O'Neill giving me two speaking slots Oracle Guru Lounge on the JavaOne Pavilion floor.
Kudos also to Jason Hunter , who I thought did an excellent job with his presentation on XQuery for the Java geek. Jason is able to both excite, entertain and educate his audience is a manner I hope one day to emulate.
For most Java developers, learning XQuery is the greatest challenge, but learning this new language can also be fun! Poking around my home network I noticed that my beloved Tivo has a wealth of XML content that I can use to grow my XQuery skills. Interested in learning more.. read on...One of the more interesting sources of XML data is located underneath right under your TV. Your TIVO DVR is rich with XML data that is used to maintain the currently playing recorded programs and to manage a variety of content.
How do you get the XML ?
First youâ€™ll need to make sure the web interface is up. Check with your tivo remote for the IP address and point your browser. In my case, the following URL worked.
You should get something like this:
Next, youâ€™ll need to locate your media access key. Tivo does not permit publication of your media access key, but you can obtain your key here.
Be sure not to distribute it outside your household, as you'll violate your end-user license agreement with Tivo if you do so.
Next enter the following URL:
Youâ€™ll be asked to accept a Certificate, as below. Just hit OK
Next enter, your username as â€˜tivoâ€™; and your media access key as your password.
You should get a page that looks something like image below. You should be able to quickly see it is a complete list of the current programs you have recorded on your Tivo. Notice also that you can determine what channel it recorded, the date, time and duration of the show - all this is is excellent data on which to practice XQuery.
So, now what? Next, I'll publish XQuery expressions samples that will show you what XQuery can do for you, and also provide some Java wrapper code to get you started. Eventually I'll show you how to use XQuery to convert this information so we can display it as a HTML page.
More in a few days...