最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

java - Tutorials for Mozilla Rhino - Stack Overflow

programmeradmin4浏览0评论

Can any one suggest a good tutorial for Mozilla rhino. What i want to do is to validate a form in java swing with javascript.
The official tutorial page on the mozilla website is not clear about actual coding, it only shows its features in code fragments.

There was also a page about scripting java inside javascript. Would it be better to use it instead of JSP for small applications, personally i didn't like java in web development compared to PHP.

Can any one suggest a good tutorial for Mozilla rhino. What i want to do is to validate a form in java swing with javascript.
The official tutorial page on the mozilla website is not clear about actual coding, it only shows its features in code fragments.

There was also a page about scripting java inside javascript. Would it be better to use it instead of JSP for small applications, personally i didn't like java in web development compared to PHP.

Share Improve this question asked Mar 17, 2012 at 4:40 Abhinav KulshreshthaAbhinav Kulshreshtha 2,2052 gold badges24 silver badges38 bronze badges 0
Add a comment  | 

2 Answers 2

Reset to default 13

The best thing to do is play with the examples supplied.

Also, I have found these to be helpful:

  • If you are on windows this is how to setup your environment and a simple intro (having you compile and run your first file).

  • This talks about how Rhino ECMAScript Engine is part of Java6 and how to leverage Java and scripting with the Java Scripting API.

  • This video from Google IO 2008 was very helpful

  • Rhino absolutely depends on one's inclination and interest in Java and JavaScript.

not easy to find a good tutorial. You can check the Chapter 12 of the book "Javascript: The Definitive Guide 6th Edition", to get some very good insights. But, if you don't like java I think it's going to be a nightmare.

发布评论

评论列表(0)

  1. 暂无评论