wood burning stoves 2.0*
The moose likes Servlets and the fly likes New to J2EE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
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. Teach a man to fish, he'll drink all your beer.
Cheers, 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://aspose.com/file-tools
 
subject: New to J2EE
 
Similar Threads
SCWCD or learning new Frameworks
interview ques
new to SCWCD & J2EE
begining with j2ee
help