Win a copy of Functional Design and Architecture this week in the Functional programming forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

New to Servlets!

 
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

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.

 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You won't be able to learn them all in a short period--that's not the way real learning works.

Yes, you should learn servlets and JSP together.

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.
 
Ranch Hand
Posts: 493
Android Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Which is the most important to you?


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..
 
Ranch Hand
Posts: 650
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to Servlets (and JEE, for that matter)!

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:

http://www.coreservlets.com/
http://pdf.coreservlets.com/

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

Good luck on your learning journey!

 
Anuradha Prasanna
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank to all of you for the great tips!
Iam going to start with servlets and jsp.

 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic