Daily del.icio.us for March 9th through March 10th

Daily del.icio.us for Dec 04, 2007 through Dec 06, 2007

  • Roller: free and open source Java blog software – Apache Roller 4.0 has been released and is now available for download. This is a major new Roller release which includes easier blog theme customization, a much more simple installation/upgrade process, infrastructure improvements and other small fixes.
  • infinitest – Google Code – Infinitest is a continuous JUnit test runner designed to facilitate Test Driven Development. Infinitest helps you learn TDD by providing feedback as you work, and helps you master TDD by reducing your feedback cycle from minutes to mere seconds
  • dev2dev: Using Asynchronous Servlets to Deal with Hung Threads – BEA WebLogic Server 9.2 and later versions expose an Abstract Asynchronous Servlet class, which allows you to decouple receiving a servlet request from sending its response. The class also provides a Future Response Servlet, which lets the server handle s
  • Yahoo! Flash(R) Blog » Blog Archive » YUI Got a Little More Flashy Today! – Yahoo! releases version 2.4.0 of the YUI Library and they have been working with the Flash team to help them introduce a new component that leverages the power of Flash Player. The experimental YUI Charts widget brings the Yahoo! Astra Flash Charts
  • Yahoo! Developer Network – Flash Developer Center – ASTRA Flash Components – Charts – Charts is a set of visualization components that represent two-dimensional data structures (tables, arrays of values, etc.) in a variety of ways (bars, graphs, pie charts, etc.)
  • Yahoo! UI Library: Charts – The YUI Charts Control visualizes tabular data on a web page in several possible formats including vertical columns, horizontal bars, lines, and pies. Features include support for the DataSource Utility, customizable serie, axes, mouse-over datatip
  • Ext JS LiveGrid Component – The Ext JS LiveGrid Component is a user extension that’s build upon the wonderful Ext JS Framework. The component allows to read chunks of data from an underlying storage (common use case: a database) without the need of paging. Means: You can virtually d
  • Ext JS Blog – » Ext 2.0 Final Released – The Ext team is proud to announce that the official release of Ext v2.0 is available for download. Ext 2.0 is a dramatic step forward from all previous versions of Ext, providing increased performance, ease of configurations, flexibility and UI capabiliti
  • Adobe Debuts Flash Media Server 3 – Slashes Price – The Flash Media Interactive Server includes the debut of streaming HD video. FMS3 will offer H.264 video streaming, as well as support for High Efficiency AAC (HE-AAC) audio that can be streamed to Flash player, AIR applications, or Adobe’s Media Player a
  • NetBeans Magazine – To coincide with the launch of 6.0, this latest issue of NetBeans Magazine features 62 pages of in-depth articles. NetBeans IDE 6.0 features Ruby/JRuby/Ruby on Rails support, enhancements for improved Swing development, a new Visual Game Designer, updated

Daily del.icio.us for Oct 16, 2007 through Oct 20, 2007

