Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
satish siliveri
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 387
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1467
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
check-out this link
http://appfuse.org/display/APF/Home
 
satish siliveri
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi krishan,
Thank you very much for your effort for me.
 
Herman Schelti
Ranch Hand
Posts: 387
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
satish siliveri
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
thank you Senthilkumar Adaickalam
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic