Friday, March 24, 2006

Filter your feeds with Feed Rinse - Lifehacker

Filter your feeds with Feed Rinse - Lifehacker: "Feed Rinse is a new online service that will take your feeds and filter them for you based on keyword, tag, author and more. You can ever filter out profanity-laden feeds! It works by setting up filters."

Maybe I need to switch to this. Reading about a hundred feeds in Sage has become impractical - especially when working 60 hours a week! Hence the recent absence from blogging and tonight's late night / early morning blogfest.

DailyTech - Dell Buys Alienware

DailyTech - Dell Buys Alienware: "Dell Buys Alienware
Tuan Nguyen - March 22, 2006 6:38 PM

Alienware says it will be unaffected by the acquisition but at the same time seeks to embrace Dell's methodologies

Alienware and Dell have announced an agreement to merge, with Dell buying the Miami company. Alienware has long been a very independent company with a strong focus on highly tuned customer support and customization. Alienware pioneered the custom PC business by doing such things as: customizing the manual in the customer's name; including benchmarks of the system, installing and tweaking drivers, and installing whatever games the customer wanted. Long story short, Alienware gave great individualized attention to its patrons. "

The rumor mill had been circulating - and this is one rumor that came true.

AGEIA PhysX Launch - GDC Event Coverage - Hot Hardware

AGEIA PhysX Launch - GDC Event Coverage - Hot Hardware: "In 2002, AGEIA's founders broke into the gaming industry with the intention of revolutionizing the way PC games would be played. Focusing their attention on the notion of in-game physics, the ultimate goal was to bring a new level of realism to the latest and greatest titles on the horizon. In short, the company has developed the world's first Physics Processing Unit (PPU) and is aiming to use this new hardware to blur the line between virtual worlds and reality."

It's been talked up for along time - let's see what the new Physics Processor do for games now it has finally been released. Will it catch in in hte same way that 3D graphics cards have?

Character Conversions from Browser to Database

Character Conversions from Browser to Database: "Character Conversions from Browser to Database

By John O'Conner, January 2006

In route to their final storage destination on the World Wide Web, characters move through various layers of programming interfaces and can cross software and hardware boundaries. This article provides helpful hints and best practices for accurately transporting character data from browser to database … and back again."

Seeing Shouldn't Be Believing: Solving Java Puzzlers With Google's Joshua Bloch

Seeing Shouldn't Be Believing: Solving Java Puzzlers With Google's Joshua Bloch: "Seeing Shouldn't Be Believing: Solving Java Puzzlers With Google's Joshua Bloch

By Janice J. Heiss, March 2006

Java Puzzlers: Traps, Pitfalls, and Corner Cases - Book Cover Java Puzzlers, a new book by Joshua Bloch, Google's chief Java architect, and Neal Gafter, Google software engineer and Java technology evangelist, contains some 95 'puzzlers' and is designed to amuse, tantalize, challenge, and educate Java developers. Bloch and Gafter model puzzlers on optical illusions: In each puzzler, initial appearances are deceiving, and things are not what they seem. As such, puzzlers tease developers into confronting some of the spontaneous assumptions that their minds generate when they read Java platform code - - an experience that Bloch believes can lead to more flexible and astute programming. Journals such as ACM Computing Reviews, Software Development Magazine, Slashdot, and JavaRanch have lauded the book, as have such respected authors of books on Java technology as Guy Steele, Gilad Bracha, Jeff Langr, and Ian Darwin."

Web Tier to Go With Java EE 5: Summary of New Features in JSP 2.1 Technology

Web Tier to Go With Java EE 5: Summary of New Features in JSP 2.1 Technology: "Web Tier to Go With Java EE 5: Summary of New Features in JSP 2.1 Technology

By Pierre Delisle and Jennifer Ball, February 2006

The main theme for the Java Platform, Enterprise Edition (Java EE) 5 is ease of development. The platform's web tier contributes significantly to ease of development in two ways. First, the platform now includes the Java Standard Tag Library (JSTL) and JavaServer Faces technology. Second, all the web-tier technologies offer a set of features that make development of web applications on Java EE much easier. Some of these features are the following:

* A new expression language (EL) syntax that allows deferred evaluation of expressions, enables using expressions to both get and set data and to invoke methods, and facilitates customizing the resolution of a variable or property referenced by an expression
* Support for resource injection through annotations to simplify configuring access to resources and environment data
* Complete alignment of JavaServer Faces technology tags and JavaServer Pages (JSP) software code

In this series of articles, web-tier proponents at Sun introduce the new concepts that every web-application developer should be familiar with to get the most out of the Java EE 5 web-tier technologies. This first article in the series gives an overview of the new features introduced in version 2.1 of JSP technology."

ONJava.com -- Advanced Configuration of the Spring MVC Framework

ONJava.com -- Advanced Configuration of the Spring MVC Framework: "Advanced Configuration of the Spring MVC Framework
by Dejan Bosanac
03/22/2006

In this article I will present some configuration tips for the Spring MVC framework that could help you manage multiple instances of your Spring-based web application. The configuration management topic is often neglected in the literature, but as we will see, it is very important for real-life web development. It is not directly related to any particular technology, so we will start by explaining the basic concepts of the problem. Next, we will focus on the Spring MVC framework and offer a few solutions for projects developed using this technology."

ONJava.com -- Zero Configuration Networking: Using the Java APIs, Part 2

ONJava.com -- Zero Configuration Networking: Using the Java APIs, Part 2: "Zero Configuration Networking: Using the Java APIs, Part 2
by Daniel H. Steinberg, Stuart Cheshire
Browsing for Services

Browsing to discover our advertised service using the dns-sd tool is very easy, and doing so using Java code is barely any harder. To browse, you need to perform two steps similar to those you just used to register your service:

*

Call DNSSD.browse( ) using one of the two available signatures.
*

Provide a class that implements the BrowseListener interface."

ONJava.com -- Zero Configuration Networking: Using the Java APIs, Part 1

ONJava.com -- Zero Configuration Networking: Using the Java APIs, Part 1: "Zero Configuration Networking: Using the Java APIs, Part 1
by Daniel H. Steinberg, Stuart Cheshire

Editor's Note: Zeroconf, also known by Apple's trade name of Bonjour, and previously as Rendezvous, offers interesting solutions to the problems of self-networking, in the potential absence of host naming and address assignment. Zeroconf applications can advertise themselves on the network and discover available services. Zero Configuration Networking: The Definitive Guide, by Stuart Cheshire and Daniel H. Steinberg, introduces the concepts and the many implementations of Zeroconf, including its Java API. In this first of a two-part introduction, the authors look at registering a service with Java."

Using Flex as a Cross-Browser Solution

Using Flex as a Cross-Browser Solution: "Using Flex as a Cross-Browser Solution
The wide variety of available Web browsers is great for the end-user, but often not so great for developers. See how Flex, Flash, ActionScript, and Ajax work together to create a terrific cross-browser solution.

by Shari Nakano,
Steve Samson
March 17, 2006

The last time we checked with Google, there were 34 different Web browsers to choose from. Admittedly, many were highly specialized or out of date, but even after excluding those, we still had an extensive list that included Internet Explorer, Netscape, Mozilla Firefox, Safari, Opera, Konqueror, IceBrowser, Camino, and more. From an end-user standpoint, it's great that there are so many different browsers available. From a developer standpoint, however, a lot of different browsers means a lot of extra time spent learning how to write code for each browser, plus a lot of extra time testing and debugging your code in each browser. And the last thing developers have a lot of is extra time."

XML support in Flash has been around for years - it is mature and works well.

Comparing XML Documents with Oracle's XDK 10g for Java

Comparing XML Documents with Oracle's XDK 10g for Java: "Comparing XML Documents with Oracle's XDK 10g for Java
Using Oracle's XDK 10g, you can reduce the process of comparing XML documents to a simple set of library calls that let you determine if the documents are the same, see what the differences are, or use the compare information to generate other documents.

by Deepak Vohra
March 22, 2006

As a J2EE developer you might sometimes be interested in comparing a modified XML document with the pre-modified version of that document. Or you might want to compare two XML documents that are both based on the same DTD or XML schema. This article is designed to give you the information you need to answer two questions:

* Is one XML document the same as another?
* What are the differences between two XML documents?"

Thursday, March 23, 2006

Against the Browser's Will: Make Mashups Talk Across Domains

Against the Browser's Will: Make Mashups Talk Across Domains: "Against the Browser's Will: Make Mashups Talk Across Domains
With all the great Web service APIs out there today, making mashups to extend public Web-based apps is a new passion for many developers. But cross-domain restrictions, built into all major browsers, are an aggravating foe. Learn to use a PHP proxy or JSON to eliminate your mashup frustrations.

by Dan Theurer
March 14, 2006

Maps are not only very useful, but they are also cool! In recent months, we have seen a lot of innovation in the area of online maps. Today we are far beyond the time when Photoshop was the most efficient way to overlay data onto a map within your homepage. There are a couple of different new solutions to choose from if you want to embed interactive maps. The 'oldest' developer product is Google Maps. Microsoft offers Virtual Earth. And my employer, Yahoo!, offers Yahoo! Maps! This is all really good stuff!"

Three forms of AJAX: solid, liquid and gas.

Three forms of AJAX: solid, liquid and gas.: "Three forms of AJAX: solid, liquid and gas.
Posted by: Vitaliy Shevchuk on October 14, 2005 @ 10:01 AM

Looks like today AJAX concept have several different interpretations. According to the way applications use XMLHttpRequest, we can distinguish three main strategies of AJAX integration:

- Application-specific JavaScript that play a role of presentation controller on the client-side.
- Component oriented form
- Sub-page oriented form."

Enterprise Java Community: Java and the Empowered Database

Enterprise Java Community: Java and the Empowered Database: "February 2006
Discussion
Introducing R/O Mapping - A concept to have more business logic in the database and reduce the amount of Java code that deals with database issues

The connection between object-oriented systems and relational databases is commonly solved by employing a so-called O/R mapping (ORM) framework whose goal it is to map object-oriented models to entity relationship models which are used, often generated, in relational databases. The bridging between two entirely different modelling techniques results in a so-called impedance mismatch, that needs to be overcome."

The Pro's and Cons section is especially interesting.

JGA 0.7 (Generic algorithms for Java) released

JGA 0.7 (Generic algorithms for Java) released: "JGA 0.7 (Generic algorithms for Java) released
Posted by: Hazem Saleh on March 19, 2006 @ 01:47 PM

Generic Algorithms for Java (jga)"

Posting gets debunked in comments

Mastering Ajax, Part 4: Exploiting DOM for Web response

Mastering Ajax, Part 4: Exploiting DOM for Web response: "Level: Introductory

Brett McLaughlin (brett@newInstance.com), Author and Editor, O'Reilly Media Inc.

14 Mar 2006

The great divide between programmers (who work with back-end applications) and Web programmers (who spend their time writing HTML, CSS, and JavaScript) is long standing. However, the Document Object Model (DOM) bridges the chasm and makes working with both XML on the back end and HTML on the front end possible and an effective tool. In this article, Brett McLaughlin introduces the Document Object Model, explains its use in Web pages, and starts to explore its usage from JavaScript."

Crossing borders: Exploring Active Record

Crossing borders: Exploring Active Record: "Bruce Tate (bruce.tate@j2life.com), President, J2Life, LLC

07 Mar 2006

The Java™ programming language has had an unprecedented run of success for vendors, customers, and the industry at large. But no programming language is a perfect fit for every job. This article launches a new series by Bruce Tate that looks at ways other languages solve major problems and what those solutions mean to Java developers. He first explores Active Record, the persistence engine behind Ruby on Rails. Active Record bucks many Java conventions, from the typical configuration mechanisms to fundamental architectural choices. The result is a framework that embraces radical compromises and fosters radical productivity."

Sunday, March 12, 2006

Enterprise Java Community: Clustering JSR-168 Portlet Applications in Tomcat

Enterprise Java Community: Clustering JSR-168 Portlet Applications in Tomcat: "March 2006

(By John A. Lewis)

Introduction

JSR-168 Portlet applications represent a special challenge when it comes to clustering within Tomcat (or any other servlet container, for that matter). In order to effectively cluster web applications, session data must be replicated or shared between the nodes in the cluster. Otherwise, the user experiences a complete loss of context during a node failover. While Tomcat has provided session replication for quite some time, it has not supported replication of session changes resulting from a cross-context call from one webapp to another."

Wednesday, March 08, 2006

Implement Logging as an Aspect Using Spring's AOP Framework

Implement Logging as an Aspect Using Spring's AOP Framework: "Implement Logging as an Aspect Using Spring's AOP Framework
Aspect-oriented programming (AOP) enables you to write code for a crosscutting functionality and then apply it declaratively to existing code. Logging is a prime candidate for implementation as an aspect, and Spring offers the AOP framework to get it done.

by Gopal Sharma
March 6, 2006"

Thursday, March 02, 2006

Viewing actual HTML source when creating AJAX applications

Viewing actual HTML source when creating AJAX applications: "Viewing actual HTML source when creating AJAX applications

I posted a couple of days ago about my problems debugging HTML source code when working with AJAX and also how I planned to solved it with Internet Explorer Developer Toolbar. It worked, it allowed me to inspect the actual DOM and see how it changed my original source... but it was too slow to debug it that way.

Fortunately, my brother posted a comment pointing me to this post by Rumen Stankov where he shows a trick to view and save the actual source in Internet Explorer. Just paste the following in your address bar:

javascript:'' + window.document.body.outerHTML + ''

Hope you find it as useful as I do. Why doesn't the Developer Toolbar includes something like this feature?
posted on Tuesday, February 28, 2006 12:26 AM"