Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Managed Beans in Class Diagram

 
Sandeep Khanzode
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If we use JSF as the Web framework for the SuD, from Cade's example, it seems we can include the JSP's in the Class Diagram. However, how do we approach the managed beans that will act as the model as well as the action class for the JSP pages? Should we include them in the class diagram? Seems that we need to, but that would increase the non-business functionality clutter in the CD. On the other hand if we dont, the Controller will direct the request to the EJB session bean, which will be obviously incorrect since that will never happen in a JSP application (i.e. bypassing the Managed bean layer). Please comment.
 
Arnold Reuser
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could divide your class diagram into several separate class diagrams. All having a different viewpoint on the functionality implemented.
Two potential viewpoints are business and application. One focused on the functionality implemented to support the business as stated in the use cases.
And one focused on the technologies used to make it happen.
 
Vusal Khalilov
Greenhorn
Posts: 5
Netbeans IDE Oracle Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sandeep,
could you say, how did you act with managed beans?
did you divide your class diagram into several ones?
 
Satya Chekuri
Ranch Hand
Posts: 37
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I personally divided my class diagram into multiple pieces. Refer to Questions to very end of this blog.

http://srinichekuri.wordpress.com/2013/06/04/sceaocmjea-assignment/

Hope this helps. All the best!!!
 
Vusal Khalilov
Greenhorn
Posts: 5
Netbeans IDE Oracle Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Satya Chekuri wrote:I personally divided my class diagram into multiple pieces. Refer to Questions to very end of this blog.

http://srinichekuri.wordpress.com/2013/06/04/sceaocmjea-assignment/

Hope this helps. All the best!!!


Thanks!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic