- Dave’s WordPress Blog – Microsoft ships RSS platform » Microsoft has released a public beta of version 7 of their Internet Explorer web browser. Trelease is significant for publishers who provide RSS 2.0 feeds for their content because this is the first Microsoft release that includes comprehensive support f
- Previous links
Monthly Archives: January 2006
Daily Del.icio.us for Jan 30, 2006
- Wells Fargo Advantage Funds Web Site Recognized as a Top 10 Portal » The Wells Fargo Advantage Funds(SM) Investment Professionals Web site has been named one of the Top 10 Intermediary Web Sites by kasina, LLC, a leading management consulting firm to the financial services industry
- Previous links
Life is beautiful with XMLBeans and XStream
XML creation, parsing and processing with Java has gotten so much easier with tools like XMLBeans, XStream and many other such tools. I personally love XMLBeans and XStream and I try to use them for all of my XML processing needs. While they both consume XML, they solve different problems. XMLBeans allows you to process XML by binding it to Java types using XML schema that has been compiled to generate Java types that represent schema types. XStream on the other hand allows you to serialize objects to XML and back again using special reflective secret sauce.
I’ve been using these tools for many years now and so you tend to forget just how useful and powerful they are and how productive they make you. Case in point – A friend of mine came to me for help. He was building an application that would allow him to resale items from Amazon on his site and he wanted to use the Amazon eCommerce Web Services to search for products programmatically and update a local database that housed his content. Having played with Amazon E-Commerce Service (ECS) before, I offered to write up a simple application that would make the Web Services call, process the results and present them back to you.
Amazon’s ECS is an API that allows you to access Amazon data and functionality through a Web site or Web-enabled application. ECS follows the standard Web services model: users of the service request data through XML over HTTP (REST) or SOAP and data is returned by the service as an XML-formatted stream of text. In addition to the WSDL, ECS also provides XML schemas for validating the XML output of REST requests. So I decide to use XMLBeans to create my type system using the XML Schema provided by Amazon. XMLBeans provides you with a utility (scomp) to compile your schema into Java XMLBeans classes and metadata. To generate the Java code, use the following command:
scomp –jar amznws.jar AWSECommerceService.xsd
This generates a jar file named amznws.jar, which will contain all of the code needed to bind an XML instance to the Java types representing your schema. In my application, I use HttpClient to make my REST request and then use the XMLBeans generated jar file to process the result. Here’s a snippet of code from my sample class:
As you can tell, HttpClient makes the REST call a snap and XMLBeans makes processing the results easy as well. In total, I spent 3-4 hours getting the application working and a lot of the time was spent figuring out the data set returned from Amazon and trying to come up with a meaningful example. Here is a zip file with the IDEA project that has all the stuff needed to make this work including a simple JSP and a JUnit test class.
Links of Interest:
I want the Broadband EVDO Router
I was just reading Scoble’s blog entry that talks about EVDO and his experiences and one of the entries in the comment caught my eye. David Rupp pointed out the Kyocera KR1 Broadband EVDO Router that has built In WiFi and basically rebroadcasts EVDO over WiFi (using 802.11g). In addition, it offers 4 10/100 Ethernet ports and works with a ton of EVDO cards. This is awesome and I can’t wait for these devices and EVDO services to become mainstream
I have been testing EVDO services with Cingular and Sprint using my phone (Bluetooth DUN) and I am getting an average of 300k-400k which is not bad, but it would be nice to keep the phone and have 1MB + bandwidth that the dedicated EVDO cards offer. Best of both worlds.
EVDO, spring, cingular, wifi, bluetooth, evdo+router, kyocera, scoble
Daily Del.icio.us for Jan 29, 2006
- Re-Introducing the Real Windows Vista (Updated x3) at Tauquil’s Blog » As I watched Bill demonstrate the features of Vista a sense of deja vu washed over me. It was like I’ve seen it all somewhere before
- Erik’s Weblog : Java2Html and IntelliJ IDEA » IDEA can export Java source code to HTML, which I find quite useless. I really like the way Java2Html works but there is no integration with IDEA. You can easily setup an External Tool in IDEA using the Java2Html command line options.
- BuzzMachine Â» Blog Archive Â» Exploding the conference business » Too many conferences suck. They’re too expensive. They are filled with boring panels. They are all about speeches and not about conversation and argument and learning and meeting. They don’t capture the expertise of the crowd.
- Dead Spots? Use Your Cable Setup to Send Signals to Every Corner – New York Times » AuraGrid distributes the network signal over your TV cable system which bolsters the signal and eliminates dead spots. (via LifeHacker)
- Previous links
DVR Alert – U2 Vertigo 2005 Tour: Live from Chicago on HDNet
I guess the title above says it all – Set your VCR, DVR, PC-DVR or Media Center PC to record U2 in High definition. Director Hamish Hamilton gives you a front row seat for all the excitement from the sold out Vertigo tour. Vertigo//2005 features electric performances of songs drawn from across the band’s entire career. Featuring the hits “Vertigo”, “Sometimes You Can’t Make It On Your Own”, “One”, and “The Streets Have No Name”.
There are several replays of this concert on HDNet – Check the schedule here.
dvr, hd, u2, music, concert, live
Books I’m currently reading
As a recurring feature, I post a list of books that I am currently reading. I am a voracious book collector and (usually) reader as well. With a very demanding job, a wife and a young daugther, I’ve built up quite a backlog and hope to get to most of these books in the next few months. Books I am currently reading include:
Naked Conversations : How Blogs are Changing the Way Businesses Talk with Customers
Robert Scoble, Shel Israel
Rating: 4.5 (Total Reviews: 15)
Sales Rank: 3000
Pragmatic Ajax : A Web 2.0 Primer
Justin Gehtland, Ben Galbraith, Dion Almaer
Pragmatic Bookshelf; 1 edition (February 1, 2006)
Rating: This item has not yet been released
Sales Rank: 40,075
My Job Went to India : 52 Ways to Save Your Job (Pragmatic Programmers)
Rating: 4.5 (Total Reviews: 11)
Sales Rank: 18002
Rapid J2EE(TM) Development : An Adaptive Foundation for Enterprise Applications (Hewlett-Packard Professional Books (Paperback))
Prentice Hall PTR
Rating: 4.5 (Total Reviews: 5)
Sales Rank: 605254
CISSP All-in-One Exam Guide, Third Edition (All-in-One)
McGraw-Hill Osborne Media
Rating: 4.0 (Total Reviews: 107)
Sales Rank: 779
Flyzone Sr Llc
Rating: 4.0 (Total Reviews: 9)
Sales Rank: 111219
Head First HTML with CSS & XHTML (Head First)
Eric Freeman, Elisabeth Freeman
O’Reilly Media, Inc.
Rating: 5.0 (Total Reviews: 7)
Sales Rank: 967
Some of the non-technical books that I am currently reading (or collecting dust in my new book pile) are:
Freakonomics : A Rogue Economist Explores the Hidden Side of Everything
Steven D. Levitt, Stephen J. Dubner
Rating: 4.0 (Total Reviews: 767)
Sales Rank: 6
State of War : The Secret History of the C.I.A. and the Bush Administration
Rating: 4.0 (Total Reviews: 43)
Sales Rank: 87
Why Do Men Have Nipples? Hundreds of Questions You’d Only Ask a Doctor After Your Third Martini
Mark Leyner, Billy Goldberg
Three Rivers Press
Rating: 3.5 (Total Reviews: 179)
Sales Rank: 246
Ana Marie Cox
Rating: 3.5 (Total Reviews: 20)
Sales Rank: 2581
Daily Del.icio.us for Jan 28, 2006
- Sun’s Java(TM) Enterprise System Subscriptions Surpass One Million as American Express Chooses Integrated Software Platform for Global Deployment: Financial News – Yahoo! Finance
American Express plans to utilize the full-featured Java ES system to support a number of projects, including portal applications, and enhanced identity management services. The Java ES system is the software companies use to build their web based applica
- Effective Code Reviews Without the Pain
Code reviews are a proven, effective way to minimize defects. Whatever additional motivations the organization has for performing code reviews, they are, at their core, an industry best practice.(tags: development code+review article tips)
- ONJava.com: Twelve Best Practices For Spring XML Configurations
In this article, I will show you 12 best practices for Spring XML configurations. Some of them are more necessary practices than best practices. Note that other factors, such as domain model design, can impact the XML configuration, but this article focus
Bring the simplicity and efficiency of the REST architectural style to Java developers(tags: java REST framework architecture web programming http WebServices xml)
I hate Roxio and Nero!
I have had it – I cannot tell you how frustrating it is to burn a simple f***ing DVD on my computer. Roxio and Nero and all the other DVD burning software that I have tried for Windows just suck and I’ve burnt more coasters than.. Ok. Can’t think of a smart or funny analogy here but I’ve burnt a lot of coasters.
Since we’ve had our daughter, my wife and I have been putting our digital camcorder to good use. I typically capture the movies to my computer before burning them onto a DVD with titles, transitions, pictures and music. I typically use Roxio to burn my DVD and the results are usually hit or miss. After installation, Roxio works fine for a few days or weeks and then just starts burning coasters. So I’ll download Nero and try that and that may work fine for a few weeks before it goes into coaster mode. Usually a simple uninstall and a reinstall fixes the problem with Roxio but that is such a hassle. There are times when that doesn’t work and the typical answer from Roxio support is to rebuild my machine. F*** you – Fix your software so that it works and doesn’t require me to rebuild my machine. In Roxio’s defense, I install any piece of software I can find that seems interesting. I do download a lot of software from any development tool, add-on to utility programs and I must be clobbering something but this is just garbage. Why can’t a program protect its own DLL’s or registry settings or whatever is breaking this
My burner machine configuration is a DELL Pentium 4 (ancient) 2 GHz machine with 1 GB of RAM, Windows XP SP2 and an external USB 2.0 Plextor PX-708UF DVD burner. I own Roxio v7.0 and don’t want to upgrade to v8.0 as I may be facing the same issues. This is enough of a hassle to make me want to buy a MAC. Now that Macs are running a real processor with some performance, it might be worth checking out one of those shiny new MacBook Pros. And if I can run OS X and Vista on the same laptop, that’s a pretty good deal. If only Apple made a Tablet!
Is there any other software out there that will let me burn a DVD without these hassles? There has to be an alternative to this nightmare scenario. If you have a solution that’s working for me, please drop me a line or comment below.
Roxio, Nero, Windows+xp, dvd, software, mac, osx, macbook
Daily Del.icio.us for Jan 26, 2006
- No Tibet or Tiananmen on Google’s new Chinese site – Markets – Times Online
How can you have a motto "don’t be evil" and then do something like this. Just be honest – It’s all about the money and marketshare.Tagged as: google history politics
- Business 2.0’s dumbest moments in tech – February 1, 2006
The year in shenanigans, skulduggery, and just plain stupidity in the world of technology.Tagged as: 2005 lists technology
- Google admits online stumble
"We made a big mistake," Mayer, who oversees all of Google’s search products, said Tuesday. "You can’t come out and launch a product like Google Video and say ‘CSI’ and ‘Survivor’ are there if they’re not on the home page."Tagged as: google google+video
- The Bug in Microsoft’s Ear
The software giant is mulling its own digital device that adds gaming to music and video, in an effort to compete with Apple’s iPod empireTagged as: apple ipod microsoft