• Post Reply Bookmark Topic Watch Topic
  • New Topic

Tool for Java Logic  RSS feed

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
I have hundreds of lines of code. I need to explain the logic of code to client to validate the code. please suggest me a tool that can help me in doing this. I should be able to represent the logic and print it out. Please help me
Thanks,
 
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
UML is the convention for displaying logical design.
Many tools use UML. Rational Rose is a big player. TogetherJ is another.
Why exactly would you get that nitty gritty with a customer anyway.
 
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The best way to check the logic of your code is to let the customer specify acceptance tests.
That is, let him specify relevant input data and expected output and write a small program that automatically tests your code against that data.
After all, the customer should be concerned about the *behaviour* of the system - and the only valid way to test that is to try it out...
 
Michael Lara
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Cindy Glass:
UML is the convention for displaying logical design.
Many tools use UML. Rational Rose is a big player. TogetherJ is another.
Why exactly would you get that nitty gritty with a customer anyway.


Thank you Cindy!
Application is already written by another group. They never tested it before. That's why they are not sure whether its doing correctly or not. Application automatically gets invoked by one web page and processes the flat files posted
and dumps the data into database. Flat files contain thousands of records. Customer cannot directly modify database data. They can view it through cognos only. So, they want somebody check everything for them.
[ November 26, 2002: Message edited by: Michael Lara ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!