Monday, May 08, 2006

Spring, Hibernate, Ruby on Rails, iBatis, Eclipse, etc

This is just a collection of links I have come across tonight and enjoyed reading:

Rails 8 times slower than Java

Hibernate vs iBatis

AppFuse - Bringing together Struts, Spring, Hibernate etc...

Equinox - A light weight version of AppFuse

Info on Spring 2.0

Spring 2.0 treats

iBatis Feedback - with some interesting comments on Hibernate

What's on your bookshelf?

Tips on Using Eclipse

Massive Thread on Spring I've only read up to #193633... not even half way through - how can so many post so much in such a short space of time - and how did it take me so long to come across this article.

Note to self - go here more often

Enterprise Infrastructure > Operating Systems > ThinkFree Web app outshines Office

ThinkFree Web app outshines Office
By: Dennis O'ReillyPC World.com (US) (25 Apr 2006)

It sounds too good to be true: free word processor, spreadsheet, and presentation programs that are compatible with their Microsoft Office counterparts and that work in a browser.That's the promise of ThinkFree, a Web service that offers all this, and more. I looked at the beta of the new version, which debuts today, and despite a few features that aren't working quite right yet (such as downloading and sharing PowerPoint and Excel files), I'm sold on the service.

Enterprise Infrastructure Operating Systems ThinkFree Web app outshines Office


technorati tags: ,

Sunday, May 07, 2006

Exalead - For the media - FAQ Press

What does Exalead mean? The trademark Exalead is an association of the two terms "exa" and "lead"; these two notions are at the core of the exalead one:search platform.

Exalead - For the media - FAQ Press


technorati tags:

Sphere Blog Search » Solution Watch

Sphere Blog Search
Wednesday May 03rd 2006, 10:11 pm

Sphere, a new blog search engine has launched a couple days ago, along with $3.75 million in capital and has been quite the buzz the last few days. I have seen both good and bad commentary about Sphere so far and I too have mixed feelings about it so far. I’ve actually been beta testing Sphere for the last few months and immediately fell in love with it then, although felt it lacked some key features that Technorati has with statistics and related media. By time of the official launch of Sphere, I was happy to see that Sphere has definitely upped the functionality now including a great custom date range tool, related media searching, and a neat Featured Blog’s area for search results. TechCrunch has provided a detailed overview of features and feel that he’s covered the details for the most part. Because of this, I’m going to give a brief overview of its offerings as well as some details about my experience with relevance, speed, profiles, and statistics.

Sphere Blog Search » Solution Watch


technorati tags:

A Funny Java Flavoured Look at the World: Unit Testing Database code using Hibernate and HSQLDB

Monday, May 01, 2006Unit Testing Database code using Hibernate and HSQLDBI read this article today called Unit testing hibernate with HSQLDB I found this article really interesting because I have been writing some database code recently and I am always concerned about testing methods and code that uses database code.

A Funny Java Flavoured Look at the World: Unit Testing Database code using Hibernate and HSQLDB


technorati tags: , ,

hibernate.org - Common Problems

Hibernate Users FAQ

hibernate.org - Common Problems


technorati tags:

hibernate.org - Using GigaSpaces Grid based Distributed Cachings

Using GigaSpaces Grid based Distributed Caching

Overview
GigaSpaces Grid based distributed caching is a major component within the GigaSpaces Enterprise Application Grid-based (EAG) architecture.
It enables applications to reduce the access time to information that resides in the database by bringing the information to the local application memory.
The information is loaded to the cache from the database in an on-demand basis. The cache manages the local memory utilization and the consistency of that information.

hibernate.org - Using GigaSpaces Grid based Distributed Cachings


technorati tags:

hibernate.org - Sessions and transactions

Sessions and transactions

This page explains common techniques to deal with the Session and transactions in Hibernate applications. Refer to the Hibernate reference documentation and the "Transactions and Concurrency" chapter for more information. This page describes Hibernate 3.1.x and code shown here does not work in older versions.

hibernate.org - Sessions and transactions


technorati tags:

XFire: The easy and simple way to develop Web services

XFire: The easy and simple way to develop Web services

Expose your POJO methods as Web services

Summary
Ask .Net developers how tough it is to develop Web services. Amused by your question, they'll probably reply that the steps require less than a minute of your time. Ask a Java developer, and, chances are, you'll get a completely different answer. Five years have passed since Web services was introduced in Java. Yet it is still considered one of the newer technologies, a major reason being Web services are difficult to implement in Java. Now with the release of XFire, a new-generation Web services engine, that situation could change dramatically. Using XFire, you can expose your Java class methods as Web services without writing additional code. In this article, you'll see how XFire makes Web services development easy and simple.

(2,400 words; May 1, 2006)

XFire: The easy and simple way to develop Web services


technorati tags: , ,

Enterprise Java Community: Hibernate vs. Rails: The Persistence Showdown

March 2005
DiscussionAnd the wires were all a buzz about Rails...
Much like a few other java folks, such as Bruce Tate and David Geary, I have been taking a look at a new web framework Rails. Of particular interest to me is its ORM (Object Relational Mapping) tool, ActiveRecord. Since choosing a technology always involves opportunity costs of some kind, I have written this article to compare and contrast with another popular ORM tool, Hibernate. It summarizes what I've learned about Rails, mainly by stacking it up against Hibernate, a technology I'm very familiar with.

Enterprise Java Community: Hibernate vs. Rails: The Persistence Showdown


