File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes OO, Patterns, UML and Refactoring and the fly likes how to represent this Flow in form of UML Class Diagram Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "how to represent this Flow in form of UML Class Diagram" Watch "how to represent this Flow in form of UML Class Diagram" New topic
Author

how to represent this Flow in form of UML Class Diagram

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi ,
I am new to UML class diagrams , still learning the basics .
I have a servletContextListener under its contextInitialized Method , it is creating a Thread Object .

Please tell me how to represent this Flow in form of UML Class Diagram

Can i use Servlet class and Aggreation Association to represent this ??

Please share your valuable ideas . Thanks .


Save India From Corruption - Anna Hazare.
Eduardo Yañez Parareda
Ranch Hand

Joined: Oct 09, 2008
Posts: 92

If you want to represent that your "servletContextListener under its contextInitialized Method , it is creating a Thread Object . " you need a Sequence diagram, because
is there where methods are shown.


http://serfj.sourceforge.net - Simplest Ever REST Framework for Java
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Thanks for the reply , but i am talking about Class Diagrams only . could you please tell me how to do this with Class Diagrams . Thanks .
Eduardo Yañez Parareda
Ranch Hand

Joined: Oct 09, 2008
Posts: 92

Ravi Kiran Pattu wrote:Thanks for the reply , but i am talking about Class Diagrams only . could you please tell me how to do this with Class Diagrams . Thanks .



You can't. In class diagrams you cannot represent calls between methods. If you only want to represent relationships between those objects, then, as you
said in your first post, you can use Servlet class and aggregation association.
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Thanks .
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to represent this Flow in form of UML Class Diagram