Iam new to servlets.
Can anyone suggest me a good book?
Should servlets and jsp should be learned together?
Also as a beginner in web applications i have a few doubts. I dont know if this is the right place to ask.
What are Applets, Spring, Struts, Hibernate, Ajax? are they related to servlets & jsp?
If i wanted to learn all these in a short period, what should be the order i should go in?
Any clarifications and books on the above topics are welcome.
As to what the other technologies are, some simple web searches will provide answers. Only Struts is (somewhat) related to servlets and JSPs, although Spring has a web component, applets are *used* on the web (or were, not so much now), and Ajax is web-related and might use servlets and/or JSP. The order? Which is the most important to you? Start there.
As David said , you must see what the important thing you wanna learn now , in my view if you are new to j2ee i think you need to learn the basic stuff like servlets and jsp then you can move to MVC framework like Struts for example..
I agree that Servlets and JSP is a great place to start. These really operate hand-in-hand, as the Servlet is used as the back-end application logic processing, and the JSP is used as the UI page (handling user input and display of data).
There are a lot of great resources available. Have a look at these:
The second link provides free downloads to all the chapters of the book in PDF format.
One thing I would roll right into after learning Servlets and JSP is JSTL. JSTL is the Java Standard Tag Library, and it solves a lot of the shortcomings found in the built-in JSP tags.
I would like to offer one caution: The books and tutorials on JSP do include examples of the JSP being used for application logic as well, using JSP Scriptlets (placing Java code in the JSP page). I think they do this because it's easier to produce the examples in this way - rather than also creating a Servlet. Just keep in mind that in real applications, you don't want any Java code in the JSP pages. All the business logic goes in the Servlet (or helper classes). If you're ever tempted to place Java code in your JSP page, just ask here about alternatives