aspose file tools*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes BackingBeans and details in Class Diagram Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "BackingBeans and details in Class Diagram" Watch "BackingBeans and details in Class Diagram" New topic
Author

BackingBeans and details in Class Diagram

Kumar Amit
Ranch Hand

Joined: Aug 13, 2001
Posts: 103
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?


SCJP, SCJD, SCEA
Usman Ibrahim
Ranch Hand

Joined: May 19, 2011
Posts: 45
I am showing the action methods which I have mentioned in sequence diagrams and important variables which I think is more significant.


OCMJEA; OCA (11g dba); SCJP
John Lincoln
Ranch Hand

Joined: Feb 11, 2003
Posts: 192
I am doing exactly the same

thanks
Kumar Amit
Ranch Hand

Joined: Aug 13, 2001
Posts: 103
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

Joined: May 19, 2011
Posts: 45
I would say the variables which might need to be propagated to the other layers.
Krzysztof Koziol
Ranch Hand

Joined: Nov 19, 2006
Posts: 133

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?


SCJP 5.0, SCWCD 5.0, SCBCD 5.0, SCEA/OCMJEA 5.0
Dumitru Postoronca
Ranch Hand

Joined: May 06, 2008
Posts: 46
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

Joined: Nov 19, 2006
Posts: 133

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

Joined: Dec 22, 2009
Posts: 100
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 ?


Nilesh
SCJP SCWCD OCMJEA
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: BackingBeans and details in Class Diagram