wood burning stoves 2.0*
The moose likes Other Application Frameworks and the fly likes Which frameworks are suite for my application Please Help me to decide Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Which frameworks are suite for my application Please Help me to decide" Watch "Which frameworks are suite for my application Please Help me to decide" New topic
Author

Which frameworks are suite for my application Please Help me to decide

satish siliveri
Greenhorn

Joined: Aug 24, 2007
Posts: 7
Hi every body,
Our Product should be suitable for databases like Oracle, MySQL, SQL Server. we are planning to use Struts, Hibernate with Spring.
1. which combination is the better approch.
2. Can anyone suggest me. And i need detailed information about different combinations of these frameworks about performance, compatibility, etc
3. Is there any other combination of frameworks.

Please any one help me out to take a decision on the frameworks.

Thanks in advance,

Satish,
SE
Herman Schelti
Ranch Hand

Joined: Jul 17, 2006
Posts: 387
hi satish ,

Our Product should be suitable for ...


You might want to tell us what your Product should do.

we are planning to use Struts, Hibernate with Spring.

Your planning is based on what, you don't seem to know anything about them.

Herman
kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1371
check-out this link
http://appfuse.org/display/APF/Home
satish siliveri
Greenhorn

Joined: Aug 24, 2007
Posts: 7
Hi Herman Scheltinga

We wanted to develop a product with more customizable,
our customer can customize the forms with different fields. and user inteface preferences for look and feel with different templates.
-How can we approach this kind of scenorio.
This is a product for talent management. This is a completely Recruiting and maintenance of candidate and jobs and etc...

We wanted to use Hibernate/Spring for Object relational mapping.
and Struts to Follow MVC model.
-Can you tell me about Hibernate/Spring performence and the combination. Does the combination has any issues?
-Which one is better for Object relational mapping for any kind of application?

We are doing research and development. So please help me. what kind of technical environment is a reliable combination.

Thank you for your cooperation,

Satish,
SE.
satish siliveri
Greenhorn

Joined: Aug 24, 2007
Posts: 7
Hi krishan,
Thank you very much for your effort for me.
Herman Schelti
Ranch Hand

Joined: Jul 17, 2006
Posts: 387
hi satish,

our customer can customize the forms with different fields

That will be difficult: all the web-frameworks I know have forms with a fixed number and type of fields.

This means: if you add a field to form, you will also have to change the controller(Spring) or Action (Struts) that works with this form.
I don't think you want your customers to change Java-code, right?

and user inteface preferences for look and feel with different templates

If you put ALL layout-stuff in .css files (and don't mix it with the html) you can easily change colors, fonts, widths, heights etc.
It does not matter here wich framework you use.

It's not necessary to use Struts for .jsp's: Spring has a web part called Spring MVC. (Though you will probably want to use the Tiles-part of Struts, so you can define template-jsp files)

I've not used Hibernate/Spring in production code, but I know Spring will save you a lot of boilerplate code. You can define transactions, use AOP etc. (I've used Spring only with plain JDBC code).

Herman
[ August 27, 2007: Message edited by: Herman Scheltinga ]
satish siliveri
Greenhorn

Joined: Aug 24, 2007
Posts: 7
Thank you Herman Scheltinga

our customer can customize the forms with different fields

But we wanted to provide maximum number of fields for a form and allowing our customers to select their desired fields. We will maintain some schema fields/ Properties files depending on customer, again we can read those properties to display fields etc....(this is my intial idea, have not yet decides, need help)
This means: if you add a field to form, you will also have to change the controller(Spring) or Action (Struts) that works with this form.

For this scenorio. I think, can have a formbean(struts) with all attributes for a form and all business logic(setting all the attributes(if request parameter returns null we can handle right?)) will be done in Action(Struts) on that bean. I think that i can set/show their desired information when required.
I need some clarification about this.
And thank you very much for Layout solution for customization

I have read some where that we can use Spring for DAOFactory, DAOs& implimetations , Trasaction purpose and Hibernate for Object Relational Mapping. This combination is somewhat better than using SpringHibernate only.
Is that right?.

Satish,
SE
Senthilkumar Adaickalam
Greenhorn

Joined: Nov 08, 2004
Posts: 14
Hi Satish,

You can use Spring and Hibernate combination which reduces lots of your coding & testing effort. Handling transactions, persistence, etc are made simple and configurable using the xml files. The spring framework provides xxxTemplate for DAO supports, where xxx can be any of Hibernate, JDBC, JTO, ect.


Thanks and Regards,<br />Senthil
satish siliveri
Greenhorn

Joined: Aug 24, 2007
Posts: 7
hi,
thank you Senthilkumar Adaickalam
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Which frameworks are suite for my application Please Help me to decide
 
Similar Threads
jboss-xdoclet help needed
little help!
Pattern for "context - sensitive help"
can we club switchaction and dispatchaction..?
Quartz Scheduler