This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread 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


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
 
GeeCON Prague 2014
 
subject: Data transfer b/w Biz tier and Database tier