• Post Reply Bookmark Topic Watch Topic
  • New Topic

Project structure, Design Patterns  RSS feed

 
sai rama krishna
Ranch Hand
Posts: 536
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am working on EJB MDB, web service related projects. I see the code with lot of BO(busines objects), VO(value objects), DAOs, SqlMap.xml, myBatis-config.xml, BatchEnv.properties class, XMLUtility class, DAO/BO/VO interface classes etc.

I wonder why we need all these different kinds of packages, classes. What is the advantage of them. I feel it makes understanding of the project more complicated with all these items. How to understand, identify the flow to debug the application faster.

Is it is always good idea to draw a diagram on a paper with all the connections of different classes starting from UI classes to Database Insertion classes in whichever new project I work on. Please advise. Any links, ideas, resources, sample code highly appreciated. Thanks in advance
 
Winston Gutkowski
Bartender
Posts: 10575
66
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sai rama krishna wrote:I am working on...

I hope you don't mind, but I broke up your post up into separate paragraphs because it looked like an SMS message.

I wonder why we need all these different kinds of packages, classes. What is the advantage of them.

Would you want the entire knowledge (megabytes of source code) of an EJB container in a single package?

Is it is always good idea to draw a diagram on a paper...

IMO: Yes.

I may be old-fashioned, but unless you can think on a screen or in Visio (a great tool), then paper - lots of it - is your friend. You shouldn't even think about touching a Java IDE (or compiler) until you understand your problem from the ground up.

Winston
 
sai rama krishna
Ranch Hand
Posts: 536
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you. What is the effective way to draw the diagrams. Where to start with(start from BO or UI). Where can i get help on making these diagrams. Any tutorials, video tutorials available to learn. Please advise
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!