Solved

How to understand requirement and design

Posted on 2014-02-27
1
390 Views
Last Modified: 2014-03-17
Some times for me understanding the requirement is bit challenging and then next step development which is some what manageable with some help.

For example requirement as below it is taking 5 days to understand below requirenemt and may be one more week to develop it with some forum help.


I am creating objects ObjectDef and FieldDef

Then I am creating an example input file ObjectDefs.txt

Then i will create initialization method that reads that files and creates

a map <className, ObjectDefinition>

so that i can look up after that just by the className to get the ObjectDef for it using reflection.

Then I parse the text file and send to one other application/system.





where, how i get these kind of complex requirements, examples, end to end scerios to master these concepts quickly and implement effectively. How to design effectively before development.

please advise
Any links resources ideas highly appreciated. Thanks in advance
0
Comment
Question by:gudii9
1 Comment
 
LVL 19

Accepted Solution

by:
Ken Butters earned 500 total points
ID: 39894900
I don't there is such a thing as a place to go to, to learn how to understand requirements for a given project / assignment.

The reason for that, is that no two assignments are the same.   The best I think you can do is to have a good understanding of the tools you use to build your project.  

I think a lot of what you are talking about will come naturally with experience.  As you become more familiar with the tools you have, it will be easier to see how the pieces need to fit together to arrive at a workable solution.

Some of the concepts you just mentioned...

Creating objects
Creating a  Map
Looking up a map using reflection

These items can be learned/taught fairly easily.  What is more difficult to grasp right away is to understand when they should be used, and when they should not.

Reflection for example is a concept that I believe should always be avoided if possible.  Use of reflection is usually a result of a poor design.  Your requirements for your project seem suspect to me.

Most requirements should state the need to accomplish a particular goal .  Using reflection and using Java Maps is not so much accomplishing a goal, but rather specifications on HOW to accomplish that goal.

It's important to understand, that at that point, you are not being given requirements, you are being given designs.  Those are two completely different things.

It might be better to get a good grasp on what goal needs to be accomplished, what needs to happen.... then the designing part comes in answering the question... how those goals can best be accomplished.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Java DateChooser? 3 36
even odd program using while loop 3 40
How to convert String matching to regex in java 4 33
SHA2 certs for IIS AND Java? 2 87
I had a project requirement for a displaying a user workbench .This workbench would consist multiple data grids .In each grid the user will be able to see a large number of data. These data grids should allow the user to 1. Sort 2. Export the …
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
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:
This video teaches viewers about errors in exception handling.

770 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