Solved

UML documentation...

Posted on 2012-04-06
4
406 Views
Last Modified: 2012-04-26
No this is not a homework LOL.

It is nice to get in the habit of doing design and development in a proper way. This is what I want to accomplish:

A jsp page with two buttons ("User info" and "Search info"). In the user information page, 3 data fields, with a submit button to commit the date to a database or to an XML file. Also in a search page to have three list boxes to display the data from these three fields.

All I am interested, is UML diagram and developing documentation such that if it is giving to a programmer can do the coding.

In other words, I will focus in the coding part later on. There is no rush and I don't have a dealine. I just want to have practice doing things the right way and not to jump to codding. I have done some reading on UML but still is a bit hard to have it totally under control. And, how actually the search is done will be dealt later on. At this point it is just to diaplay the entire data (one field in each list box).

Thank you.
0
Comment
Question by:Mike Eghtebas
4 Comments
 
LVL 11

Expert Comment

by:anilallewar
ID: 37826960
From a low level design perspective this is what you can create for your requirement.

1. A class diagram describing the  JSP(not really recommended as its a UI component) and the servlet/service that gets called.
2. A sequence diagram showing control flow for what calls the JSP, the servlet invoved, VO set in request/session and then used in the JSP.

Let me know if you have specific questions.
0
 
LVL 33

Author Comment

by:Mike Eghtebas
ID: 37829896
Thank you for the response. Basically, my original question should habe been how can I do the following:

1. A class diagram describing the  JSP and the servlet/service that gets called.
2. A sequence diagram showing control flow for what calls the JSP, the servlet invoved, VO set in request/session and then used in the JSP.

Regards,

Mike
0
 
LVL 20

Expert Comment

by:Sathish David Kumar N
ID: 37836131
HI Mike ,

there is lot of tool is there ... like (magic draw, ratinaol rose ) .. you can use the tool . its mostly drag and drop only ...

>>>>>>>  1. A class diagram describing the  JSP and the servlet/service that gets called.

example you take one request you will poss to jsp to servlet and

you just flow of where will its goes ....

1. mention jsp name  after that it will goes to services , services will call some java method and return in same manaor ....
2. write different diagram for service class what method u have used and logic you used like that ...
0
 
LVL 5

Accepted Solution

by:
knsp earned 500 total points
ID: 37892892
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
mockito example issue 8 72
rhino JavaScript import, load 25 82
HTTPSessionBindingListernter not configured in deployment descriptor 2 52
arguments to jar 5 26
An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
The viewer will learn how to implement Singleton Design Pattern in Java.

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question