octal — 2004-03-02T11:18:43-05:00 — #1
As pointed out by oliverjaynes in this reply Servlets and JSP's shouldn't be thought of as two separate technologies. I hope that most if not all of the links presented here highlight this fact.
Note that this list assumes prior knowledge of the Java programming language and doesn't contain direct links to Java as such. The more competent you are with Java the easier your understanding of JSP (and particularly servlets) will be.
Please feel free to add your own links and/or suggest improvements
Sitepoint's Server side Java tutorials (index)
[Java Servlets Part 1 & [url=http://www.sitepoint.com/article/java-servlets-2]Java Servlets part 2](http://www.sitepoint.com/article/java-servlets-1)
Introduction to the Java Standard Tag Library
[Enterprise Java Beans: A primer Part 1, [url=http://www.sitepoint.com/article/implement-first-ejbs]Part 2, [url=http://www.sitepoint.com/article/primer-3-tour-java-pet-store]Part 3](http://www.sitepoint.com/article/enterprise-javabeans-primer)
External to Sitepoint:
Sun/JGuru JSP Fundamentals
VisualBuilder.com JSP tutorial
Javaworld.net (no new content only archives)
JGuru.com tutorials (Servlets and JSP are towards the bottom of the page)
Tutorial on Java Servlets and JSPs
[Official JSP (Sun's) website ([url=http://java.sun.com/products/jsp/docs.html]Documentation](http://java.sun.com/products/jsp/index.html))
[O'Reilly Java Database Best Practices (not much on beginning JSP but very useful) ([url=http://www.oreilly.com/catalog/javadtabp/chapter/ch02.pdf]free chapter](http://www.oreilly.com/catalog/javadtabp/) (PDF))
Beginning JSP 2.0
Tomcat (free webserver)
JEdit (Java based code editor)
ben — 2004-03-25T20:39:54-05:00 — #2
Beginning JSP 2: From Novice to Professional [Paperback]
Apress now publishes it ....
oliverjeynes — 2004-04-02T12:49:42-05:00 — #3
Servlets and JSP are essentially the same thing. Jsp's are basically HTML files which contain embedded java code. The idea behind JSP is to seperate the role of a web developer from a java developer. Java functionality can be acheived by defining custom tags. When the Servlet container instantiates a JSP it is compiled to a Servlet. Servlets involve embedding HTML into the java code which is deemed to be poor design, particularly in large enterprize applications
octal — 2004-04-05T11:53:39-04:00 — #4
Servlets and JSP are essentially the same thing...
True. In my experience though people often mistake the two for separate technologies. I will highlight your point in the original post, thanks for the feedback.
shabbirbhimani — 2004-06-29T08:54:10-04:00 — #5
rozner — 2004-07-28T14:12:44-04:00 — #6
steveo — 2004-07-28T14:17:00-04:00 — #7
I highly recommend Martin Fowlers Patterns of Enterprise Architecture which has examples in java and c#. I'm about half way through and it goes a long way to explain how to build scalable apps. Pretty heavy reading though - will prbably take a re-read to assimilate all the info in there.
veghost — 2004-08-03T18:38:50-04:00 — #8
kadence — 2005-03-31T16:25:35-05:00 — #9
sbdi — 2005-06-24T19:30:28-04:00 — #10
Head first servlets and jsp's. Excellent book layout for those of you with short attention spans (Like me )
carlsson — 2006-03-15T12:44:46-05:00 — #11
This is a course with assignments and solutions(open source):
Internet Programming 2 - Java Servlets
p2006 — 2006-05-16T14:27:49-04:00 — #12
>>'Servlets and JSP's shouldn't be thought of as two separate >>technologies. I hope that most if not all of the links presented here >>highlight this fact.'
Sorry guys, this stetement is absolutely wrong. Servlets and JSP ARE very different and may not even be compared as technologies. As long as they serve pretty different purposes. Servlets is a (very useful) standard API of communication of server-side Java code with Application (Web) Server. Through that API and server we get communication with Internet HTTP clients or other servers. Note that there is a lot of succesful implementations that use only servlets and do not use JSP at all.
JSP is a technology with much narrower scope. It is a technology of generation of HTML code controlled from Java. It may or not be used with Servlets.
In fact there are alternative and much better technologies that are developed explicitly to replace JSP in Servlet-JSP pair. Those are numerous user-tags and templates engines. The latest is so called "Hybrid Server Pages" technology you may find on the download.com. This one chose the way of merging HTML and Java languages as such and to my opinion has a potential to beat JSP (and PHP and more others).
bonefry — 2006-09-10T05:34:09-04:00 — #13
The Ruby language running on top of the JVM:
I know there are many half-baked languages running on top of the JVM, but this one has to be special, or otherwise why would SUN bother to hire the lead developers
JRuby is compatible with Ruby 1.8.4
The goal to run Ruby on Rails on JRuby is pretty close to completion.
Apparently a Netbeans plugin is being worked on that will support JRuby.
Right now JRuby is quite slow compared to CRuby, but as the main developer explains, JRuby didn't had a strong leadership, and it was implemented originally as a set of hacks written by many different developers that came, contributed, and ran away ... a refactoring is underway, and the future looks bright, speedwise.
bonefry — 2006-09-12T12:14:42-04:00 — #14
luke101 — 2007-03-17T22:29:27-04:00 — #15
Here is a premium tutorial on java. It is 60% complete and should be finshed by this may. I think it is worthy to add to your collection.
hem — 2008-04-17T01:10:06-04:00 — #16
evan2all — 2008-07-01T04:54:59-04:00 — #17
hello is this is included???
though it is a forum but do have some nice tutorials..... (i do not know if referring another forum is restricted or not )
francistomas — 2011-11-24T06:46:40-05:00 — #18
Servlet and JSP called as J2EE..Both the JSP and Servlet using for web designing......
In the servlet we should put the code separately for HTML and servlet ....but in the JSP we can put the code in a single page both HTML and JSP code...............................
mittineague — 2013-02-22T22:42:39-05:00 — #19
This thread is now very old and most likely very outdated.
If any have any resources they think should be added, please send a Private Message to one of the Programming Team.