permaculture playing cards*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Represent JSP 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 "Represent JSP in Class Diagram?" Watch "Represent JSP in Class Diagram?" New topic
Author

Represent JSP in Class Diagram?

Jim Baker
Ranch Hand

Joined: Mar 10, 2002
Posts: 177
Hi there,
Could anyone tell me how to represent a jsp file in a
Class Diagram? Could I draw a jsp file just like drawing
a class?
Thanks.
Jim
Bagwan Mehrat
Ranch Hand

Joined: Jan 26, 2002
Posts: 119
It never even occurred to me to put JSP's, DAO's, EJB's, or anything else with a three letter acronym into my class diagram. I spent only one day on the class diagram, and it was very simple. Maybe I am not the best authority on the subject because I only got 31/40 on the class diagram, but I really can't imagine going to such lengths as putting JSP's in the class diagram.
Why, you'd have to pay me!
Jim Baker
Ranch Hand

Joined: Mar 10, 2002
Posts: 177
Because JSP is the VIEW in the presentation tier.
What do U put in the class diagram of
your presentation? Thanks.
Jim
Bagwan Mehrat
Ranch Hand

Joined: Jan 26, 2002
Posts: 119
Perhaps you are right. Maybe showing MVC in the class diagram will get you a better score. But I personally didn't mention MVC in any of my diagrams, so I'm not qualified to say how one should take such an approach.
Have you thought, though, if JSP is THE view, then where does that leave the Java application for the travel agents? Will they require an independent view architecture?
Good luck with your assignment!
Jim Baker
Ranch Hand

Joined: Mar 10, 2002
Posts: 177
Hi Bagwan,
What do U think should be put in class diagram?
This is something I'm not sure. High level?
Using <<boundary>>, <<control>>, <<entity>>
in class and sequence diagrams? And only mention
J2EE stuff in component diagram? Thanks.
Jim
Bagwan Mehrat
Ranch Hand

Joined: Jan 26, 2002
Posts: 119
My personal feeling is that it wouldn't hurt to make the class diagram overly complicated, because if you look at Sun's grading criteria, 75% of the grade is addressing requirements, and only 25% is for UML compliance. They don't seem to be taking points off for having TOO MUCH stuff in the diagrams.
When I did the assignment, I noted this, and knew that my diagrams were very basic, but I wasn't worried about it, because I had a bunch more ideas for things that I could add if I got a failing grade. I was quite sure I would pass with what I already had, though.
Still, I think that having JSP's in the class diagram would be a bit much. Just my personal opinion.
ersin eser
Ranch Hand

Joined: Feb 22, 2001
Posts: 1072
Jim
Please read the Javaranch Naming Policy and change your publicly displayed name to comply with our unique rule. Thank you for your cooperation.
ersin eser
Ranch Hand

Joined: Feb 22, 2001
Posts: 1072
as << JSP >> may be ?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Represent JSP in Class Diagram?
 
Similar Threads
sequence diagram
Inner Class
A good question
Cleared SCEA
external system dependencies in class diagram