aspose file tools*
The moose likes Java in General and the fly likes Call a JacaScript function from Java Bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Call a JacaScript function from Java Bean" Watch "Call a JacaScript function from Java Bean" New topic
Author

Call a JacaScript function from Java Bean

Rudradutt Joshi
Ranch Hand

Joined: Dec 06, 2008
Posts: 45

Thanks for giving your time,

I need to call a JavaScript Function from my java Bean, and JS function will return some value. Please any body can give me some IDEA.
Charles Lyons
Author
Ranch Hand

Joined: Mar 27, 2003
Posts: 836
Java 6 has built-in support for JavaScript; for example, see Sun's Java Scripting Programmer's Guide. This is in fact just the Rhino engine bundled in with the JRE, so on earlier versions of the platform you can just download and use that library directly.


Charles Lyons (SCJP 1.4, April 2003; SCJP 5, Dec 2006; SCWCD 1.4b, April 2004)
Author of OCEJWCD Study Companion for Oracle Exam 1Z0-899 (ISBN 0955160340 / Amazon Amazon UK )
Rudradutt Joshi
Ranch Hand

Joined: Dec 06, 2008
Posts: 45

Thanks for your Help.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Call a JacaScript function from Java Bean
 
Similar Threads
why call a local stateless bean?
To call a function
Usage of EJB - Need clarification
How to call Javascript function from an Application.
How to call Javascript function from managed bean