We have a DLL that performs some proprietary calculations on data passed to it. A new client wants the same calculations, but in Java. I think I can manage to write the code (read comma delimited file, make calcs for each row, output results to a file). Do I just compile it as a class? If I want to test it how do I access it's methods and properties from another class that incudes Main().
Also, is it possible/difficult for the client to decompile the class and get to our proprietary calculations.