This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have been assigned a task to convert a java standalone application to python web application.Recoding the entire module in python language would take a lot of time and effort.Hence I was adviced to do a quick wrap up of python and get the code working (Jython is Python wrap for JAVA )..Could any one guide me how to get started as I am new to Python as well as Jython?
Hmmm. I'm not sure Jython helps you at all here. Jython is a Python interpreter written in Java; it lets you run Python code inside a Java application. What you want to do is quite the opposite, if I understand you correctly: you want a Python application -- the web container -- to run some Java code. If the Java code just accepts command-line arguments and spits out some output in a file or on standard output, this would be fairly simple -- you could use use call from the Python subprocess module -- but if the Java program has a GUI, it's going to need to be substantially modified for you to be able to make this work.
Thank you for the reply.You've understood my requirement correctly.My application has made use of java swing GUI.You have mentioned it would require substantial modifications to make the application work.Could you throw some light as to what kind of modifications are required and how do I proceed.Currently java swing GUI makes use of lot of JTables and JTabbedPanes.
author and iconoclast