technorati tags: , , ,

Saturday, May 06, 2006

Configuration Management in Java EE Applications Using Subversion

Configuration Management in Java EE Applications Using Subversion
by Swaminathan Radhakrishnan
05/03/2006

The most critical asset of any enterprise application is the data that it stores. Today's enterprise applications are often required to not just store data, but also keep track of all the changes that are made. This expectation also permeates into an associated set of requirements, such as tracking the reason for each change, the time of the change etc. In many cases, the data tracking requirements apply to data that applications store in the form of documents. Using Subversion can help satisfy these complicated, albeit common, requirements.

Thursday, May 04, 2006

Mashup Matrix

Matrix showing mashups of combinations Web2.0 sites / services.

New Web Framework: Echo2, with Ajax-based Rendering

New Web Framework: Echo2, with Ajax-based Rendering: "New Web Framework: Echo2, with Ajax-based Rendering
Posted by: Tod Liebeck on March 24, 2005 @ 08:28 AM

Echo2 is a reinvention of the Echo Web Framework built around an Ajax (Asynchronous JavaScript and XML) rendering engine. Distributed under the Mozilla Public License, Echo2 aims at providing a component-oriented/event-driven toolkit for developing web applications that approach the capabilities of rich clients."


see also: NextApp

NextApp Demo

Monday, May 01, 2006

Javalobby Readers' Choice: Top Java Books

Javalobby Readers' Choice: Top Java Books: "Javalobby Readers' Choice: Top Java Books

There are evidently a lot of high-quality Java and programming books out there which your fellow Javalobby members would recommend. If you began right now reading the cumulative 72,079 pages of the titles they have recommended, and if you read fifty pages per day every day, then you would finish reading this collection sometime in the middle of January, 2013! Of course, there’s some question whether all of this material would still be relevant by then, and there’s also the small issue of whether you’d really want to fork over the $5,238.66 this library would cost if you paid full price for every title. Thank goodness for Amazon, that 38% savings would really matter here!"

Awesome!

Yet more puzzlers

Yet more puzzlers


The javapolis puzzlers - well worth watching this presentation, for little things in Java that can catch you out. My favourite tip from this was the @override annotation in Java5 which I will start using all the time from now on!

Sun Microsystems Announces Open Source Enterprise Development Tool Project

Sun Microsystems Announces Open Source Enterprise Development Tool Project: "Sun Microsystems Announces Open Source Enterprise Development Tool Project

NetBeans Enterprise Pack Enables Developers to Customize and Contribute to Enterprise-Class UML, XML, and SOA Features
SANTA CLARA, Calif. April 11, 2006 Sun Microsystems Inc. (Nasdaq: SUNW), the creator and leading advocate of Java technology, plans to open source major elements of the Sun Java Studio Enterprise -- an enterprise-class development tool -- as a project on NetBeans.org. This new project, which will be released as the NetBeans Enterprise Pack, continues Sun's mission of growth via sharing and participation."

Wired News: Ultimate Guide to Online Video

Wired News: Ultimate Guide to Online Video: "Ultimate Guide to Online Video

By 02:00 AM May, 01, 2006
What do you want to watch?

The answer used to depend on limits -- what day it was, what time it was, what channels you got. A handy little thing called TV Guide laid it all out. Television was a one-way medium - big broadcasters pushing content into our living rooms at a specific time and place."

Video on-line is definitely here now - and legitimately. YouTube lets you watch, lovefilm lets you download and even channel4 have an on demand service for LOST (first 2 episodes of Season 1 are free, the rest cost 99p).

Sunday, April 30, 2006

SketchUp - Home

SketchUp - Home: "SketchUp is a simple but powerful tool for quickly and easily creating, viewing and modifying your 3D ideas."

Can be used to create models for Google Earth

Java Technology and Web Services

Java Technology and Web Services: "Web services are Web-based enterprise applications that use open, XML-based standards and transport protocols to exchange data with calling clients. Java Platform, Enterprise Edition (Java EE) provides the APIs and tools you need to create and deploy interoperable Web services and clients. "

THE place to start when looking at Web Services

The Java Community Process(SM) Program - JSRs: Java Specification Requests - detail JSR# 270

The Java Community Process(SM) Program - JSRs: Java Specification Requests - detail JSR# 270: "JSRs: Java Specification Requests
JSR 270: JavaTM SE 6 ('Mustang') Release Contents"

More on Mustang

Oracle XE: It's Not Your Typical Oracle

Oracle XE: It's Not Your Typical Oracle: "Oracle XE: It's Not Your Typical Oracle
By Dick Wall

Suit vs. Jeans

Try a visualization. Think about Oracle Database. If you are anything like me, you are probably envisioning large, mission-critical applications, darkened server rooms with loud fans and lots of heat, and DBAs sweatily laboring to keep the enterprise running. You might, if you have had the experience, also get a sinking feeling from the installation, configuration, and administration of the beast (in other words, oh no, not all those steps to run through again)."

JINSPIRED Home Page

JINSPIRED Home Page: "JXInsight 4.2 Early Access Program
JInspired is pleased to announce the JXInsight 4.2 Early Access Program. The first build is now available from the Downloads section. JXInsight 4.2 contains many new innovative features"

Not read this yet - just there on the todo list.

Core Java Technology Features in Mustang

Core Java Technology Features in Mustang: "Article
Core Java Technology Features in Mustang

