Java – Mozilla rhino tutorial
Any one can provide a good tutorial for Mozilla rhinoceros What I want to do is use JavaScript to validate the form in Java swing
There is also a page about script Java in JavaScript For small applications, it's better to use it instead of JSP. Personally, I don't like Java in web development compared with PHP
Solution
The best thing is to play with the examples supplied
In addition, I find these helpful:
>If you are in windows this is how to setup your environment and a brief introduction (you compile and run your first file). > This will introduce rhino ECMAScript engine is part of java6 and how the JavaScript API makes use of Java and scripts. > This video from Google IO 2008 is very helpful. Rhinoceros absolutely depends on its interest in Java and JavaScript