• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

java or javascript or jython

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i am java programmer and dont know anything about jython.is it something like javascript used in webbrowser or is it something like jsp.
what are its use and advantage?
thanks in advance.
 
author
Posts: 3252
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I would not compare it to JavaScript -- if anything, compare it to Perl or PHP, if you are familiar with these languages. Or indeed Java itself, be it that the language is somewhat higher level and less rigid.
Another similarity with Java is that you can compile Jython down to bytecode. Jython classes can extend Java classes and vice versa (with a few limitations). It is a real, full-blown programming language unlike JSPs which are just a fancy way to write Java servlets.
So why Jython, then? Well, for example, you may want to add scriptability to your application. Jython as a high level language is ideal to glue together the larger building blocks written in Java. In case you're wondering whether this is useful, consider Microsoft Office (VBA), or Emacs (elisp), most databases... all these become much more powerful by having an embedded scripting language.
- Peter
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic