|
| Index | Recent Threads | Unanswered Threads | List Polls | Public Albums | Who's Online | Help |
|
|
| No member browsing this thread |
|
Thread Status: Active Total posts in this thread: 7 |
|
| Author |
|
|
Newbie China Joined: Jul 8, 2003 Post Count: 29 Status: Offline |
Hibernate is a very good o/r mapping tools i don't wanna talk about the normal way to use it but i have some difficult when i using it: 1、optimize the RDB Hibernate can export the schema of DB , can create your DB on runtime BUT , how about indexes you need? how about views you need? as i do , i stiil need write some sql for native db especial for high performance , sigh! 2、Cache Hibernate has it's cache . AWAK , B/S application has at lease two tier : views and business Hibernate Cache can quick your business model , BUT how about Web Tier ? OSCache ? yes it's good. but there is another problem : Synchronization! How to synchronize the web data and business data is the Core problem. maybe MNVFORUM can avoid this problem because it has it's cache system by self 3、Transaction DAO architecture is good , at lease in my application (also a Forum ). BUT DAO make the transaction process hardly. which level i should put the Session ? views ? control ? business ? DAO ? i choose DAO , but business was absolute seperated from the DAO , so i can't transimit the transaction from one to another maybe you can choose another model , such as let session run throught your reqest from begin to the end , that is : Filter. but in my opion , that will confuse your tiers , even you will do hardly work when your change the layout. and then let's talk about Struts i use struts for a long time , since 1.0 beta i take advantage of it's: i18n , forgive me ,but i should say loudly : mvnforum i18n is so ugly!!! taglib , i try to build the jsp all by tag and i do it 95% now , performance is very good and custom the tag when bottleneck mvc , most imortant thing , we all konw! validate , maybe it's not perfect but help me enough and some other features such as exception handler 、file upload and so on i think the mvnforum ' s mvc is not good as the Struts ,so change it to is necessary ( and as i konw , it works!) i have sent a mail to Minh Nguyen and wanna join the MVNForum team , do you remember? ![]() |
||
|
|
mvnForum Developer Vietnam Joined: Oct 16, 2002 Post Count: 2956 Status: Offline |
i have sent a mail to Minh Nguyen and wanna join the MVNForum team , do you remember? Yes, and I replied to you but does not get any email back from you. Maybe there is something wrong. My email is welcome you and ask you for more information on your plan on contributing to mvnForum. Thanks ![]() ---------------------------------------- Minh Nguyen mvnForum Developer Want a free, open source Java Jsp/Servlet forum, get mvnForum at http://www.mvnForum.com http://www.DienDanLinux.org |
||
|
|
Newbie Joined: Dec 6, 2003 Post Count: 20 Status: Offline |
hey man,could you show your web app? ![]() |
||
|
|
Newbie China Joined: Jul 8, 2003 Post Count: 29 Status: Offline |
i have sent a mail to Minh Nguyen and wanna join the MVNForum team , do you remember? Yes, and I replied to you but does not get any email back from you. Maybe there is something wrong. My email is welcome you and ask you for more information on your plan on contributing to mvnForum. Thanks ![]() oh , god bless me , i miss the mail! thanks for your reply , i just wanna contributing to mvnforum for some code and some experience or my simple Architecture :) can i just to do this in CVS directly? hey man,could you show your web app? ![]() of course of course , but now my project full of Chinese comments , so please give me time to beautify it ;) if you can read Chinese , go my blog , then you can get more detail for this |
||
|
|
mvnForum Developer Vietnam Joined: Oct 16, 2002 Post Count: 2956 Status: Offline |
I send you the second mail, hopefully it could reach you. Of course when you are developer, you will commit code to CVS directly ![]() ---------------------------------------- Minh Nguyen mvnForum Developer Want a free, open source Java Jsp/Servlet forum, get mvnForum at http://www.mvnForum.com http://www.DienDanLinux.org |
||
|
|
Stranger Joined: May 18, 2004 Post Count: 3 Status: Offline |
You are having problems because you are using Java to do procedural work. Design a good object model instead. As for transaction demarcation through different Service Objects, you can use something like the Spring Framework which makes it easy. (both programatic & declarative). No need to create ugly hacks like Hibernate Session filters and such.. |
||
|
|
mvnForum Developer Joined: Feb 27, 2003 Post Count: 185 Status: Offline |
If you want to use lazy loading for collections you still do need Hibernate Session Filter. Spring has its implementation of Session Filter so you don't need to write your own, but it is still SessionFilter, right? |
||
|
|
|
|
|
Current timezone is GMT Jan 7, 2009 5:13:10 PM |

