I have passed SCJP and SCWCD, and I am trying to switch my job to one involving java environment. As I am searching through job I thought I should know atleast one framework (eg: struts, hibernate, spring).
Which one should I take up considering following points-
1)Getting into a job
2)Availability of online tutorial or books
3)Using that framework I should be able to create a practice project.
Keep in mind that different frameworks fill different niches (hibernate is an ORM technology, Struts is a front-end controller, Spring has elements of both, one can use Struts and Spring together, Hibernate integrates well with both. . .). A framework that works in one particular instance may not be a good choice for another. Don't worry about picking the "wrong" framework. One should be able to pick up a framework in a couple of days (if a framework is more complex than that, will it really save you time/code?).
I'm fairly sure that Struts 1.x is the 800-pound gorilla in this arena. The "next generation" frameworks, Struts 2, Stripes, Spring among others, are far more productive, but Struts 1.x has the installed base.
Why? Unless you have a specific reason to, don't: it's old, anybody using it for new development is making a really bad technical decision, and compared to modern alternatives is very difficult to use.
Joined: Oct 21, 2009
I will be taking up struts1.x so that I know about it. And then while developing my practice project I will use struts2.
Some times companies have already developed project using struts1.x and they just want customize them for new requirements, so its better to know older version.
I don't think you are, as David said. All obsolete versions of all frameworks are bound to be still in use somewhere; that's not a good reason to learn them. Especially if the newer version is not compatible with the older one.
I disagree. Pragati's #1 concern is to get a job. Struts 1.x is by far the most common java web framework. Chances are, an entry level position will be maintaining an existing (probably Struts 1.x) application.
He says he will also look at Struts 2, so he's not limiting himself.
I think he is on the right track.