Daily del.icio.us for Sep 20, 2007 through Oct 05, 2007

  • Icahn further raises BEA stake to 13.22 percent | News | Mergers/Acquisitions | Reuters – Billionaire investor Carl Icahn further boosted his stake in BEA Systems Inc (BEAS.O: Quote, Profile, Research) to 13.22 percent, according to a regulatory filing.
  • If wishes were iPhones, then beggars would call [dive into mark] – Buy it for what it is, or don?t buy it at all. Your choices don?t get any more granular than that. Apple has been unwaveringly clear that the iPhone is theirs.
  • Adobe – Developer Center : What’s new in Flex 3 Beta 2 – this article has been updated throughout to reflect Flex 3 Beta 2. However, you can see a summary of interesting changes near the bottom of this article.
  • Technology Review: Gibson’s Self-Tuning Guitar – A new line of instruments from Gibson Guitar now promises to banish this scenario to the dark ages with high-tech self-tuning technology built into the company’s flagship electric-guitar models.
  • Google Web Toolkit Blog: GWT Application Development for the iPhone – In our not-so-humble opinions, we think that the Google Web Toolkit (GWT) and the Apple iPhone are two very cool technologies. Our approach was to build an application that primarily targets the iPhone and to use that as a test-bed for new ideas.
  • IntelliJ IDEA Plugins Contest – IntelliJ IDEA has inspired many Java developers to write plug-ins from J2EE and code editing tools to games. Now it has a robust plugin ecosystem with 413 available plugins and new ones appearing nearly every week
  • Redirect after POST filter – RedirectAfterPostFilter lets you easily implement Redirect after POST pattern in your web applications. You can map this filter to your controllers processing POST requests and after the processing filter will redirect the original request to the url
  • Caching Solutions in Java – Even though caching improves performance and makes your architecture work, it can, in fact, complicate design and introduce such complexities as concurrent code and cluster-wide synchronization.
  • Daemon : Procrun – Daemon – Procrun is a set of libraries and applications for making Java applications to run as Windows services. It can convert any application to run as a service.
  • The Connector released for Microsoft Project / JIRA Integration – The Connector allows users of JIRA to use Microsoft Project for doing planning and scheduling and provides an easy way to synchronize the information in Microsoft Project with the issues in JIRA

Daily del.icio.us for Mar 17, 2007

  • SXC – Simple XML Compiler – SXC (Simple XML Compiler) allows you to created optimized parsers and writers for XML. Through a declarative API you’re able to tell SXC what type of XML to expect and what actions to associate with it.
  • On the Stre@m – Flex has become more accessible – The Flex module for Apache and IIS provides web-tier compilation of MXML and ActionScript files on Apache and IIS web servers.
  • Assessing the Survivors of the Java IDE Wars – For enterprise development, I’d say IDEA wins out with its rich support for both J2EE and Java EE 5, followed closely by NetBeans (which also does an impressive job here), and last is Eclipse/MyEclipse (mostly due to their current lack of support for Java
  • An XQuery Servlet for RESTful Data Services – This paper shows how to use XQuery for data integration, and how to expose an XQuery as a RESTful data service using a Java servlet
  • Control.Tabs : Projects : LivePipe – Control.Tabs is a javascript library for creating accessible, flexible & unobtrusive tabbed interfaces in your applications or pages.

Servlet Filters: Part II

Earlier in the month, I blogged about Servlet Filters and how I see them as Aspects in the AOP world. Based on the blog entry, I’ve gotten tons of email from people that wanted to know more about Servlet Filters, how to use them and how to use the simple Authentication filter I used as an example. I also got quite a few emails from people that wanted to know what other filters I used and so I am including some resources that I find very helpful along with a few servlet filters that I use every day.

Servlet Filter Tutorials

Servlet Filter Apps

If you know of any other Servlet Filters that are useful, drop me an email or send me trackback.

Servlet Filters as poor man’s AOP

I was just discussing this idea of Servlet Filters with a friend and I was trying to explain to him how Filters work and how they are really aspects in the AOP world. I think filters are really incredibly helpful and yet very few developers know about them and even fewer developers implement them. So my thought was that if we started using buzzwords like AOP around filters, suddenly Filters become sexy and everyone’s jumping over to implement Filters. :-)

The filter API was introduced in the Servlet 2.3 specification and is defined by the Filter, FilterChain, and FilterConfig interfaces in the javax.servlet package. You define a filter by implementing the Filter interface. A filter chain, passed to a filter by the container, provides a mechanism for invoking a series of filters. A filter config contains initialization data. The most important method in the Filter interface is the doFilter() method, which is the heart of the filter. Filters intercept request to your web application based on the url-pattern specified in the web.xml, where the filters are defined.

I have used Filters extensively and have a few Filters ready to go when I am called into debug applications in production that are misbehaving or just broken. One of the filters I use quite often is a simple authentication filter that makes is easy to ensure consumers of the web application is authenticated. Here’s a simple snippet:

https://gist.github.com/399368.js

Here’s a copy of the original documented Filter java class.