Which JavaScript library do you recommend using with Java EE + Struts + iBatis?

Which JavaScript library do you recommend using with Java EE + Struts + iBatis? Something like Ext JS, Dojo, frameworks that can be easily integrated with Struts.

+1


source to share


4 answers


There is a framework that should pair well with Java Server / Middleware called JSON-RPC

However, I have never used it and cannot vouch for it. Also, my favorite framework is cough jQuery



edit after learning more in depth, JSON-RPC is not exactly what you are looking for .. but can still be useful for learning ya;)

+2


source


Here's a good article on Dojo for Java Developers .



+2


source


You should choose a Javascript library based on what you expect from the library, not based on server libraries. Typical JS libraries (Ext JS, JQuery, Prototype, Dojo, YUI, etc.) run in the browser and have no dependency on server technology.

If you're looking for a way to use your POJO server from javascript have a look at DWR . This library is now part of the dojo framework, but I used it with ease with jQuery and Prototype.

+2


source


will prompt you to switch to Struts 2. It is built into the dojo and also has options to include other libraries such as prototype, jquery, gwt, yui, etc.

This should be pretty handy since you are using Struts as your web tier.

0


source







All Articles