By the JDK Core Engineering Team, June 16, 2005
A few weeks ago, the desktop Java client group published an article detailing the important desktop Java technology features planned for the next release of the Java Platform, Standard Edition (Java SE, formerly known as J2SE), code named Mustang.

This article will detail the important core features that are coming in Mustang. We list here all the items that are currently planned. Many are already integrated, and you can try them out yourself by downloading the most recent build from the Mustang snapshot release site. We try to estimate when you can expect to see in a snapshot release those items that are still in development. When a status line reads, for example, 'Delivered in b39,' it means that the feature was integrated in build 39. A new build is posted to the Mustang snapshot release site weekly. We increment the build number each week."

Despite the fact that I have yet to try all the featuresintroduced in Java 5, it is probably about time to look ahead to what is happening in Mustang. This old article seems like a good place to start.

HTTP Streaming - Ajax Patterns

HTTP Streaming - Ajax Patterns: "Stream server data in the response of a long-lived HTTP connection. Most web services do some processing, send back a response, and immediately exit. But in this pattern, they keep the connection open by running a long loop. The server script uses event registration or some other technique to detect any state changes. As soon as a state change occurs, it pushes new data to the outgoing stream and flushes it, but doesn't actually close it. Meanwhile, the browser must ensure the user-interface reflects the new data."

More information on XML-PUSH technology.

Other links:
Pushlets
HTTPLR
Stream 2.0
IRCG
Realtime on Rails
lightstreamer

I remember the first time I heard about this technology was on the Netscape DevEdge site - which used to be an excellent resource - the good news is a mirror is being restored I believe that this was the article.

The Four "Quantum States" of AJAX @ AJAXWORLD MAGAZINE

The Four "Quantum States" of AJAX @ AJAXWORLD MAGAZINE: "The Four 'Quantum States' of AJAX
An Effort to Tease Apart and Classify the Plethora of AJAX Technologies Available Today

By: Kevin Hakman
Apr. 11, 2006 09:15 AM

Uh oh! Here comes yet another technology buzzword. This time it’s “AJAX”. In addition to being a household cleaner, a character from Greek mythology, and the name of a European soccer club, AJAX is Asynchronous communication, JavaScript, and XML. These technologies, which are already present in your browser, make it possible to retrieve information without refreshing a Web page."

Introductory article, explaining different types of AJAX - but omits Comet.

Reporting Made Easy with JasperReports and Hibernate @ JAVA DEVELOPER'S JOURNAL

Reporting Made Easy with JasperReports and Hibernate @ JAVA DEVELOPER'S JOURNAL: "Reporting Made Easy with JasperReports and Hibernate
JasperReports and Hibernate in Web applications

By: Peter Sellars
Jan. 25, 2006 08:30 PM

JasperReports is a valuable and viable reporting solution for Java Web applications. It simplifies report generation through the use of XML report templates that are then compiled using the JasperReports engine for use in reporting modules. These compiled report templates can be filled by data received from a variety of sources including relational databases. JasperReports can be integrated into Web applications and create reports in several file formats including PDF and XLS."

The section on using Hibernate with JasperReports should come in useful.

Five Earth-Shattering Things You Should Know About AJAX and You Don't @ JAVA DEVELOPER'S JOURNAL

Five Earth-Shattering Things You Should Know About AJAX and You Don't @ JAVA DEVELOPER'S JOURNAL: "Five Earth-Shattering Things You Should Know About AJAX and You Don't
Of course, you already know everything about AJAX, don't you?

By: Dion Hinchcliffe
Apr. 20, 2006 06:45 PM

5 Earth-Shattering Things You Should Know About Ajax And Probably Don't"

Nice distinction between AJAX and Web 2.0.

Java Feature — Concurrent Programming and Locking in J2SE 5.0 @ JAVA DEVELOPER'S JOURNAL

Java Feature — Concurrent Programming and Locking in J2SE 5.0 @ JAVA DEVELOPER'S JOURNAL: "Java Feature — Concurrent Programming and Locking in J2SE 5.0
The mechanics of using the Lock interface implementations

By: Craig Caulfield
Apr. 21, 2006 02:00 PM

In concurrent programming, exclusion refers to any technique that dynamically locks certain blocks of code so multiple threads can't corrupt their shared resources in ways that can cause integrity problems. In Java, exclusion has meant using the synchronized keyword against a method or block of code to control access to an object's lock."

SYS-CON Announces Readers' Choice Awards for SOA, Java, Linux, .NET, MX, ColdFusion, and XML Technologies @ JAVA DEVELOPER'S JOURNAL

SYS-CON Announces Readers' Choice Awards for SOA, Java, Linux, .NET, MX, ColdFusion, and XML Technologies @ JAVA DEVELOPER'S JOURNAL: "SYS-CON Announces Readers' Choice Awards for SOA, Java, Linux, .NET, MX, ColdFusion, and XML Technologies
Also known as the 'Oscars of the Software Industry' the winners were chosen by more than 17,000 SYS-CON readers

By: Java News Desk
Feb. 6, 2006 01:30 PM

SYS-CON Media (www.sys-con.com) announced today the results of its 10th annual “Readers’ Choice Awards” for best products and tools for the SOA, Web Services, Java and XML technologies. Winners and three finalists were announced today in 21 categories by SOA Web Services Journal. Java Developer’s Journal also announced winners and finalists in 26 distinct product and tool categories."

Old news but thought I'd blog this for reference.

