Forum Controls
Spotlight Features

The Rich Engineering Heritage Behind Dependency Injection

Andrew McVeigh takes us on a tour of the rich heritage behind dependency injection, what it represents, and tells us why its here to stay.

NetBeans 6: Matisse Updates

NetBeans 6 delivers great updates to the Matisse GUI builder. Spend a few minutes with Roman Strobl and get an expert briefing on what's new and what has changed.

Introduction to Groovy Part 3

In this, the third and final installation of Andres' Introduction to Groovy series, you learn about how Groovy handles variable numbers of arguments, named parameters, currying, and more about Groovy operators. Including, some new operators.

Easier Custom Components with Swing Fuse

Swing Fuse (actually just Fuse), is a framework designed to make it easier to create your own custom desktop components. In this article, Daniel Spiewak shows you how to get started and provides sample source code you can download.

Benchmark Analysis: Guice vs Spring

Willam Louth shows how he uses JXInsight Probes to investigate probable performance issues with code bases that he is not familiar with. He also highlights possible pitfalls in creating a benchmark, as well as in the analysis of results.
Replies: 0 - Pages: 1  
  Click to reply to this thread Reply

JSON-RPC - Good alternative to submit and reload

At 11:47 AM on Jan 26, 2005, Anand B N wrote:

A lot of the times we have cases in web-applications where based on the user's selection, you either have to display in another part of the page,something else, or populate a table etc. Most of the time we end up either submitting the page and reloading or use some kind of hidden frame and submit and get back the results.

A lot of times that's probably good considering that you won't post again. But JSON-RPC seems like a good alternative to this wherein you can bridge your Javascript calls to Java objects etc. and using DHTML tricks do prety much a lot without having to submit your page.

Though the constraints that this framework puts on your objects, arrays etc. are a bit irritating to work on, it's probably a good alternative to small server-side logic tht might be done through this. An defintely the security bit is not developed so it not be usable for security centri applications. But for small intranet applications don't see why you can't think of it as an alternative.

How do I fit this into a Struts/JSF based application is an open question.

thread.rss_message