aspose file tools*
The moose likes Struts and the fly likes Which Java application framework should I learn? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Which Java application framework should I learn?" Watch "Which Java application framework should I learn?" New topic
Author

Which Java application framework should I learn?

Pragati Mhatre
Greenhorn

Joined: Oct 21, 2009
Posts: 6
Hello,

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.

Thanks in advance.
Pragati


SCJP(1.5), SCWCD 5
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8867
    
    8

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.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Pragati Mhatre
Greenhorn

Joined: Oct 21, 2009
Posts: 6
So I am taking up Struts1.x first.

Thanks for answering.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

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.
Pragati Mhatre
Greenhorn

Joined: Oct 21, 2009
Posts: 6
Hello David,

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.

Do you think I am on right track?
Thanks.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41521
    
  53
Do you think I am on right track?

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.


Ping & DNS - my free Android networking tools app
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8867
    
    8

Ulf Dittmer wrote:
Do you think I am on right track?

I don't think you are


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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Which Java application framework should I learn?