jvence wrote:I think one of the most important feature to add to JForum is the ability to run multiple independent Forum Communities using a single webapp. So the front page, search, user DB, etc would be unique to each community and multiple communities can be run on a single installation.
Paulo Silveira wrote:But for hibernate, spring is HEAVILY critized by the hibernate community on how its HibernateSupport works.
The following post is entitled "Using Abstraction frameworks to maintain control? Wrong bet.". Some comments are pretty sarcastic:
http://blog.hibernate.org/cgi-bin/blosxom.cgi/Emmanuel%20Bernard/abstractionframeworks.html
Rafael Steil wrote:Maven for sure will not be used, neither WebFlow. Spring framework? We don't know.. probably no as well.
Rafael
Rafael Steil wrote:
Of course there is plenty of ways to correctly handle hibernate transaction support in vraptor, but now I'm more open to the spring stuff.
How does / would it work?
Rafael
lazee wrote:
What do you have against Maven 2?
I really love it. And the site functionality would make it a lot easier to generate project documentation on the fly.
lazee wrote:
We can make a demo implementation on how this would look if you're interested.
Rafael Steil wrote:It's OK to use a generic dao with Spring?
mrudman wrote:> How does / would it work?
Spring provides some base classes which JForum DAO classes would extend. Spring support code handles proper usage, flushing and closing of Hibernate sessions and works with Spring-configured Transaction manager. The transactions are demarcated declaratively in Spring config XML. Under the hood, Spring uses Aspected-Oriented Programming (OP) libraries which intercept method calls on business obejcts and seamlessly execute transaction handling code.
Well, transaction scope is not an issue, as we either have to commit everything or rollback all.
dericofilho wrote:1st. We're gonna use the following tecnologies:
- Hibernate 3 - thru Spring;
- VRaptor - MVC;
- Freemaker - thru Spring;
dericofilho wrote:
2nd. We're not going to use: MAVEN.
Obs.: Maven 2 can also help with JUnit regression tests... According to this: http://maven.apache.org/what-is-maven.html
dericofilho wrote:
3rd. I vote for JForum3 subprojects as proposed by lazee.
Rafael Steil wrote:Two things:
1) We probably will go with Tabligs instead of Freemarker
2) Exactly where Spring will be used? The only major point one was shown is transaction scope, but that can be easily handled by VRaptor. Ok, there is the Hibernate thing. How Spring enhances it?
Rafael
Rafael Steil wrote:No, I don't mean JSTL. I mean the suggestions made at https://coderanch.com/t/576678
Rafael
Rafael Steil wrote:Maven for sure will not be used, neither WebFlow. Spring framework? We don't know.. probably no as well.
Rafael
After some pecan pie, you might want to cleanse your palatte with this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
|