JavaONE made many references to web services and AJAX, but I haven't found a simple tutorial on how to get started. I've got a lot of static stuff, but now I'd like to try doing some dynamic stuff.
In J2EE1.5 it's apparently easy to make web services just be adding a few annotations, but that's still in the future. For now, presumably I'd just need to have the web service call a servlet that returns xml?
I heard that one of the webapp frameworks used a library called dojo, but I don't know what it is.
So, possible capabilities I'd like:
- sort table without hitting server
- have struts form on page which submits by itself without needing to get info to redisplay the rest of the page. This may be overkill, but I think of this as iframes without iframes.
- have struts form that allows the user to add new text fields to a list of fields without hitting the server. For instance, if I have 3 fields, each of which has an arbitrary length list of parameters (which are text fields) then the user should be able to add new parameters without needing to hit server again.