Archive

Archive for May 12, 2006

Direct Web Remoting

May 12, 2006 Leave a comment

Introduction to Ajax and DWR

There are a number of documents to help you get started with DWR. If you are new to Ajax, you can start with the introduction to Ajax and then the overview of DWR.

There is a basic getting started guide which shows how to install DWR and to view your first page. There is then a series of examples to demonstrate basic functionality, some hints and tips, and a page on common errors and how to fix them.

Outside of this site there is a growing collection of tutorials from around the web and several people are giving talks and seminars about DWR.

Reference Documents

The detailed servlet configuring options is in the WEB-INF configuration.

The dwr.xml section explains about Converters, Creators and Signatures in detail. This section is a must read for understanding what you can do with DWR.

From DWR 2.0 (currently in development) you can also configure DWR using Annotations.

There is also a small collection of generated documents from things like JavaDoc.

Scripting the Browser

The scripting introduction gets you started with how to write Javascript code to call your Java code. DWR comes with 2 Javascript libraries to help you:

  • engine.js: Handles all server communication
  • util.js: Helps you alter web pages with the data you got from the server (and a few neat extras too)

DWR is not a generic Javascript library so we try to steer clear of functions that are not specific to remoting functionality, however there are a few functions that sneak into util.js to make life a lot easier.

It is common to need to pass extra data to callback methods and there is also a reference to how to handle errors too.

Integration

DWR integrates with a large number of other projects. A common query is how to get at servlet objects like HttpServletRequest, which is explained in accessing servlet objects. DWR comes with some integration with Spring and Hibernate and there are notes on integrating with Struts too.

Externally, there is some information about integrating DWR with AppFuse written by Life as a struct.

In addition there are a number of projects that complement or compete with DWR that you can find out about in related projects.

Other Documents

Things that don’t fit into any of the above categories:

A table of contents without descriptions follows:

Categories: Uncategorized

Direct Web Remoting

May 12, 2006 Leave a comment

Introduction to Ajax and DWR

There are a number of documents to help you get started with DWR. If you are new to Ajax, you can start with the introduction to Ajax and then the overview of DWR.

There is a basic getting started guide which shows how to install DWR and to view your first page. There is then a series of examples to demonstrate basic functionality, some hints and tips, and a page on common errors and how to fix them.

Outside of this site there is a growing collection of tutorials from around the web and several people are giving talks and seminars about DWR.

Reference Documents

The detailed servlet configuring options is in the WEB-INF configuration.

The dwr.xml section explains about Converters, Creators and Signatures in detail. This section is a must read for understanding what you can do with DWR.

From DWR 2.0 (currently in development) you can also configure DWR using Annotations.

There is also a small collection of generated documents from things like JavaDoc.

Scripting the Browser

The scripting introduction gets you started with how to write Javascript code to call your Java code. DWR comes with 2 Javascript libraries to help you:

  • engine.js: Handles all server communication
  • util.js: Helps you alter web pages with the data you got from the server (and a few neat extras too)

DWR is not a generic Javascript library so we try to steer clear of functions that are not specific to remoting functionality, however there are a few functions that sneak into util.js to make life a lot easier.

It is common to need to pass extra data to callback methods and there is also a reference to how to handle errors too.

Integration

DWR integrates with a large number of other projects. A common query is how to get at servlet objects like HttpServletRequest, which is explained in accessing servlet objects. DWR comes with some integration with Spring and Hibernate and there are notes on integrating with Struts too.

Externally, there is some information about integrating DWR with AppFuse written by Life as a struct.

In addition there are a number of projects that complement or compete with DWR that you can find out about in related projects.

Other Documents

Things that don’t fit into any of the above categories:

A table of contents without descriptions follows:

Categories: Uncategorized

May 8 – May 12, 2006

May 12, 2006 Leave a comment

It’s E3 time again in Los Angeles where a game-mad crowd goes wild. Engadget spotted the new Dell gaming boxes—but there are no specs, so is this just an attempt to justify the investment in Alienware? Meanwhile Alienware lost no time blasting out game notebooks with wireless that’s even faster than wired. Microsoft’s coming out with an HD DVD player for Xbox 360 this holiday—but no specs on that either. Sony is throwing gamers a PlayStation 3 console the size of a waffle iron (via Kotaku) though Engadget has sticker shock over the $500 price for a crippled version.

 Also new at E3: Nintendo’s Wii controller with built-in speaker for nearly 3D sound; the Xbox 360 Live Vision, headset and racing wheel Logitech’s G25 steering system; and the Xbox 360 can take your mug shot and superimpose it on your on-screen avatar—creepy. Resident Evil 4 is headed for Wii and get ready for Grand Theft Auto 4 in October 2007. Engadget and Joystiq editor Vlad Cole wraps up Tuesday’s Nintendo, Microsoft and Sony action with a podcast here and Kotaku has Day One photos from the floor.

The other L.A. story: the juggernaut continues. MySpace rolls out a new, ad-supported IM product to compete with AOL writes Micro Persuasion. Mashable! has a review and screenshots. Meanwhile Paidcontent blogs that Microsoft’s Windows Live Messenger has been tested by millions and is now in public beta, while TechCrunch reviews the AIM MySpace Killer that AOL doesn’t know how to profit from just yet.

 Other Web 2.0 shorts: TechCrunch calls it Seth Godin’s purple albatross and explains why Squidoo won’t work. Scott Blum, founder of Buy.com launches a new video startup. Tech memeorandum becomes techmeme. This year’s Webby Awards go to… the same old same old. And here’s a first in the blogging world: The NBA fined Mavericks owner Mark Cuban $200,000 for criticizing league officials on his blog reports Blogebrity.