Comprehensive AJAX Platform Released As Open Source @ JAVA DEVELOPER'S JOURNAL

Comprehensive AJAX Platform Released As Open Source @ JAVA DEVELOPER'S JOURNAL: "Comprehensive AJAX Platform Released As Open Source
The First Visual Dev Environment for Building Internet Apps With AJAX Now Includes Open Source Runtime

By: Java News Desk
Jan. 10, 2006 11:15 PM

Page 1 of 2

Developers now have a fast, efficient and cost-effective way to create AJAX-enabled rich Internet applications with the release of ClearNova's, ThinkCAP JX -- the first rapid application development (RAD) platform to be offered as open source, and the first visual development environment for building rich Internet applications. ThinkCAP JX combines the power of AJAX, J2EE and open source to enable organizations and their developers to build the web-based applications that run their businesses. "

Java Feature — Business Intelligence and Reporting with BIRT @ JAVA DEVELOPER'S JOURNAL

Java Feature — Business Intelligence and Reporting with BIRT @ JAVA DEVELOPER'S JOURNAL: "Java Feature — Business Intelligence and Reporting with BIRT
A first experience account

By: Chris Beels
Apr. 17, 2006 11:00 AM

Open Source Business Intelligence software is finally coming into its own, with three major players coming to the fore: JasperReports, Pentaho, and BIRT (Business Intelligence and reporting tools)."

Struts Validations Framework Using AJAX @ JAVA DEVELOPER'S JOURNAL

Struts Validations Framework Using AJAX @ JAVA DEVELOPER'S JOURNAL: "Struts Validations Framework Using AJAX
Real-time data validation is one of the advantages of AJAX technology

By: Sonny Hastomo
Jan. 27, 2006 01:00 PM


Real-time data validation is one of the advantages of AJAX technology. By applying this technology, the struts validation framework will enrich the struts MVC and move the Web application closer to the desktop application."

Saturday, April 29, 2006

Ruby, Rails, and the mainstream | mentalized

Ruby, Rails, and the mainstream | mentalized: " Ruby, Rails, and the mainstream
Journal entry
April 7, 2006

It seems I have stirred quite a pot around the office with my recent ravings about Rails. Today the tech-head on the board sent me this article about why Rails won’t make it into the mainstream and asked for my comments. The following is basically a translation of my reply to him (Gee, this is the closest I’ve ever come to being paid for blogging)."

This links to an excellent article about why rails will not become mainstream. I'd like to add - it's because a Java based framework will be created that does the same - but with a syntax more familiar to Java programmers - so little need to switch.

Domain Logic and SQL

Domain Logic and SQL: "Over the last couple of decades we've seen a growing gap between database-oriented software developers and in-memory application software developers. This leads to many disputes about how to use database features such as SQL and stored procedures. In this article I look at the question of whether to place business logic in SQL queries or in-memory code, considering primarily performance and maintainability based on an example of a simple, but rich SQL query."

An old article (Feb 2003), that is still highly significant today... but then it was written by Martin Fowler.

Java Cover Story — Debugging JDBC with a Logging Driver @ JAVA DEVELOPER'S JOURNAL

Java Cover Story — Debugging JDBC with a Logging Driver @ JAVA DEVELOPER'S JOURNAL: "Java Cover Story — Debugging JDBC with a Logging Driver
A new way to debug and solve DB problems

By: Ryan Bloom
Apr. 28, 2006 12:30 PM

A couple of years ago I began developing in Java, and my first Java project required that I also learn SQL. Our project team was using mostly EJBs for database access, although for some performance-critical sections of the application we wrote the JDBC logic directly. A problem that we faced regularly was tracking the bind parameters to our PreparedStatements. Over the course of the project, all of the team members tried different techniques to determine what our JDBC statements were actually doing."

Includes logging of Hibernate HQL, via logging in the JDBC driver. I do not necessarily agree with this approach as the author points out - this is an aspect that cuts across the system so I'd prefer a solution using AOP to log the statements.

In fact the more I think about it the more I like AOP used for logging. Although log4j is very efficient, and adding if(debug) conditionals can improve the performance further - it seems to me that either including or not inclduing an aspect to log would be the preferred approach as it does not pollute the code and can be switched on and off - when off there is absolutely no impact on performance. It is a clean and elegent approach.

Read the comments in this article and you will see it has been debunked, and there are existing resources out there that do the same thing already - see Tuning JDBC: Measuring JDBC performance by Jack Shirazi, author of Java Performance Tuning
12/05/2001
and this tool

Connecting the Java World to Grid-Enabled Databases @ JAVA DEVELOPER'S JOURNAL

Connecting the Java World to Grid-Enabled Databases @ JAVA DEVELOPER'S JOURNAL: "Connecting the Java World to Grid-Enabled Databases
Consolidate IT resources and optimize usage

By: Kuassi Mensah

Grid computing is not necessarily a new concept; however, its adoption within the enterprise has given birth to a new concept called enterprise grid computing, which is being embraced by the entire IT industry. Enterprise grid computing aims to consolidate IT resources - including both infrastructure software and applications - and optimize their usage, cutting costs substantially along the way. Since Java and J2EE are widely used as enterprise software platforms, how do they align with this vision?"

Virtualize Your Oracle Database with Web Services

Virtualize Your Oracle Database with Web Services: "Developer: J2EE

Virtualize Your Oracle Database with Web Services
by Kuassi Mensah

Explore the Database Web Services capabilities of Oracle Database 10g, as well as their role in a service-oriented architecture."

JBoss drools over Java business rules | The Register

JBoss drools over Java business rules | The Register: "JBoss drools over Java business rules
Updates to get ahead
By Gavin Clarke in San Francisco
Published Monday 3rd April 2006 04:21 GMT

JBoss is today expected to unveil middleware that continues its strategy of challenging closed-source vendors in business processes and distributed systems."

Including First implementation of Drools as JBoss Business Rules 3.0.

WS-* vs the REST | The Register

WS-* vs the REST | The Register: "WS-* vs the REST
O’Reilly, Amazon talk web service standards
By Tim Anderson
Published Saturday 29th April 2006 05:02 GMT

At Microsoft's Mix06 conference last month, we took the opportunity to speak (separately) to Web 2.0 guru Tim O'Reilly and Amazon's web services evangelist Jeff Barr on how they see the REST vs WS debate."

Friday, April 28, 2006

BrainBlog

BrainBlog: "7 Dayz left...
April 24, 2006 |
marko
0 comments

Only 7 Dayz left until 14Dayz launches!"

Encytemedia: It's OK To Break Standards

Encytemedia: It's OK To Break Standards: "It's OK To Break Standards

April 02, 2006

I tend to be more of a Realist than Purist when it comes to debating semantics, web standards, progressive enhancement, and all the other topics web developers are talking about in order to educate and inform their audience. I’m an advocate for all of these things, but that doesn’t change the fact that you shouldn’t bend them or break them if the situation calls for it."

A few more opinions on innerHTML.

Open Workbench - Open Source Project Management and Project Scheduling for Windows - What is Open Workbench?

Open Workbench - Open Source Project Management and Project Scheduling for Windows - What is Open Workbench?: "Open Workbench is an open source Windows-based desktop application that provides robust project scheduling and management functionality and is free to distribute throughout the enterprise. When users need to move beyond desktop scheduling to a workgroup, division or enterprise-wide solution, they can upgrade to CA's Clarity™ system, a project and portfolio management system that offers bidirectional integration with Open Workbench."

aka Microsoft Project (but it works slightly diffferently)

Open Source Freeware : 400+ free applications and utilities : eConsultant

Open Source Freeware : 400+ free applications and utilities : eConsultant: "Open Source Freeware : 400+ free applications and utilities
Extremely useful open source applications and utilities available free under various licenses."

I want a Freeware Utility to ... 450+ common problems solved : eConsultant

I want a Freeware Utility to ... 450+ common problems solved : eConsultant: "I want a Freeware Utility to ... 450+ common problems solved.
Extremely useful free utilities that do specific jobs really well and save time and money."

Thursday, April 27, 2006

MoonEdit

MoonEdit: "MoonEdit
Tom Dobrowolski's multi-platform collaborative text editor."

This looks very interesting!

JSEclipse :: Edit JavaScript with ease.

JSEclipse :: Edit JavaScript with ease.: "JSEclipse is the the best and most popular Javascript plugin for the Eclipse environment. Its benefits are visible from the simplest tasks like editing small sections of code for your site to the more complex ones like working with the next big AJAX library or developing plugins for a product that embeds JavaScript like Dreamweaver or Photoshop."

I really need to try an IDE with proper javascript support.

Ajaxian » Comet: A New Approach to Ajax Applications

Ajaxian » Comet: A New Approach to Ajax Applications: "Saturday, March 4th, 2006
Comet: A New Approach to Ajax Applications

Category: DojoView the technorati tag: Dojo, ProgrammingView the technorati tag: Programming, RemotingView the technorati tag: Remoting, CometView the technorati tag: Comet

Alex Russell has coined a term for a flavour of Ajax that’s been getting more attention of late. Comet describes applications where the server keeps pushing - or streaming - data to the client, instead of having the browser keep polling the server for fresh content."


This has possibly been one of the best kept secrets out there. Like 'normal' AJAX - this has been around for years - but has lacked momentum to push it forward.

The only disadvantage is keeping the http connections open - and the fact that the number of simultaneously open connections is limited.

This technique is perfect for the broadcasting of sports related event information - like scores. These can be puse out to the listening client as they happen - without the need for polling to the server when thee are no events. Instead the data is pushed out - much like the blackberry emailing system.

Ajaxian » Adobe Announces a Flex / Ajax Bridge

Ajaxian » Adobe Announces a Flex / Ajax Bridge: "We talked before about Adobe’s Flash / JavaScript bridge. They’ve taken it to the next level with a new Flex / JavaScript bridge. Whereas the original integration kit allowed for invocation of ActionScript functions and passing simple primitive values, this new bridge enables seamless integration of Flex applications with the browser’s JavaScript environment. The Flex DOM and ActionScript environment can be completely manipulated from the JavaScript environment and vice versa, and complex types can be marshalled across seamlessly."

Andre’s Blog » Blog Archive » Some AJAX Pattern Screencasts

Andre’s Blog » Blog Archive » Some AJAX Pattern Screencasts: "Some AJAX Pattern Screencasts

These are a couple AJAX patterns that Alexei and I put together for a an AJAX business case webinar we did with Jupiter Media a couple weeks ago."

An excellent look at some really cool features .. that should be useful in real-world apps.

Ajaxian » OpenLaszlo and Dojo Partnership

Ajaxian » OpenLaszlo and Dojo Partnership: "Thursday, April 27th, 2006
OpenLaszlo and Dojo Partnership

