aspose file tools*
The moose likes Servlets and the fly likes For guidance Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "For guidance" Watch "For guidance" New topic
Author

For guidance

inayet anetulla
Greenhorn

Joined: Nov 10, 2007
Posts: 6
Dear Friends,

I have worked only in Java now. I've never even worked on others like servlet,jsp,struts.etc. I want to learn all the major technologies in Java. However I don't know from where to start and what is the systematic approach that I should adopt to do the same.
May I request you to please suggest me(and other people like me) about the plan that we should adopt in order to learn the major technologies?
Thanks & Regards,
[ November 29, 2007: Message edited by: Bear Bibeault ]
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Starting with core Java was a good first step.

The best way to get started with JEE in my opinion, is to learn to write servlets, simple ones at first. Then learn how to write simple MVC applications that forward context to JSPs for markup and formatting.
Steer clear of any older JSP tutorials as JSP best practices have evolved quite a bit in the last few years and it will be easier if you learn to write Scriptless JSPs using JSP2.0 upfront, instead of having to un-learn legacy concepts.

Once you understand how to build simple MVC applications, learn to use the command pattern or 'Front Controller' pattern to better structure your applications and avoid the need to write lots of redundant servlet code.

After you've done this, you may want to consider looking at the various frameworks out there (and there are lots of them) to decide which (if any) will help you with a particular project. One thing to keep in mind is that many of the frameworks out there were written before JSP2.0 and have a lot of features that attempt to solve the same problems that have been solved in JSP2.0.
A lot of us consider these frameworks to be overkill and more trouble than they're worth and have either gone without them altogether or have chosen small lightweight frameworks (like FrontMan) that don't duplicate all the functionality that JSP2.0 with EL and JSTL already provide.

The ranch has some resources that you might find useful.
In our codebarn, there are some example applications that cover what I've mentioned above, in the order in which I've mentioned them.
You can find them here.
Also, our JavaRanch Journal has an article by Bear Bibeault, a JavaRanch staff member and author of the FrontMan framework, that serves as a nice introduction to the concepts mentioned above.
It can be read here.
[ November 28, 2007: Message edited by: Ben Souther ]

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
inayet anetulla
Greenhorn

Joined: Nov 10, 2007
Posts: 6
Thank you explaining me .
regards
anetulla
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: For guidance