Hi,
I would like to know whether to represent the session facade as control class or an entity class in the analysis model of UML design?
Thanks in advance.
-
UML Notation for Session Facade (6 messages)
- Posted by: shanmugasundaram chidambaranathan
- Posted on: September 20 2003 03:22 EDT
Threaded Messages (6)
- UML Notation for Session Facade by Paul Strack on September 20 2003 10:33 EDT
- UML Notation for Session Facade by shanmugasundaram chidambaranathan on September 20 2003 11:36 EDT
-
UML Notation for Session Facade by Paul Strack on September 21 2003 12:23 EDT
- UML Notation for Session Facade by shanmugasundaram chidambaranathan on September 22 2003 10:11 EDT
-
UML Notation for Session Facade by Paul Strack on September 21 2003 12:23 EDT
- UML Notation for Session Facade by shanmugasundaram chidambaranathan on September 20 2003 11:36 EDT
- UML Notation for Session Facade by Ian Mitchell on September 22 2003 11:34 EDT
- UML Notation for Session Facade by shanmugasundaram chidambaranathan on September 23 2003 00:15 EDT
-
UML Notation for Session Facade[ Go to top ]
- Posted by: Paul Strack
- Posted on: September 20 2003 10:33 EDT
- in response to shanmugasundaram chidambaranathan
Probably a control class, though if it does nothing but pass entity data back and forth, an entity might be more accurate.
Or ... invent your own "Session Facade" stereotype and use that. Accuracy is better than shoe-horning things into narrow categories. UML is flexible for a reason. -
UML Notation for Session Facade[ Go to top ]
- Posted by: shanmugasundaram chidambaranathan
- Posted on: September 20 2003 11:36 EDT
- in response to Paul Strack
Thanks for ur response.
When session facade controls the flow of invocation of various entities and also contains business validations in it, doesn't it become as a control class. -
UML Notation for Session Facade[ Go to top ]
- Posted by: Paul Strack
- Posted on: September 21 2003 12:23 EDT
- in response to shanmugasundaram chidambaranathan
When I responded to your original post, I did not notices you were asking about stereotypes for the analysis model. For the analysis model, a controller stereotype would be appropriate.
For your design model, though, you should be more accurate, because your session facade will probably not be the only kind of controller in your application. For example, you will almost certainly have controllers in your UI layer as well (such as Struts Action classes). -
UML Notation for Session Facade[ Go to top ]
- Posted by: shanmugasundaram chidambaranathan
- Posted on: September 22 2003 10:11 EDT
- in response to Paul Strack
Thanks for your feedback Paul -
UML Notation for Session Facade[ Go to top ]
- Posted by: Ian Mitchell
- Posted on: September 22 2003 11:34 EDT
- in response to shanmugasundaram chidambaranathan
Since it is a facade, I suppose there is a possibility that it might be a boundary class...is it fronting a subsystem or tier for usage by any actors? -
UML Notation for Session Facade[ Go to top ]
- Posted by: shanmugasundaram chidambaranathan
- Posted on: September 23 2003 00:15 EDT
- in response to Ian Mitchell
If u look at the subsystem perspective then Yes u r right. But when the system is developed the boundary is defined for the entire system know.