Dr. Dobb's is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them. Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Channels ▼

Open Source

Jaxcent,"AJAX in Java" for the Internet Released

Desiderata Software has released Jaxcent 2, a freely available Java API for accessing and modifying Document Object Model (DOM) of browsers.

Version 2 is an unrestricted Java API for doing full-fledged AJAX operations. It can be run on the open Internet instead of being restricted to intranets. The Java of Jaxcent now runs on the server side, and still gives Java programmers full control over the client's DOM hierarchy. On the client side, all that is required is to add a single JavaScript include statement to existing HTML content, then the resulting page can communicate with Jaxcent on the server.

On the server side, Jaxcent works with standard Java servlet containers and provides classes that correspond to elements of the Document Object Model (DOM), and that can be instantiated to match HTML elements existing (or dynamically created) on the page. These classes provide methods for interacting with the HTML elements, and for receiving events originating from the HTML elements, all in Java. In addition to dynamic interactions with the HTML elements, Jaxcent also provides access to the session and application context, as well as entirely automatic session data management.

You don't need to rewrite existing applications to take advantage of Jaxcent. Using Jaxcent, as needed, one or more AJAX features can be added piecemeal to one or more pages without any need to modify the structure or specifics of the overall application.

Jaxcent works with AJAX capable browsers, such as Internet Explorer 6, Internet Explorer 7, and Firefox. Jaxcent is written entirely in Java and JavaScript, and therefore is operating system independent. Jaxcent programmers do not need to work in JavaScript. Jaxcent will work with any existing JavaScript code, and it provides features to take advantage of JavaScript if desired, but primarily Jaxcent programming is all-Java and no-JavaScript programming.

Jaxcent Version 2 is available for free downloads at www.jaxcent.com.


Related Reading

More Insights

Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dr. Dobb's encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dr. Dobb's moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing or spam. Dr. Dobb's further reserves the right to disable the profile of any commenter participating in said activities.

Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.