I need to document a Java project. I am a C# Programmer and Systems Analyst. But I am new to Java.
I have the directories checked out of SVN.
These directories include the source directories, WEB-INF and other files required for definition of the project, classpath etc.
I understand that the files essentially belong either of the following three categories
The project is (as most Java projects are) an Eclipse based project designed to be hosted on Tomcat.
Now, give the above information I have decided to document the entire project into three different documents
Or alternatively I could create a single document with three sections that explain 1-3 above.
Now, questions
Any additional info will be of use.
Thanks a ton in advance
Java Documentation. Whether you are working on a new cutting edge app or simply ramping up on new technology, Java documentation has all the information you need to make your project a smashing success. Use the rich set of code samples, tutorials, developer guides, API documentation, and more to quickly develop your prototype...
Almost all these Java projects have source code and database in the download file. In addition to source code and database, many projects are also available with project documentation, report, and paper presentation (ppt).
Projects available for download with project reports and documentations have SRS including objectives and scopes of the project, users of the proposed system and their role, system design explanation, functional and non-functional requirements, etc. Also, you can find system design diagrams and project screenshots in the documentation.
These can be downloaded in Eclipse, Netbeans, and Myeclipse IDEs with Source Code and Documentation for Academic and Final Year Projects. List of Free Java Projects, Java Mini Projects Developed in Core Java, Servlet, JSP, Struts, Spring, Netbeans and Hibernate Technology with Source Code, Database and Documentation Download.
I think you're on the right track. In a project you need to address three documentation needs
User Documentation This include a document stating what the application is about, and how to start it/access ut.
Development Documentation This includes at least the Javadocs, a description of the source code directory structure, the build process (ie, how to compile the project), compiler time dependencies, development standards, how to set up a database for development, and how to get the source code from the repository. These are the minimum you need to get others to work in your project. Additionally as the project complexity grows I like to put together a series of "How To" for common tasks in the system (ie: "How to leave an Audit Trail for a given Operation", "How to use the Logging framework", "How to manage exceptions", etc), a description of the main Domain classes and their relationship. If you use a database, and the database schema is not exactly one-on-one with the domain classes, I'll add a schema documentation.
Deployment Documentation This is basically the installation manual of the application, describing any steps needed to make it run: putting the WAR in Tomcat, running scripts against a database, configuration files that needs to be modified, etc,etc.
As you see, you already partially addressed two of them. Start small and simple, and add the rest as the need arises.
It also helps to check if your organization has any documentation standard.
Try Javadocs link. Written with proper planning, it will address all your points above.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With