I guess I'd go with 2 or 3 - where 3 maybe has the caveat that you have to have another server running. I made some good experiences using jQuery with jsonp, it's especially useful if you directly return json encoded results, our wiki [1] h