Joined: Dec 09, 2000
Can people list practical applications for jython? So far- I see it as a prototyping type language. You can get something out the door fast, but its not a "production" app. Or are there some other applications that it might be suited for- how does it work with web and ejb containers?
Joined: Jun 21, 2001
Hi, Actually, i am not very familiar with Jython at this moment and all my opinion comes from a view of a python and Java programmer. Bill may have more accurate answer whether Jython is a definite for Java developers. I am not very sure how Jython can be helpful in servlet,jsp and ejb development. However, if you were going to crank up a cgi scripts and also use some classes you have developed before or to use some excellent classes in jdk, all you need is a unix machine(apache, python and perl) comes as default with jdk. You will be able to get the site up and running in no time(over exagerated). Of course Java can do the same job, with some extra steps. Maintenance is also another issue. As a natural response, if you know python and java to certain extend, you will automatically pick up Jython in a short time. I am sorry that i don't have a definite answer for you questions. I am also eager to find out how Jython can be used in servlet/Jsp/ejb. Regards,
It is hard to see Jython's niche. The problem is that Python itself is a full-featured, general programming language suitable to most tasks. Does that mean Jython is suitable to any task? Actually, because Jython has full access to Python and Java, it fits a huge number of situations. However, what I would encourage is thinking of Jython as an ideal compliment to Java. It works great as a server-side scripting language inside Java servers. It is excellent for unittesting and for interactive evaluation and testing of Java classes. Embedding Jython in Java applications as a means of automation or extension is very common and successful. Jython is great for prototyping, and quickly writing guis.