Calling EJB from a scripting language

Discussions

General J2EE: Calling EJB from a scripting language

  1. Calling EJB from a scripting language (2 messages)


    Are there any scripting languages from which EJB can be
    invoked.

    EJB can be called from JavaScript, but that can only run
    on a browser.
  2. Calling EJB from a scripting language[ Go to top ]

    You could probably use JPython and the Python language. JPython is a ava runtime implmentation of the python language and actually produces Java bytecode that will run in the JVM, thereforte it is theoretically possible to interoperate between python and java. I think there may also be a similar approach to JavaScript...

    The ultimate question is why?
  3. The answer is: use Web Services!

    Also, JavaScript does not need a browser. Microsoft makes available a script host that can run Javascript from the command line. See here, I think.