Folks,
We plan to convert all our .NET C# code into Java. It is about 900K lines of source code and is organized under various projects. While programming in Java itself would most likely not be an issue, organizing the code would be important. I would appreciate your help in enlightening a .NET guy into Java world.
Under .NET, reusable code is stored in "DLL" type projects. You can create multiple applications (.exe files) that may reference one or more of your DLLs.
If you use Visual Studio, all your projects (those that build DLLs and those that build EXEs) can be grouped into what is called as a "solution." When you build a solution, all the projects are built in the proper dependency order.
I am guessing the equivalent of a DLL is a .jar file under Java.
Q1. Under Eclipse, do you create one project for each "jar" type output?
Q2. Under Eclipse, is "workspace" the closest to .NET "solution?"
Q3. We we install the application, all the jar files will not be copied in the same directory. Depending on the purpose of jar files, they will get copied to various subdirectories under installation folder. Is there a config file that can be created to let the main application know the location of various jar files?
Q4. Is there a good book on organizing Java projects (with or without Eclipse)?
Q5. Are there any articles on Java programming best practices?
Thank you in advance for your help.
Regards,
Peter

