Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

BackingBeans and details in Class Diagram

 
Kumar Amit
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends
How much details we have to show about Backing Bean classes in the Class diagram. Do we have to show all the action methods, variables etc?
 
Usman Ibrahim
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am showing the action methods which I have mentioned in sequence diagrams and important variables which I think is more significant.
 
John Lincoln
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am doing exactly the same

thanks
 
Kumar Amit
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Usman and John. Thanks for the reply. When you say important variables, do you mean properties mapped to input fields on JSP page OR @EJB annotations or both?
 
Usman Ibrahim
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would say the variables which might need to be propagated to the other layers.
 
Krzysztof Koziol
Ranch Hand
Posts: 133
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What about POJOs that are used by WS client (SLSB)? In my design I need several classes that will map XML data from a WS response. Those classes are not entities, managers just simple beans... so should they be added in the Class Diagram? What do you think?
 
Dumitru Postoronca
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have created some POJOs for the external systems I access, to map the received data to those classes. I believe it's important, as I have to pass them to the view layer for rendering.
 
Krzysztof Koziol
Ranch Hand
Posts: 133
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dumitru Postoronca wrote:I have created some POJOs for the external systems I access, to map the received data to those classes. I believe it's important, as I have to pass them to the view layer for rendering.


Did you put them on the Class Diagram, Component Diagram?
 
Nilessh Ganu
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Krzysztof Koziol wrote:
Dumitru Postoronca wrote:I have created some POJOs for the external systems I access, to map the received data to those classes. I believe it's important, as I have to pass them to the view layer for rendering.


Did you put them on the Class Diagram, Component Diagram?


My SLSB(a WS client) accesses the WS service and returns me a POJO which has data which is not an Entity.
So did you ended up adding the POJO in the class diagram,component diagram ?

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic