views:

118

answers:

3

Hi Friends,

Is it good to shift from struts to hibernate.

+1  A: 

They are not related at all. May be you should elaborate what you are trying to do.

fastcodejava
A: 

Learning new approaches to solving problems will always be good for your career...

BUT doing so in an ongoing project on mission critical path is not a good idea.

Try something small, e.g. a non mission critical helper tool, and try to implement using an other framework.

lexu
+3  A: 

Hibernate is an object-relational mapping library that can be used for struts projects. In other words Hibernate let you map java classes to database tables.

This is a simple j2ee stack (the right side):

alt text

As you can see you have a lack in your j2ee stack: you are missing the persistence layer, and Hibernare can be the right choise for you.

Hibernate will be helpfull in j2ee project, you can use it with others frameworks as well(for example: seam). If you think to continue developing java web apps, yep, learn it. This component will let you be more close to the j2EE standard. A good point for your java career.

To be honest I think the right jump is to forget struts (as lexu says). But I don't want to fall off topic.

baijiu