The OpenLaszlo and Dojo teams have announced a partnership. The end result is a win-win for both groups, and thus for us. application developers. Dojo is going to get improvements and widgets from OpenLaszlo for us all to use."

9rules Featured » Blog Archive » Prototype.js dissected

9rules Featured » Blog Archive » Prototype.js dissected: "9ruler Jonathan Snook has done a great job at totally dissecting Prototype.js, the javascript class library us Web 2.0 buffs can’t live without anymore."

Excellent charts of all the functions

9rules Featured » Blog Archive » Justin Palmer’s CSS event:Selectors

9rules Featured » Blog Archive » Justin Palmer’s CSS event:Selectors: "Justin Palmer over at Encytemedia posted a great mashup of Prototype and Behaviour called CSS event:Selectors that allow you apply Javascript event handlers Behaviour-style, while benefiting from the beauty of Prototype’s syntax."

Technology Review: Emerging Technologies and their Impact

Technology Review: Emerging Technologies and their Impact: "October 2005
Killer Maps

Google, Microsoft, and Yahoo are racing to transform online maps into full-blown browsers, organizing information -- and, of course, ads -- according to geography. The likely winner? You.

By Wade Roush"

A lengthy and a little wordy article but a good read.

The Impact of Emerging Technologies: Memos from Web 2.0 World

The Impact of Emerging Technologies: Memos from Web 2.0 World: "Wednesday, March 29, 2006
Memos from Web 2.0 World

Posted at 12:00 AM"

Interesting comments from Wade Roush regarding social annotation tool - diigo

Hauppauge WinTV Nova-t Stick USB TV Tuner - Gizmodo

Hauppauge WinTV Nova-t Stick USB TV Tuner - Gizmodo: "Hauppauge WinTV Nova-t Stick USB TV Tuner

If Americans are really as addicted to TV watching as the latest market statistics say we are, then this gadget sell like gangbusters. The WinTV Nova-t stick is small enough to fit in your pocket, but big enough to support SDTV, HDTV, and digital radio. "

Yahoo! Go PVR software

Yahoo! Go PVR software: "Yahoo!'s Go software transforms a PC into a TV-centric, connected appliance. Being completely free, it is a good place to start for the maiden experience of dealing with PVR software. Yahoo! Go is actually a rebranded version of the vaunted Meedio PVR software after the latter's acquisition by Yahoo!"

Well I've never been a big fan of Yahoo, but I might have to take a closer look at this. Yahoo maps was good - and it can be argued that technially it is superior to google maps, but the content is nowhere near as good, and in the land of mapping content is king.

PC Case

PC Case: "Forget the Laz-E-Boy. This is THE definitive home furniture that cannot be dispensed! Homer Simpson would gladly be the spokesman for free. We’re talking about a PC case that comes with a beer tap"

I guess the CD tray is no longer a coffee cup holder, but now a pint glass holder (glorified beer mat).

PSP System Update 2.70 Released Today - Gizmodo

PSP System Update 2.70 Released Today - Gizmodo: "PSP System Update 2.70 Released Today
READ MORE: Gadgets, Home Entertainment, LocationFree, PSP, Portable Media, Sony

Sony released the 2.70 System Update for the PSP today, so if you’re still using yours—all of our friends who own one put theirs away again after finishing Me & My Katamari—consider downloading it through the PSP Browser over WiFi or from yourpsp.com. "

Article may be slightly inaccurate as noted in the comments.

I have to say, my PSP does not get too much use (mainly because I am not commuting via train at the moment), but when I feel like a quick game of something, it sure does come in handy.

I'll be interested to see what happens with the LocationFree feature - though I doubt I'll be buying into it.

Technology Review: Emerging Technologies and their Impact

Technology Review: Emerging Technologies and their Impact: "Thursday, April 27, 2006
Sun Microsystems' New Star Needs to Shine

CEO Jonathan Schwartz must give the long-faltering company a clear focus -- and an identity.

By Wade Roush

What does Sun Microsystems want to be when it grows up? That's the question the company's board of directors is probably asking newly appointed CEO Jonathan Schwartz, who this week replaced cofounder Scott McNealy. The former CEO's mantra of 'the network is the computer' fit nicely into the pages of business magazines -- but never quite gave an identity to the company.

While most tech-savvy businesspeople and consumers have heard of the Santa Clara, CA-based firm, few could say what it actually does. Schwartz -- who's held seven positions within Sun since joining the company in 1996, most recently as president and chief operating office -- hopes to rectify that."

What's wrong with innerHTML? - snook.ca

What's wrong with innerHTML? - snook.ca: "What's wrong with innerHTML?
April 13, 2006 | JavaScript

I know Jeremy Keith's position on this but I still don't understand why him and others are so against innerHTML. Sure it's not part of a standard (yet) but neither is the XMLHttpRequest object (yet)."

More on the innerHTML issue.

