|Home > Apache Geronimo Development > Index > Using Dojo in Geronimo|
Dojo is a popular open source AJAX library made available under the BSD and Academic Free licenses. It provides many useful browser widgets such as tree, table, etc. Dojo is currently being introduced into the Daytrader application and the Geronimo administration console to enhance the user interface. See http://dojotoolkit.org/ for more about Dojo.
Geronimo's Dojo plugin provides web applications with a shared copy of the Dojo files. Installing the plugin makes the Dojo files available in the context "/dojo", and the HTML for referencing the library from any web application deployed in that server would look like:
The debug views in the Geronimo administration console use the Dojo plugin. So if the debug views are installed and activated then the Dojo files should already be available in the server at the "/dojo" context. Otherwise, you can manually install the Dojo plugin using the deploy.sh command line tool or the Plugins portlet in the administration console.
To see which version of Dojo is currently available in the server look for "dojo.version" in http://localhost:8080/dojo/dojo/dojo.js.