Java


Tuesday, October 17th, 2006

GWT Roundtable Podcast

Category: GWT, Java, Recording

The latest Java Posse podcast is a 70-minute roundtable on GWT, featuring the GWT tech lead, the GWT widget library keeper, and the developer of GPokr, join Posse hosts Dick Wall, Carl Quinn, and Joe Nuxoll. Robert Hanson – Keeper of the GWT Widget Library Blog – http://roberthanson.blogspot.com/ GWT Widget Library – http://gwt-widget.sourceforge.net/ Ryan Dewsbury Read the rest…

Posted by Michael Mahemoff at 2:06 pm
3 Comments

+++--
3.5 rating from 34 votes

Monday, October 16th, 2006

RJS API for Java and GWT

Category: Java, JavaScript

Jacob Hookom has liked what he has seen with RJS within Rails, so pondered a RJS like API for GWT and Java. He then created a ClientWriter that would generate the JavaScript from the Java code. E.g. in Java: < View plain text > java // MyBean.java private UIInput nameInput; public void setNameInput(UIInput input) { Read the rest…

Posted by Dion Almaer at 9:23 am
1 Comment

+++--
3.2 rating from 24 votes

Monday, September 4th, 2006

Bridging Java Swing with Ajax

Category: Ajax, Java

Richard Bair of Sun Microsystems has created XMLHttpRequest and JSONHttpRequest beans, both part of the SwingX-WS project. Interestingly Richard “ased the design and implementation on the W3C Working Draft Specification for XMLHttpRequest. So the good news is, for those of you familiar with XHR, you have essentially the same API available now for your Swing Read the rest…

Posted by Dion Almaer at 2:24 pm
4 Comments

+++--
3.5 rating from 51 votes

Sunday, August 20th, 2006

Ajax Login with Acegi

Category: Java

Sanjiv Jivan has written about how he has integrated an ajax based login form to the Acegi Spring module for Auth and Auth. His implementation contains a ServletFilter in J2EE land, and JavaScript in the client: < View plain text > javascript function ajaxLogin() {     Element.update(‘loginMessage’, ‘Sending request …’);     Element.show(‘loginMessage’);   Read the rest…

Posted by Dion Almaer at 11:42 pm
6 Comments

+++--
3.4 rating from 45 votes

Wednesday, August 2nd, 2006

Securing Access to Ajax Proxy Servers

Category: Java, Security

A little over a week ago, we linked to a blog by Sun Ajax guru Greg Murray (creator of jMaki) discussing his small Ajax server-side proxy framework for Java, called (creatively enough) XmlHttpProxy. Greg’s back with a new blog discussing five different options for securing server-side Ajax proxy servers: 1. Token Based Restriction – Limit Read the rest…

Posted by Ben Galbraith at 11:33 pm
2 Comments

+++--
3 rating from 7 votes

Friday, July 21st, 2006

A Java-based HTTP Proxy for Ajax

Category: Java, Programming

On the Java.net blog of Greg Murray, he demonstrates a method of creating a proxy client in Java for an XMLHttpRequest of your choice. One drawback of working with AJAX is that an AJAX-based client cannot make calls to URLs outside of its domain, which means that it cannot access services located on another server. Read the rest…

Posted by Chris Cornutt at 6:53 am
5 Comments

++---
2.6 rating from 41 votes

Wednesday, July 12th, 2006

J2EE and AJAX: AJAX with Servlets

Category: Java, Programming

The use of J2EE in development work has been growing at a staggering pace over the last few years. Developers are finding its environment and capaitilities to be just what they need. One thing that it’s missing though, is a good method to interact with the user. Sure, there are the usual web interaction methods, Read the rest…

Posted by Chris Cornutt at 3:07 pm
9 Comments

+++--
3.3 rating from 54 votes

Thursday, June 29th, 2006

JavaRef: Ajaxified JavaDoc

Category: Java, Showcase

All Java developers can spot the look and feel of JavaDoc a mile away. The new JavaRef (developed with the Apache Tapestry Java web framework) aims to give you another take, allowing you to search JavaDoc of over 80 projects. On the Ajax side it provides: Class/package/method search with auto-complete Tabbed display of information for Read the rest…

Posted by Dion Almaer at 12:42 am
9 Comments

+++--
3.7 rating from 32 votes

Wednesday, June 28th, 2006

Interview with ZK Creator Tom Yeh

Category: Ajax, Framework, Java, Server, Toolkit

Agile Ajax has posted an interview with the creator of ZK, the server-side GUI framework for writing ajax apps with “no javascript and little programming”. ZK has some similiarities to Echo2 and GWT, though Tom Yeh, the creator, discusses the differences: on Echo2: Echo2 assumes UI designers are Swing programmers, while ZK assumes they are Read the rest…

Posted by Rob Sanheim at 9:44 am
3 Comments

++++-
4.1 rating from 49 votes

Friday, June 16th, 2006

JSON Serialization is the new XML Serialization

Category: Java

We like angle brackets, but sometimes { key: value } is our friend. We are seeing a lot of projects coming out to help with JSON serialization which we can use to send right to the browser. XStream is a popular XML library written by great developers such as Paul Hammant and Joe Walnes from Read the rest…

Posted by Dion Almaer at 2:04 pm
10 Comments

+++--
3.9 rating from 56 votes

Sun joins Open Ajax Initiative and Dojo Foundation

Category: Dojo, Editorial, Java

Sun has put its hat in the ring and joined both the Open Ajax Initiative, and the Dojo Foundation. From the press release: As part of the OpenAJAX Alliance, Sun will collaborate with over 30 other member companies and organizations to identify and consolidate best practices, reach a consensus on programming models around a reference Read the rest…

Posted by Dion Almaer at 2:01 pm
6 Comments

+++--
3.7 rating from 36 votes

Tuesday, June 13th, 2006

Java and Ajax Webinar

Category: Java, Recording

eBusiness Applications’ Dave Johnson will be presenting a live webinar tomorrow on Implementing Ajax with Java. June 14, 2006 – 2:00pm EDT, 11:00am PDT. Register here. Topics covered: What is AJAX and what are the basic technologies The basics of the Java DWR AJAX Framework What are the critical application architecture decisions How should developers Read the rest…

Posted by Michael Mahemoff at 5:00 pm
6 Comments

++++-
4 rating from 36 votes

Wednesday, May 24th, 2006

Reverse Ajax with DWR

Category: Comet, Java, Remoting

More and more, Ajax apps are using various techniques to keep content fresh in the browser. Essentially, we’re talking about reversing the usual communication flow- the server notices something’s happened, and wants to tell the browser about it. Server “calls” browser, not browser calls server. The popular Java Ajax framework, DWR, recently released milestone 2 Read the rest…

Posted by Michael Mahemoff at 4:38 pm
16 Comments

++++-
4.1 rating from 121 votes

Friday, May 19th, 2006

Java Posse Interviews: Google and Sun Toolkits

Category: Google, Java, JavaScript, jMaki, Recording, Toolkit

The Java Posse has been busy at JavaOne and recorded a couple of interviews on the high-profile Java+Ajax toolkits we’ve mentioned recently. Two Interviews about AJAX. The First is with Brett Taylor of Google about the just-announced red-pill project (also known as the Google Web Toolkit) and the second with Greg Murray of Sun … Read the rest…

Posted by Michael Mahemoff at 2:24 pm
8 Comments

+++--
3.7 rating from 32 votes

Thursday, May 18th, 2006

Sun Announces Ajax Widget Wrapping and JavaScript App Server

Category: Ajax, Java, JavaScript, jMaki

Over the past week, Sun has made two very interesting announcements. First, at our own Ajax Experience event, Sun announced jMaki. Created by Sun’s Ajax guru Greg Murray, jMaki (Maki is Japanese for “wrap”) provides a simple API for embedding disparate JavaScript widgets into a Java web application. jMaki is all about enabling Java developers Read the rest…

Posted by Ben Galbraith at 1:56 am
11 Comments

+++--
3.8 rating from 51 votes

Wednesday, May 17th, 2006

Google Web Toolkit: Ajax Apps from Java

Category: Google, Java, JavaScript, Toolkit

Google has released Google Web Toolkit (GWT), a code generation framework that lets you code Ajax apps in pure Java. It’s not unlike Echo2, the open-source framework from NextApp. A compiler performs the Java-to-Javascript translation. Use your favorite Java IDE to write and debug an application in the Java language, using as many (or as Read the rest…

Posted by Michael Mahemoff at 3:39 am
24 Comments

+++--
3.5 rating from 109 votes