Sorry if these are silly questions, but I'm not very familiar with some of these technologies. So what you propose is that Pig would be installed on some dedicated server machine and a web server would be placed in front of it. Then client libraries would be developed that made calls to the web server. Would these client side libraries include presentation in the browser, both for user's submitting queries and receiving results? Also, pig currently does not have a server mode, thus any web server would have to spin off threads that ran a pig job.

If the above is what you're proposing, I think it would be great. Opening up pig to more users by making it browser accessible would be nice.


On Apr 3, 2009, at 5:36 AM, nitesh bhatia wrote:

Since pig is getting a lot of usage in industries and universities;
how about adding a front-end support for Pig? The plan is to write a
jquery/dojo type of general JavaScript/AJAX library which can be used
over any server technologies (php, jsp, asp, etc.) to call pig
functions over web.

Direct Web Remoting (DWR- ), an open
source project at gives a functionality that allows
JavaScript in a browser to interact with Java on a server. Can we
write a JavaScript library exclusively for Pig using DWR? I am not
sure about licensing issues.

The major advantages I can point is
-Use of Pig over HTTP rather SSH.
-User management will become easy as this can be handled easily using any CMS


Nitesh Bhatia
Dhirubhai Ambani Institute of Information & Communication Technology

"Life is never perfect. It just depends where you draw the line."

visit: - connecting through music - lets volunteer for better tomorrow - Voice opinions, Transact easily, Have fun

Reply via email to