I have something like 43000 lines of code in PHP which should be ported onto [url removed, login to view] 30,000 of this is actual code, arranged in classes, with an object oriented [url removed, login to view] we need is a direct port of each class to Java: i.e. a more or less direct line-by-line translation of the code, tweaked where necessary to work in a J2EE environment. The application depends on MySQL and part of it depends on an extension for generating Excel files and some external libraries for HTTP and XML, and it uses the Reflection API to generate its own client code. Most of the existing code is loops, database and string handling. The logic doesn’t need changing.