SitePoint Sponsor

User Tag List

Results 1 to 19 of 19
  1. #1
    SitePoint Zealot Octal's Avatar
    Join Date
    Feb 2003
    Location
    UK
    Posts
    145
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Java Servlets and JSP resources

    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

    Tutorials:
    Sitepoint's Server side Java tutorials (index)
    in particular:
    Java Servlets Part 1 & Java Servlets part 2
    Introduction to the Java Standard Tag Library
    Enterprise Java Beans: A primer Part 1, Part 2, Part 3

    External to Sitepoint:
    <snip/>
    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)
    JSP Tutorial
    Tutorial on Java Servlets and JSPs
    <snip/>

    Reference:
    Official JSP (Sun's) website (Documentation)
    <snip/>

    Books:
    O'Reilly Java Database Best Practices (not much on beginning JSP but very useful) (free chapter (PDF))
    Beginning JSP 2.0

    <snip/>

    Development tools:
    Tomcat (free webserver)
    JEdit (Java based code editor)
    IDE's:
    Eclipse
    Netbeans
    IDEA

    <snip/>
    Last edited by Mittineague; Nov 20, 2010 at 20:59. Reason: broken links removed
    Octal - All your base-8 belong to us
    "Knowing is not enough, we must apply.
    Willing is not enough, we must do." - Bruce Lee

  2. #2
    SitePoint Wizard
    Join Date
    Jan 2001
    Location
    Grand Rapids, MI
    Posts
    1,284
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Beginning JSP 2: From Novice to Professional [Paperback]

    http://www.amazon.com/exec/obidos/tg...glance&s=books

    Apress now publishes it ....
    Last edited by Mittineague; Nov 20, 2010 at 20:42. Reason: pre-new-sticky cleanup

  3. #3
    SitePoint Member
    Join Date
    Apr 2004
    Location
    cardiff
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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

  4. #4
    SitePoint Zealot Octal's Avatar
    Join Date
    Feb 2003
    Location
    UK
    Posts
    145
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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.
    Octal - All your base-8 belong to us
    "Knowing is not enough, we must apply.
    Willing is not enough, we must do." - Bruce Lee

  5. #5

  6. #6
    SitePoint Wizard rozner's Avatar
    Join Date
    Oct 2002
    Location
    Paris
    Posts
    1,058
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Servlets and JSP's should be thought of differently, but really are the same thing. But I've noticed a lot of posts on this forum about JavaScript problems, which is a very different thing. JavaScript is a client side technology and is mainly related to browser functionality. Please post JavaScript questions to the JavaScript forum.

  7. #7
    SitePoint Guru SteveO's Avatar
    Join Date
    Jan 2003
    Posts
    625
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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.

  8. #8
    SitePoint Enthusiast
    Join Date
    Aug 2004
    Location
    Pinsville
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Also you can add http://javable.com
    Eu-Forums.Com European Union Forums

  9. #9
    SitePoint Addict
    Join Date
    Nov 2004
    Location
    New Jersey
    Posts
    317
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Java servlet packages and classes reference:

    http://java.sun.com/products/servlet/2.2/javadoc/

  10. #10
    I'm a college yuppie now! sbdi's Avatar
    Join Date
    Jul 2000
    Location
    Dublin , Ireland
    Posts
    1,271
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    <snip/>

    http://www.amazon.co.uk/exec/obidos/...112894-5508629

    Head first servlets and jsp's. Excellent book layout for those of you with short attention spans (Like me )
    Last edited by Mittineague; Nov 20, 2010 at 20:32. Reason: broken link removed
    Back Again

  11. #11
    SitePoint Zealot
    Join Date
    Nov 2005
    Location
    Sweden
    Posts
    110
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This is a course with assignments and solutions(open source):

    Internet Programming 2 - Java Servlets

  12. #12
    SitePoint Member
    Join Date
    May 2006
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    >>'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).

    p

  13. #13
    throw me a bone ... now bonefry's Avatar
    Join Date
    Nov 2004
    Location
    Romania
    Posts
    848
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The Ruby language running on top of the JVM:
    http://jruby.codehaus.org/

    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.

  14. #14
    throw me a bone ... now bonefry's Avatar
    Join Date
    Nov 2004
    Location
    Romania
    Posts
    848
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  15. #15
    SitePoint Zealot
    Join Date
    Dec 2005
    Posts
    153
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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.

    http://www.meshplex.org/wiki/Java/Introduction_to_Java

  16. #16
    SitePoint Enthusiast
    Join Date
    Apr 2008
    Location
    New Delhi
    Posts
    88
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Mobile Phones | SEO Tips - Latest SEO Tips for Beginners
    Java Examples | Delhi City Picture

  17. #17
    SitePoint Addict Evan2all's Avatar
    Join Date
    Sep 2004
    Location
    London, UK
    Posts
    201
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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 )

    .java ranch
    Shajed Zaman
    Web 2.0 holic, Small Business Website Designer, Pro Blogger
    SME DEVELOPERS, creative design solution|
    I AM WEBSITE DEVELOPER|Twitt Me

  18. #18
    SitePoint Member
    Join Date
    Nov 2011
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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...............................
    Last edited by spikeZ; Nov 24, 2011 at 05:48. Reason: Fake sig removed

  19. #19
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    16,448
    Mentioned
    160 Post(s)
    Tagged
    1 Thread(s)
    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.

    Thanks.


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •