- BEA JRockit Mission Control – JRockit Mission Control for Eclipse is a set of plug-ins for the Eclipse IDE designed to help develop, profile and diagnose applications running in the BEA JRockit ® JVM.
- GridGain – Open Source Grid Computing For Java – GridGain is focused on doing one thing and doing it better than any other product – providing the best grid computing platform for Java that is fun, simple and productive to use.
- Ajaxian » Mozilla Prism update makes it easy to create wrappers – Create Prism applications directly from Firefox – Refractor creates a Prism web application from within Firefox. Users can manually create web applications using "Tools > Convert Website to Application".
- Open Source and Enterprise Architecture: JVM Performance Tuning – I was able to achieve an over 3x improvement in my EJB 3 application, of which fully 60 to 70% of that was due to using large page memory with a 3.5GB heap
- OAuth — An open protocol to allow secure API authentication in a simple and standard method from desktop and web applications. – An open protocol to allow secure API authentication in a simple and standard method from desktop and web applications.
- Data Portability, Authentication, and Authorization – We will take a detailed look at the right and wrong ways to request user data from social hubs large and small, and outline some action items for developers and business people interested in data portability and interoperability done right.
- The world’s 50 most powerful blogs | Technology | The Observer – Blogging has never been bigger – It can help elect presidents and take down attorney generals while simultaneously celebrating the minutiae of our everyday obsessions
- Simplifying Web Service development with JSR-181 – JSR 181 or Web Services Metadata for the Java Platform is a Java Specification Request that defines an annotated Java format that uses Java Language Metadata (JSR 175) to enable easy definition of Java Web Services in a J2EE container
- InfoQ: Architecture as Language: A story – As you develop the architecture, evolve a language that allows you to describe systems based on this architecture. Based on my experience in a number of real-world projects, this makes the architecture tangible and provides an unambiguous description of t
- Hello, OSGi, Part 1: Bundles for beginners – Java World – The Open Services Gateway Initiative (OSGi), also known as the Dynamic Module System for Java, defines an architecture for modular application development. Similar to the Java Servlet and EJB specifications, the OSGi specification defines two things: a se
Tag Archives: servlet
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
- InfoQ: Setting out for Service Component Architecture – SCA is an enhancement to frameworks that offer programming models for components and connectivity abstractions. Those frameworks may be standard offerings, but may also be proprietary technologies, such Remote Function Calls (RFC), SQL stored proc etc.
- Ignite Realtime: Ignite Realtime Video Podcasts: Actionscript, Javascript, and the Future of Webapps – In this video, Jive Software’s David Smith talks about Actionscript, Javascript, and the future of webapps as they relate to his work on Spark.
- Eric Traut talks (and demos) Windows 7 and MinWin – istartedsomething – Microsoft?s distinguished engineer Eric Traut gave a presentation at the University of Illinois about Microsoft?s virtualization technology and also mentioned Windows 7 – the next version of Windows after Vista
- Cairngorm:Cairngorm2.2.1:Release Notes – Adobe Labs – The Cairngorm Microarchitecture is a lightweight yet prescriptive framework for rich Internet application (RIA) development.
- Alfresco Makes Leading Java Implementation JLAN Shared File Drive Interface Available via GPL – Alfresco JLAN is a unique implementation of an embedded virtual file system that offers the only Java client and server implementation of Microsoft Window?s CIFS protocol, allowing content, and rows in a database to appear as a shared drive.
- 1-800-GOOG-411 – Google’s new 411 service is free, fast and easy to use. Give it a try now and see how simple it is to find and connect with local businesses for fre
- Adopting Struts 2.0 – Java World – Struts 2.0 carries much of the power of its predecessor but is simpler for developers to use. In this article, S. Sangeetha and S. V. Subrahmanya outline the changes in Struts 2.0 and offer migration pointers for developers familiar with Struts
- Improve Your Photos 60 Seconds at a Time – If you are tired of reading long explanations and confused by tricky photo techniques, here you can have it short and sweet. Arranged by topics, each subject takes less than 60 seconds to read.
- InfoQ: IntelliJ IDEA 7.0 Adds Spring/Hibernate Support, Eclipse Interoperability, and Maven Integration – Jetbrains has released IntelliJ IDEA 7.0. This version rounds out support for many popular Java technologies while adding support for languages such as Groovy and Ruby. Among its highlights: Spring and Hibernate Support, Ruby/Rails Support, Groovy/Grails
- IntelliJ IDEA Blog » Blog Archive » IntelliJ IDEA: The Magnificent Seven – JetBrains is proud and happy to tell you that IntelliJ IDEA 7.0 is now available! This release is focused on further upgrading performance, usability, and enhancing the user experience with the efficient support for new features, technologies, and tools.
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.