Solved

UML documentation...

Posted on 2012-04-06
4
403 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Responding to Java JComponent extended classes's resize event 4 51
mockito example issue 8 62
micro services spring boot application error 3 143
java jdbc batch example 8 22
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…
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

910 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now