I had to assist somone with some javascript for the first time in a while today, and I had to use several DOM methods to get to the correct element on the page. (HTML source did not contain any id's and we could not edit it), after using DOM methods to get to the correct element - it made sense to use them to set the data too - it is particularly useful as they are more powerful - you can use them to get access to data that already exists and then append to it.

Robert’s talk » We all love innerHTML

Robert’s talk » We all love innerHTML: "We all love innerHTML
Published on Thursday, April 20th, 2006

This article is co-written with Anne van Kesteren, W3C Member and contributor to the WHATWG and Opera specifications, R&D and QA person.

When developing a web page, DOM methods are generally the way to go when dynamically altering elements’ attributes and performing other operations. But what about adding content to a web page in the most efficient manner, both code- and performance wise? We claim that innerHTML is unmatched by any DOM methods available and that it is in most, if not all, situations the best option."

I have to say that innerHTML is easy to use - just a quick little one-liner, but I usually use DOM methods, as I think nthey are cleaner. I just with the DOM methods were faster!

The fact that innerHTML is quicker becomes important the more frequently it is used, in AJAX applications that may become more important.

Robert’s talk » Get the rendered style of an element

Robert’s talk » Get the rendered style of an element: "Get the rendered style of an element
Published on Monday, April 24th, 2006

I guess most of you, one time or another, has had the need to find out what style was actually rendered on an element. The easiest way to do this is through the style property followed by the specific value you’re looking for"

Couple of useful functions in here, although the number of Firefox extensions (Such as Firebug) that let you look at source the fewer custom functions you need for debugging.

Ma.gnolia Social Bookmarking: Search and Find Web Sites & Build Community Online.

Ma.gnolia Social Bookmarking: Search and Find Web Sites & Build Community Online.: "Welcome to Ma.gnolia!

Find and save your favorite website bookmarks with Ma.gnolia.com so you can get them from any computer, any time. And that’s only the start.

In Ma.gnolia you’ll join a welcoming community of people and interest groups, all of them showing you what they’ve found on the web. If you’ve never tried social bookmarking before, you’re at the the right place to start."


Sadly the email address I regestered my Ma.gnolia account to expired prior to the Go Live date and I missed the launch. I very rarely read email from my spammable accounts now-a-days anyway - due to RSS feeds being such a far better medium. Anyway Ma.gnolia is up there and I might just be temped to become a user.

Web 2.0 Workgroup - A network of Web 2.0 resources

Web 2.0 Workgroup - A network of Web 2.0 resources: "The Web 2.0 Workgroup is a network of premium weblogs that write content about the new generation of the Web. Combined, these sites reach a large readership of influential technology and media professionals."

Some sites to keep an eye on - but the number of RSS feeds I'm now reading is getting out of control already. I think it's time to cut back on feeds - not add more.

Fifty Ways to Take Notes » Solution Watch

Fifty Ways to Take Notes » Solution Watch: "Fifty Ways to Take Notes

Monday April 17th 2006, 7:54 pm

I am constantly writing notes. Whether it be for my blog, work, meeting, new ideas, or just basic notes, I am always jotting something down. So I started thinking about all the services I’ve used for taking notes and thought it would be a good idea to share them with you and while I’m at it, to make a list of any others that I find. "

Google Cheat Sheets (Version 1.05)

Google Cheat Sheets (Version 1.05): "This two page Google Cheat Sheet lists all Google services and tools as well as background information. The Cheat Sheet offers a great reference to grasp of basic to advance Google query building concepts and ideas."

This will probably go out of date quite quickly, but still

Linux.com | How to configure a low-cost load-balanced LAMP cluster

Linux.com | How to configure a low-cost load-balanced LAMP cluster: "How to configure a low-cost load-balanced LAMP cluster

Monday April 24, 2006 (02:01 PM GMT)

By: Keith Winston

The ubiquitous Linux, Apache, MySQL, and PHP/Perl/Python (LAMP) combination powers many interactive Web sites and projects. It's not at all unusual for demand to exceed the capacity of a single LAMP-powered server over time. You can take load off by moving your database to a second server, but when demand exceeds a two-server solution, it's time to think cluster.

A LAMP cluster is not the Beowulf kind of cluster that uses specialized message-passing software to tackle a computation-intensive task. It does not cover high availability features, such as automatic failover. Rather, it is a load-sharing cluster that distributes Web requests among multiple Web and database servers while appearing to be a single server"

AJAX Magazine: Howto integrate Google Calendar in your website using AJAX

AJAX Magazine: Howto integrate Google Calendar in your website using AJAX: "Howto integrate Google Calendar in your website using AJAX

One of the features I find it interesting in Google calendar is the possibility to create shared calendars, but also the availability of your calendar as XML or ICAL whatever it's a private or public one. As soon as we have XML of our calendar available I was wondering why not integrating Google calendar directly in website. For example a community that use the service to manage their events, or to display your future trips in your blog ?"

Sunday, April 23, 2006

More Google Products

More Google Products: "Calendar
Organize your schedule and share events with friends"

Guess I missed the release of the Google Calendar.

Speculation had been rife of an impending April 1st release (to coincide with Gmails birthday), but we got nothing more than the obligatory (April Fool).

It is out now along with an API, but has to compete with the already excellent 30boxes and the likes of kiko and the Microsoft Windows Live Calendar Gadget Solution, and possibly a forthcoming Windows Live service.

b3ta.com challenges

b3ta.com challenges: "If Google Owned Everything"

Amusing takes on Google

Wednesday, April 19, 2006

Home - Confluence

Home - Confluence: "Geotools is an open source Java GIS toolkit for developing standards compliant solutions. It provides an implementation of Open Geospatial Consortium (OGC) specifications as they are developed."

Subversion - Confluence

Subversion - Confluence: "Tips for working with Subversion
Excessive load on your file system

Since a Subversion working copy contains base revisions of a file as well as the file itself, it tends to put increased strain on file systems since often they modify the last access time of a file on read access. Needless to say this can lead to hundreds of thousands of disk writes just because you have updated a single file in your working copy!

For Windows, the solution is outlined at http://www.winguides.com/registry/display.php/50/. The setting does not do any harm and can be reverted at any time; it's obviously useful outside of Subversion too."

Haus News - XFire 1.1 Beta Released! WS-Security, MTOM support, and more...

Haus News - XFire 1.1 Beta Released! WS-Security, MTOM support, and more...: "XFire 1.1 Beta Released! WS-Security, MTOM support, and more...
[ dandiep ] 20:24, Friday, 31 March 2006

The Codehaus XFire team is proud to announce their 1.0 release! XFire is an open source Java SOAP framework built on a high performance, streaming XML model. XFire includes support for web service standards, an easy to use API, Spring integration, JBI support, and plugable bindings for POJOs, JAXB, and XMLBeans."

RIFE : About

RIFE : About: "RIFE is a full-stack web application framework with tools and APIs to implement most common web features. Each of its toolkits is usable by itself and together they offer powerful integrated features that boost your productivity. RIFE ensures that every declaration and definition is handled in one place in the code. This simplifies the developer's task by reducing code replication, enforcing consistency, and easing maintenance."

java.net: RAD That Ain't Bad: Domain-Driven Development with Trails

java.net: RAD That Ain't Bad: Domain-Driven Development with Trails: "As a Java developer my first reaction to Rails was sheer, unabashed envy. Developing a web application in Java, even with best-of-breed technologies such as Spring, Hibernate, and Tapestry, is still much more difficult than cranking out a Rails application. My next reaction was to think about how we can bring some of the brilliant ideas of Rails to Java. I'm here to say with certainty that we can, and I've spent the last several months working to make it possible for any Java developer to do it.

The fruit of this effort is a framework named, unoriginally enough, Trails. Despite the name, Trails is in no way a port of Rails. Rather, it is a framework designed to bring a similarly radical productivity increase to J2EE web application development."

Groovy on Rails (Grails) 0.1 Released

Groovy on Rails (Grails) 0.1 Released: "Groovy on Rails (Grails) 0.1 Released
Posted by: Floyd Marinescu on March 30, 2006 @ 11:58 AM

Grails, which could be the Java community's answer to Ruby on Rails has had its first public release with Grails 0.1. Grails is built on open source technology such as Spring, Hibernate and SiteMesh and offers a Rails-like environment that integrates seamlessly with the Java platform allowing developers to utilise their existing investment in Java and the JDK."

Also links to RIFE and Trails projects

Grails - Home

Grails - Home: "What is Grails

Grails aims to bring the 'coding by convention' paradigm to Groovy. It's an open-source web application framework that leverages the Groovy language and complements Java Web development. You can use Grails as a standalone development environment that hides all configuration details or integrate your Java business logic."

Aka Groovy on Rails

Realtime Form Validation Using AJAX

Realtime Form Validation Using AJAX: "Article
Realtime Form Validation Using AJAX

By Greg Murray, April 2006

Articles Index

Editor's Note: This article is taken from the The Java BluePrints Solutions Catalog, a new project from the Java BluePrints program. The Java BluePrints program consists of a set of guidelines and best practices, as well as small applications to illustrate these guidelines on both the J2EE 1.4 and 1.5 platforms.

If you've ever entered form data on the Internet, you've likely encountered cases where server-side processing is used to validate that the data meets a specified set of criteria. JavaScript may be used on the client-side to validate the format of simple data such as email addresses, phone numbers, dates, or credit card numbers. However, client-side processing is limited in that it cannot apply business rules or access server-side data sources to perform that validation."

Enterprise Java Community: Building on Struts for Java 5 Users

Enterprise Java Community: Building on Struts for Java 5 Users: "April 2006

Struts is undoubtedly the most successful Java web development framework. It is the first widely adopted Model View Controller (MVC) framework, and has proven itself in thousands of projects. Struts was ground-breaking when it was introduced, but the web development landscape has changed a lot in the last few years. It is also fair to say that Struts is not universally popular, and has in many ways been overtaken by other frameworks.

Developers not satisfied with Struts have tended to embrace other frameworks, or even create their own. This is even the case within the Struts community. The two major initiatives - the integration with WebWork and the JSF-based Shale - are producing frameworks quite different from the Struts to which most users are accustomed.

A less well known fact is that the increasing adoption of Java 5 has brought in a third way forward for Struts. In this article I introduce Strecks, a set of Java 5 based extensions which offer a greatly streamlined programming model for Struts applications, without introducing any new compatibility issues. If you're confused about the name, think of it as a shortened, misspelled version of 'Struts Extensions for Java 5'.

Strecks is built on the existing Struts 1.2 code base, adding a range of productivity enhancing features"

Mentawai Web Framework - Mentawai Overview

Mentawai Web Framework - Mentawai Overview: "Mentawai's programmatic approach to configuration, gives you total freedom, flexibility and power inside your configuration files. You can refactor, create new methods, static variables, loops, use inheritance to extends ApplicationManager, etc. From that freedom, two configuration styles have emerged from Mentawai, and are now fully supported in version 1.2."


This framework has some interesting ideas - such as programmatic configuration instead of using XML files, because although it can be beneficial to be able to quickly change a property file or xml file, often a full deploy is used to ensure that live application is in a known state, so as long as your build scripts compile all your code, you can gain the benefits of using purely Java in your IDE, and maybe someday I will learn to use a full stop

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"