• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

BackingBeans and details in Class Diagram

 
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am doing exactly the same

thanks
 
Kumar Amit
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I would say the variables which might need to be propagated to the other layers.
 
Ranch Hand
Posts: 133
Eclipse IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ?

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic