Java


Thursday, December 27th, 2007

Interviewed on GWT, Gears, Java, and JavaScript

Category: Ajax, Gears, Google, GWT, Interview, Java, JavaScript

Reposted from my blog. I had the pleasure of finally meeting Didier Girard. I seem to run across Didier’s work every week or so, but for some reason we haven’t had a chance to meet face to face, until JavaPolis. Didier sat down with me to talk about GWT, Gears, Java, and JavaScript, and I Read the rest…

Posted by Dion Almaer at 7:48 am
Comment here

+++--
3.7 rating from 28 votes

Wednesday, December 19th, 2007

Comparing the evolution of Java and JavaScript

Category: Articles, Java, JavaScript

Java and JavaScript share the first four letters of their name, and have an entangled past. Joe Walker has an interesting little take on the evolution of the languages that shows some mirror images such as: It’s interesting that the current simple version of JavaScript already has the features (i.e. closures) that people want to Read the rest…

Posted by Dion Almaer at 7:46 am
8 Comments

+++--
3.7 rating from 21 votes

Thursday, December 13th, 2007

LightsOut: JavaFX Script Game

Category: Java

Joshua Marinacci, of Sun, has been playing with JavaFX Script. As a way to learn the new language he developed: Writing this game really taught me the Zen of JavaFX Script (hmm… sounds like a good book title). I often have to fight my procedural Java instincts and instead use binding and triggers wherever possible. Read the rest…

Posted by Dion Almaer at 6:06 am
4 Comments

++---
2.9 rating from 25 votes

Monday, December 3rd, 2007

Filtering JavaScript From HTML Content with AntiSammy

Category: Java, Security

Jason Harwig has posted about AntiSamy, the Java 1.5 compatible library that sanitizes away: < View plain text > java AntiSamy sanitizer = new AntiSamy(); CleanResults results = sanitizer.scan(request.getParameter("html")); String html = results.getCleanHTML(); if (!results.getErrorMessages().isEmpty()) {     log.warn("Input contains erorrs"); } I gave a JavaScript security talk last month, and one of the topics Read the rest…

Posted by Dion Almaer at 5:11 am
3 Comments

+++--
3.4 rating from 19 votes

Tuesday, November 27th, 2007

Grizzly attacks: DWR’s Reverse Ajax to support The Comet Implementation

Category: Comet, Java

Jean-Francois Arcand of the Tomcat team has implemented DWR Reverse Ajax in Grizzly: The Grizzly framework has been designed to help developers to take advantage of the Javaâ„¢ NIO API. Originally developed under the GlassFish umbrella, the framework is now available as a standalone project. Grizzly goals is to help developers to build scalable and Read the rest…

Posted by Dion Almaer at 6:36 am
Comment here

++++-
4.1 rating from 23 votes

Tuesday, October 30th, 2007

Write your first JavaFX Script

Category: Java

