This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes EJB and other Java EE Technologies and the fly likes Data transfer b/w Biz tier and Database tier Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Data transfer b/w Biz tier and Database tier" Watch "Data transfer b/w Biz tier and Database tier" New topic
Author

Data transfer b/w Biz tier and Database tier

Jayanth Recherla
Greenhorn

Joined: Feb 22, 2005
Posts: 1
Hi,
I use WSAD to develop j2ee applications.
I am having three modules in the EAR file : Web, Biz(session,util etc) and Database (Entity beans & DAO's). Now I am unable to decide whether to send a Data Transfer Object (VO) or a set of parameters between the biz tier and database tier.
If we choose a VO, then the EAR file is ending up with a cycle of dependencies (as vo is in biz tier, database tier depends on biz tier and obviously biz tier should depend on database tier).
If we choose to send a set of parameters, and if there are 30-50 parameters then I dont know if it is the right way to proceed as I think it creates performance issues.
It will be of a great help if anyone can help in this issue.

Best- Jayanth
 
 
subject: Data transfer b/w Biz tier and Database tier