Google Press Day happened Wednesday and despite an initial lack of wifi in Mountain View, Om Malik tried to get some early word out on his Crackberry. For those who couldn’t be there, Niall Kennedy wraps up new Google products like Google Co-op (social search and tagging), Google Desktop 4, Google Trends (on-demand Zeitgeist), and Google Notebook (a _JavaScript scratchpad). Meanwhile as you read this, Mountain View insiders like Sergey and Larry are dumping Google stock so quickly that they’re causing a visible spike in income taxes collected by California this year: approximately 1/8th of the state’s entire $4 billion take (via Valleywag).

 Finally in entertainment, David Blaine, the guy in the giant water-filled snowglobe in New York City, nearly died trying to trying to break the world breath-hold record says Gothamist. He was 1:50 short, his skin was peeling and he was unconscious by the time divers fished him out, blogs The Superficial. Britney Spears admitted what everyone already knows to David Letterman: yes, sir she’s pregnant. But other rumors also fly: that Spears is preparing to dump hubby Federline with an out-of-nowhere divorce. Finally, Nicole Kidman still loves Tom Cruise but bloggers don’t. Did they doom M:i:III? PerezHilton.com celebrated Mission Impossible 3’s unexpectedly low opening weekend box-office sales and urged readers to boycott. Of course, it’s still $48 million film and one Scientologist bought a 500-seat block of MI:3 tickets at Hollywood’s Arclight. On the bright side for Tom: US Weekly compares his approval rating to Bush’s and notes that Tom’s is slightly higher.

Categories: Uncategorized

May 8 – May 12, 2006

May 12, 2006 Leave a comment

It’s E3 time again in Los Angeles where a game-mad crowd goes wild. Engadget spotted the new Dell gaming boxes—but there are no specs, so is this just an attempt to justify the investment in Alienware? Meanwhile Alienware lost no time blasting out game notebooks with wireless that’s even faster than wired. Microsoft’s coming out with an HD DVD player for Xbox 360 this holiday—but no specs on that either. Sony is throwing gamers a PlayStation 3 console the size of a waffle iron (via Kotaku) though Engadget has sticker shock over the $500 price for a crippled version.

 Also new at E3: Nintendo’s Wii controller with built-in speaker for nearly 3D sound; the Xbox 360 Live Vision, headset and racing wheel Logitech’s G25 steering system; and the Xbox 360 can take your mug shot and superimpose it on your on-screen avatar—creepy. Resident Evil 4 is headed for Wii and get ready for Grand Theft Auto 4 in October 2007. Engadget and Joystiq editor Vlad Cole wraps up Tuesday’s Nintendo, Microsoft and Sony action with a podcast here and Kotaku has Day One photos from the floor.

The other L.A. story: the juggernaut continues. MySpace rolls out a new, ad-supported IM product to compete with AOL writes Micro Persuasion. Mashable! has a review and screenshots. Meanwhile Paidcontent blogs that Microsoft’s Windows Live Messenger has been tested by millions and is now in public beta, while TechCrunch reviews the AIM MySpace Killer that AOL doesn’t know how to profit from just yet.

 Other Web 2.0 shorts: TechCrunch calls it Seth Godin’s purple albatross and explains why Squidoo won’t work. Scott Blum, founder of Buy.com launches a new video startup. Tech memeorandum becomes techmeme. This year’s Webby Awards go to… the same old same old. And here’s a first in the blogging world: The NBA fined Mavericks owner Mark Cuban $200,000 for criticizing league officials on his blog reports Blogebrity.

Google Press Day happened Wednesday and despite an initial lack of wifi in Mountain View, Om Malik tried to get some early word out on his Crackberry. For those who couldn’t be there, Niall Kennedy wraps up new Google products like Google Co-op (social search and tagging), Google Desktop 4, Google Trends (on-demand Zeitgeist), and Google Notebook (a _JavaScript scratchpad). Meanwhile as you read this, Mountain View insiders like Sergey and Larry are dumping Google stock so quickly that they’re causing a visible spike in income taxes collected by California this year: approximately 1/8th of the state’s entire $4 billion take (via Valleywag).

 Finally in entertainment, David Blaine, the guy in the giant water-filled snowglobe in New York City, nearly died trying to trying to break the world breath-hold record says Gothamist. He was 1:50 short, his skin was peeling and he was unconscious by the time divers fished him out, blogs The Superficial. Britney Spears admitted what everyone already knows to David Letterman: yes, sir she’s pregnant. But other rumors also fly: that Spears is preparing to dump hubby Federline with an out-of-nowhere divorce. Finally, Nicole Kidman still loves Tom Cruise but bloggers don’t. Did they doom M:i:III? PerezHilton.com celebrated Mission Impossible 3’s unexpectedly low opening weekend box-office sales and urged readers to boycott. Of course, it’s still $48 million film and one Scientologist bought a 500-seat block of MI:3 tickets at Hollywood’s Arclight. On the bright side for Tom: US Weekly compares his approval rating to Bush’s and notes that Tom’s is slightly higher.

Categories: Uncategorized