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: 1 - Pages: 1  
Threads: [ Previous | Next ]
  Click to reply to this thread Reply

JAXCENT: AJAX in Java (no JavaScript)

URL: http://www.jaxcent.com/

At 6:48 PM on Mar 16, 2007, Desiderata Software wrote:

Well, OK, AJAX does stand for "Asynchronous JavaScript and XML"!

But it has really come to mean in-place browser updates. So in keeping with that usage, Desiderata Software is pleased to introduce a "No JavaScript, just Java" version of AJAX.

Jaxcent is a Java API for Internet Explorer, that exposes the DOM model in Java. HTML elements can be controlled, event listeners can be added, pages can be navigated, HTML can be parsed, colors can be changed, elements can be inserted, removed, changed, things can be hidden/shown, sizes can be changed... you get the idea. All from Java.

Of course, naturally, this is not the "sandbox" Java of your grandfather's time. So Jaxcent is not really suitable for general purpose web sites where anybody can wander in and browse.

On the other hand, for trusted environments where Jaxcent is suitable, it gives you full control and power over Internet Explorer, entirely in Java without any need to resort to JavaScript.

You can use any data retrieval technique to populate elements of your web page. Your Java program could be generating the data (as the clock samples in the evaluation kit show), or it could be going to a web-site to refresh the data. You can use Jaxcent APIs to fetch data as text or as another DOM tree, or you can integrate Jaxcent with other tools such as databases or XML parsers for fetching your data.

To download a free evaluation kit, please visit

http://www.jaxcent.com/

For your convenience, Jaxcent Javadoc is available right from the website.

Don't forget to run the samples provided in the evaluation kit!
1 . At 11:34 AM on Feb 10, 2008, Desiderata Software wrote:
  Click to reply to this thread Reply

Re: JAXCENT: AJAX in Java (no JavaScript)

Note: The message above is obsolete now, because Jaxcent2 is fully internet capable, cross browser and cross platform! The API is similar to V1, and allows doing AJAX in Java. A single JavaScript include statement needs to be added to HTML content.

Jaxcent requires very little new learning for Java programmers, because it is a thin AJAX API, and just wraps HTML tags into AJAX classes.

Jaxcent can be used to AJAX-enable existing web applications peacemeal, one page at a time, without affecting the existing parts.

For writing new applications, Jaxcent uses AJAX to automatically handle form-data management in session, and provides access to session and context to integrate AJAX with other Java Application Server paradigms.

Jaxcent2 is open-source, and is available free at http://www.jaxcent.com/

thread.rss_message