While Spring 3.0 promises to support REST style URLs out of the box, it won’t ship until sometime later this year. Spring 3.0 M1 will offer this functionality for anyone brave enough to work with potentially unstable technologies and should be available soon. And while this is good news for those starting out on new projects (or those willing to undergo a significant refactoring), most won’t want to migrate their applications just for RESTful URLs. All hope is not lost though, thanks to Paul Tuckey’s UrlRewriteFilter. Read More
Category Archives: Java
13949712720901ForOSX
You’ve read my rant about Java 6 being missing from the recent Leopard release, now you can help make a poor, not-so-humble geek’s wish come true. All you need to do is post a short entry on your blog with a reference to the string ‘13949712720901ForOSX‘. Doing so, means that you are casting your vote to tell Apple to fix it’s cranio-rectal inversion. Plus, you’ll be helping me and the 5 (there’s many, many more out there I am sure) other developers that actually write Java on a Mac out a ton. But why ‘13949712720901ForOSX‘ you ask? The actual meaning of the string is a bit entertaining. Translated from decimal notation to hex, the numeric portion is ‘0xCAFEBABE405′. Yup, you read that correctly. Who says Apple Sun engineers don’t have a sense of humor? What’s more entertaining is that 405 is the HTTP response code for ‘Method not found.’ You can read more about the effort to bring Java 6 to a Mac near you and the meaning behind the magical string at the Sun Babelfish blog.
WTF: Apple ships Leopard without Java 6
Having been a Java developer for the better part of a decade and an Apple fanboy for longer than that, I am left wondering what the hell they were thinking when they decided to not add Java 6 to Leopard. Keeping in mind, of course, that Apple has been notoriously bad about updating Java for OS X, the release of Leopard took just over 2 years to complete. They couldn’t find the time to get it done? Read More
Remote debugging Red5 applications
Red5[1] contributor Paul Gregoire recently added a new server startup script targeted specifically at application debugging. The script is quite simple in nature and is provided in both Windows and Unix flavors. Take note, however, that this script is exclusive to the standalone version of Red5. Debugging the WAR version of the server is quite a different task. To demonstrate the ease of debugging your applications, I’ll walk through a simple example using Eclipse[2] and the source code from my stream recording tutorial. Read More
Server-side stream recording with Red5
While most developers are content to record video using the NetStream.publish(”streamName”, “record”) API, it is sometimes useful to take FLV snippets from the publishing stream instead. In my opinion, this is one of the greatest features of Flash Media Server (FMS) and Red5. Utilizing this strategy allows the application developer to precisely control when and how much of the video is recorded. While recording via the NetStream function has been available in Red5 since the beginning, recording video from the server-side application has not. In this post, I’ll demonstrate Red5’s ability to record an FLV with a very simple pair of publish and subscribe flash applications. Read More
Red5 + Hibernate
Having followed the growth of the Red5 Media Server[1] from it’s fledgling 0.3 days, I’ve become fairly familiar with its offerings. One of the most frequently asked questions on the Red5 mailing list pertains to database connectivity for user authentication and application security. I’ll attempt to tackle one solution here using Hibernate[2], an object/relational persistence framework. Read More





