I'm looking into developing Web clients for alfresco and I have read a lot on webscripts. I have recently learned that aside from webscripts you can also create Javascripts and put them into the Data dictionary's Script repository.
What are the main difference between Web scripts and Java scripts and why would people chose on rather the than the other (pros and cons)?