I am in a situation where I have a web application that I have to provide class diagrams for. My only concern is the
java code right now...
Our package is made up with the following subpackages
biz package - Located here would just be objects with getters and setters. Lets say a Person class. There would be getters and setter for weight, height, shoe size, age, etc..
beans package - Located here would be code that is used to manipulate objects in our biz subpackage. Let's say a PersonBean. It would have methods like getPersonFromDatabase, this would take in some kind of identifier to retrieve this person from the database and populate the Person object. There might be other mehtods like deletePerson, and addPerson. Those 2 methods would take in a Person object and delete or add a person to the database.
servlets package - This would have all of our servlets that are used for things like when people submit forms.
utils package - This would have all kinds of utilities in it like checking for nulls when using a variable or even a Tester for each bean created. Example: PersonBeanTester. This would have code that would
test each of the methods in the PersonBean...
I know it might not sound like the most traditional way to do things, but that is what we are working with and I was trying to find out how to create class diagrams based on that.