Jim Weaver has posted a simple tutorial on writing your first JavaFX Script which discusses how you can use the JavaFX Pad to get it working. < View plain text > java /*  *  HelloJFX.fx – A JavaFX Script "Hello World" style example  *  *  Developed 2007 by James L. Weaver (jim.weaver at jmentor dot Read the rest…

Posted by Dion Almaer at 6:26 am
11 Comments

++---
2.9 rating from 25 votes

Monday, October 29th, 2007

GChart: GWT charts without JSNI, plugins, or server round-trips

Category: GWT, Java, JavaScript, Library

John C. Gunther is building a technical computing application that generates all of the data that it charts via client-side computations. He didn’t want to create the charts on the server side, and decided to use GWT to do the work for him. This is how he created GChart. To see it at work, check Read the rest…

Posted by Dion Almaer at 10:51 am
2 Comments

+++--
3.8 rating from 25 votes

Thursday, October 18th, 2007

Ken Russell on the new Java Plugin

Category: Java, Podcasts, Recording

After we posted about the news that Sun has rewritten the browser Java plugin system, we got a chance to sit down with the lead engineer on the project, Ken Russell. He got to tell us about the fun implementation issues behind the rewrite. It turns out that the new system is mostly written in Read the rest…

Posted by Dion Almaer at 10:00 am
21 Comments

+++--
3.1 rating from 113 votes

Enunciate your web APIs

Category: GWT, Java

Enunciate is an open source framework that allows you to automatically build, package, deploy, and to clearly, accurately deliver your Web service API on the Java platform. It will automatically give you multiple endpoints (SOAP, REST, JSON, GWT-RPC, etc.), generate client code, and give you full documentation. The new 1.4 release also includes support for Read the rest…

Posted by Dion Almaer at 6:59 am
1 Comment

++---
2.2 rating from 58 votes

Wednesday, October 17th, 2007

Sun has rewritten the browser Java plugin

Category: Java

Ben and I are sitting in a Sun briefing where Ken Russell of Sun is announcing that they have ground up rewritten the Java plugin in the browser. The features of the rewrite are: Improved scripting support (java/javascript integration is better) Improved reliability Supports more powerful applets (applets can ask for more memory) Better windows Read the rest…

Posted by Dion Almaer at 8:21 pm
17 Comments

+++--
3.5 rating from 45 votes

Monday, October 15th, 2007

Ajax meet OSGi: Expanding Universes Collide with Eclipse RAP 1.0

Category: Java, JavaScript, Toolkit

Ben and I have been surprised at how the universe of Ajax continues to expand. This redshift which has taken it past the browser onto the phone, the Wii, and the server is amazing. Another technology that has done a similar thing is OSGi in the Java space. It started as a component model for Read the rest…

Posted by Dion Almaer at 7:00 am
9 Comments

+++--
3.4 rating from 29 votes

Friday, October 5th, 2007

Joe Walker shows a tip from DWR.Next

Category: DWR, Java, JavaScript

I asked Joe to show us something interesting that he is playing with on DWR and he quickly obliged by showing us a new file upload and download feature that allows you to do new fancy things with files. What is cool about this is that the APIs from Java and JavaScript lands feel right Read the rest…

Posted by Dion Almaer at 7:59 am
5 Comments

+++--
3.7 rating from 19 votes

Thursday, September 27th, 2007

Flexjson 1.5: Transformers and Filters

Category: Java, JavaScript, JSON, Library

Charlie Hubbard has updated his well received Flexjson library and has released version 1.5. There are two major feature updates: Filters You can now easily include and exclude items from the JSON: < View plain text > java new JSONSerializer().exclude("*.class").serialize( obj ); new JSONSerializer().exclude("foo.*.bar.*").prettyPrint( obj ); new JSONSerializer().exclude("*.class").include("my.hobbies").serialize( obj ); new JSONSerializer().exclude("foo.phoneNumbers").include("*").prettyPrint( obj ); Note Read the rest…

Posted by Dion Almaer at 10:47 am
Comment here

+++--
3.8 rating from 15 votes

Be wary of Ajax! (So says Oracle)

Category: Ajax, Java

I found it kind of ironic that Ted Farrell, Oracle’s chief architect and vice president of tools and middleware, warned many AJAXWorld conference attendees to be wary of Ajax. So let me get this straight. You go to an Ajax-centric conference to tell the developers who are there to learn about Ajax-related technologies to be Read the rest…

Posted by Rey Bango at 6:30 am
47 Comments

+++--
3.4 rating from 42 votes

Wednesday, September 26th, 2007

jMaki 1.0 Final Release: Ajax for Java and PHP

Category: Java, jMaki, Library

Greg Murray has put the stake in the ground and released jMaki 1.0. The release comes with “bundles” for PHP and Java which you can choose on the download area. Included in the bundles: The core jMaki framework. Sample applications. Ant task for creating applications and adding widgets and necessary dependencies to those applications. All Read the rest…

Posted by Dion Almaer at 8:47 am
6 Comments

+++--
3.6 rating from 35 votes

Monday, September 24th, 2007

jabsorb: A new JSON-RPC for Java

Category: Java, JavaScript, JSON, Library

Arthur Blake (with friends) has forked JSON-RPC-Java and has created jabsorb: The project goal for jabsorb is to maintain (and hopefully improve) the practicality and beautiful simplicity that makes JSON-RPC-Java a great library, while also adding new common sense features, more test cases, and more documentation to make the library better for everyone. jabsorb also Read the rest…

Posted by Dion Almaer at 6:21 am
3 Comments

+++--
3.2 rating from 15 votes