This topic has been archived. It cannot be replied.
-
工作学习 / IT技术讨论 / 一个J2EE web application,主要是做非常复杂的查询,生成报表,DAO 会很复杂,而其他的layer,business delegate,facade,几乎没什么东西,从结构上是否保留这些layer?O-R mapping也会太复杂?
-richwin();
2005-4-25
(#2260630@0)
-
1. 从结构上是否保留这些layer?保留好。2. 对于复杂的查询O-R mapping基本没什么用。
-xanada(㊣流水);
2005-4-25
(#2260638@0)
-
能不能说一说sulotion?
-richwin();
2005-4-26
(#2261444@0)
-
这种情况,最简单的做法用Command Pattern + Transaction Script (详见POEAA)就好了。
-xanada(㊣流水);
2005-4-26
(#2261496@0)
-
what's POEAA
-richwin();
2005-4-26
(#2262575@0)
-
Totally Agree. Object mapping is a waste in this case. Try using JDBC solution (JDBC, iBatis) direct approach. Setup a temp table if necessary. If it is a regular task, setup a timer or quartz
-lubx(黑白世界*大漠孤烟);
2005-4-27
(#2265161@0)
-
Need a volunteer to do it with you? :)
-davyasdf(davyasdf);
2005-4-28
(#2265915@0)