well, this question maybe so silly, but i need to know..
i have to make an application with client-server system with java (client application for on android and server application for on PC) and i asked to make the class diagram for both in one class diagram (not seperately).
so my question is, can i make class diagram of both application into one class diagram? because i know, there are different application so must make the class diagrams seperately.
thank you

Yes, you can. They are two programs, but thoise are just different parts of the overall single application, and the class diagram should show the relationships between the client and server parts.

Hi Narino,
In practice, yes, two diagrams relating to two modules are designed seperately. It respects some kind of the best practice of "separation of concern". That said, it depends on what you want to do with your class diagrams. As James explained, if you plan to generate some code from your diagrams, it makes sense to put them all together as they are part of the same application. But if you plan to document your application, it's often much easier to export diagrams when they aren't too big, for example to fit in a web page. In that case I would make the diagrams seperately. If you don't have a real modeler yet, take a look at GenMyModel (http://www.genmymodel.com), it's an online modeler producing UML-compliant models and it can both generate code and export images. It does everything in your web browser and it's a free beta.
Hope this helps,

This article has been dead for over six months. Start a new discussion instead.