This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Servlets and the fly likes New to J2EE Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "New to J2EE" Watch "New to J2EE" New topic
Author

New to J2EE

Jeff Bosch
Ranch Hand

Joined: Jul 30, 2003
Posts: 804
Hey, Ranchers -
I'm new to J2EE. I have about three months to get familiar with the technology enough to take over maintenance of Web programs for a state agency.
At the risk of sounding too much like a beginner, would anybody share with me where Servlets are more or less advantageous than JSP? Or do they work together? It seems to me that Servlets offload processing from the client, and that JSP delivers the data for the client to process/display. Am I getting warm?
Thanks!


Give a man a fish, he'll eat for one day. <br />Teach a man to fish, he'll drink all your beer.<br /> <br />Cheers,<br /> <br />Jeff (SCJP 1.4, SCJD in progress, if you can call that progress...)
Rufus BugleWeed
Ranch Hand

Joined: Feb 22, 2002
Posts: 1551
No you're not getting warm...
A JSP is a servlet that gets compiled.
You might start with Marty Hall's book. I think you can download or read online the old version for free. Or the J2EE tutorial will get up to speed.
HTH
Tim Baker
Ranch Hand

Joined: Oct 04, 2003
Posts: 541
essentially
JSPs have (Java) Code embedded within the HTML
Servlets generate HTML code from a pure Java program


Kim Jong II (North Korea's Dear Leader) said:Nuclear weapons don't kill people, people kill people.
Ko Ko Naing
Ranch Hand

Joined: Jun 08, 2002
Posts: 3178
In MVC Architecture, servlets are usually responsible as Controllers and JSPs are responsible as Views... What you understand as the following is correct too...
It seems to me that Servlets offload processing from the client, and that JSP delivers the data for the client to process/display. Am I getting warm


Co-author of SCMAD Exam Guide, Author of JMADPlus
SCJP1.2, CCNA, SCWCD1.4, SCBCD1.3, SCMAD1.0, SCJA1.0, SCJP6.0
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: New to J2EE
 
Similar Threads
SCWCD or learning new Frameworks
new to SCWCD & J2EE
help
interview ques
begining with j2ee