Please send any feedback on admin@ajaxline.com.
If you want to share your experience and post article on Ajaxline just e-mail it to us and we publish it.
Stephans Shmidt writes about unboxing in his blog. Here's the small excerpt from this article:
«Sometimes I ask an unboxing question during Java interviews. “What can happen with unboxing? See this code:”
Integer i1;
...
// do some things with i1;
...
int i2 = i1;
The thing that can happen is that i1 is NULL which will result in a NullPointerException being thrown.
“What is the problem with the NPE here?” There are several ones. The big one is that developers search for dereferencing variables (think “.”) when seeing a NPE. The line
int i2 = i1;
does not have a dot, the trained eye of a Java developer has problems to see the NPE there (if he didn’t encounter the bug before).»
You can read m?re in Stephans Shmidt blog.
Stephan Shmidt write an intresting article about Mutable variables in Java language. Here''s a small excerpt from beginning of this article:
« Suppose I have two interfaces implementing the Immutable Interface pattern. One interface for Point and one with MutablePoint. The pattern suggests a cast to ImmutablePoint p; ((Point)p).setX( 1.0 ); get the mutable interface. This isn’t safe and can be replaced with a Generics solution.
First we have the mutable point:
public interface MutablePoint {
public void setX(int x);
public void setY(int y);
}
which we want to create from an Immutable object without a cast:
Point point = point(10,10);
MutablePoint mPoint = point.makeMutable();
mPoint.setX(20);
The second benefit beside the missing cast is that users of the Point interface know there is a mutable interface which they can get in a defined way.»
Tou can read the full article in a Stephens Blog.
John Dickinson post a second part of his article about the buildingthe blog applications with Grails. You can read the first part of this article here.The following topics are discussed in the second part of this article:
Securing The Blog
Making Yourself Presentable
Simple Tagging with AJAX
Jacek Furmankiewicz post a tutorial about Setting Up JBoss Tools for Seam Application Development. This article covers the following topics:
RichFaces, Facelets, & JBoss Tools
Setting Up JBoss Tools
Creating Your First Seam Project
Handling the Login/Authentication Logic
dhtmlxCombo is a cross-browser JavaScript combobox with autocomplete feature. It extends basic selectbox functionality to meet the requirements of the most up-to-date web applications. dhtmlxCombo can be converted from existing HTML SELECT or populated with JavaScript. Supporting AJAX, it also can get list values from server datasource dynamically.
Source: http://www.dhtmlx.com
In 2005 when Google implemented Google Suggest, Ajax took off. Every web developer was trying to duplicate what Google accomplished. Its now 2008 and there are tons of ways to accomplish Google Suggest. Below is a list of 10 Auto Complete Scripts with various frameworks. The list below is in no particular order.
Source: http://webtecker.com/2008/03/10/10-auto-complete-ajax-scripts/
Dietrich Kappe writes about using Grails and JSON together. He writes:
«For all of those Java developers casting longing glances at their buddies doing Rails development, there is hope. Grails, which has just celebrated its 1.0 release, is a Rails-like "convention over configuration" framework that aims to do for the Java world what Rails has done for Ruby. Instead of Ruby, the dynamic programming language of choice is Groovy, which compiles to bytecode (no Groovy to Java translation) and integrates smoothly with just about any Java code you may be using.»
ZK is a framework for building web applications. It was developed by Potix (www.potix.com) and distributed under both GNU and commercial licenses. The main idea behind ZK is to introduce event-handling programming—backed by an AJAX engine—to web applications. Andrzej Sekula has posted an intresting tutorial about this framework. Here's the short list of topics which is disscused in this tutorial:
Using the framework.
Two months ago we wrote about new Rich Client platform released by Eclipse. Today you can view some very intrestng screencastd about it with Jochen:
The new version of AjaxSwing was released. AjaxSwing is a tool for Java that provides automated web-enabling for GUI based Java applications and applets. AjaxSwing allows developers to implement a GUI front end using AWT and Swing, and at the same time automatically get HTML access to the application. AjaxSwing can be thought of as a runtime Java to HTML converter, that migrates Java user interface to an interactive web site.
Here's the list of it new features and improvements:
IBM developer network published new Ajax article Make Ajax development easier with AjaxTags.
This article describes a compact little JSP tag library that uses some external JavaScript to bring easy-to-use Ajax support to your JSP pages: AjaxTags.

Another implementation of Ajax file upload with progress bar can be found in article Develop an Ajax-based file upload portlet using DWR

Philip McCarthy write new article with source code which can help you to implement your application in Comet way
To deploy it's all we need to create war file within application
Create application
New Module -> Java EE Application Module

Type app:

Next -> Add deployment descriptor

Add to packaging ejb and web modules

Press Finish.
To deploy application Run -> Edit Configurations...
Now we create web client.
File->New Module-> Web Module->Next

Module name:

Next->Add server descriptor

Press Next until finish.
Double click on web node and you will see General window: