Solved

How to understand requirement and design

Posted on 2014-02-27
1
387 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

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
Java / Linux and Regular Expressions 11 70
eclipse argument 14 53
How to monitor the number of connections/threads being utilized on Tomcat 6.0 8 55
difference of if loops 23 41
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 …
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

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

18 Experts available now in Live!

Get 1:1 Help Now