• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Programmer Intuition?

 
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Everyone!
Ye Gods! Look at the number of posts in here!! (First time here)
I told my friend that I would be happy to do some Java Server work for him so I can get some marketable experience. The only problem is ... I DON�T KNOW ANYTHING ABOUT SERVLETS OR JSP!!! Its a pretty straightforward project though, he wants a program on the server that takes in info and stores it into a database, so I am assuming I�m going to need to know about servlets and JSP (and maybe a bit of JDBC). Can anyone recommend any good books on the subject? I am a SCJP so I am comfortable with the Java syntax, but know next to nothing about running Java on a Server. Ideally I would like something that starts with the basics and builds from there with LOTS of examples to illustrate what they are talking about. Maybe even something that builds an example Server project???
Also, my intuition tells me that the best way to design this is to have the program collect the info into an XML file, and then from the XML file put it into the DB. I�m not sure why my intuition tells me this ... something about being able to easily change the DB later. But I don�t understand how this could be, after all the server is still going to have to translate the XML into the DB, so where is the value in going to XML first? Of course it is possible that my intuition is totally off base here, its usually only super accurate when it comes to blind dates!
Thanks in advance,
Dan
 
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Dan,
I just started in almost the same postion as you are about 2 months ago. You are on the right track and here's a few sites/articles you can use.
1. www.javaskyline.com has a good primer on JSP/Servlets which was very useful.
2. http://www.oreillynet.com/pub/a/onjava/2001/03/15/tomcat.html is a good introduction to the basic concepts of web applications. (there are about 4 articles in the series).
3. http://www.dbforms.org is a good framework for really simple database applications. It does all the XML stuff you are talking about. It is still version 0.9 but quite stable and you also have the source code available to play around with. Also the documentation is at an acceptable level and the developer mailing list is pretty responsive.
4. http://www.appenture.com has an open source db tag lib which I am looking at. Actually it would be nice if people could share some of their insights on database taglibs they have used.
Let me know if this helps.
Regards
Ravi
 
Ranch Hand
Posts: 287
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The absolute BEST servlet book out there, esp. since you know the code is Inside Servlets, 2nd edition....ISBN 0-201-70906-6. I cant say enough about this book or its authors!
 
Ranch Hand
Posts: 2676
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I haven't completed the book yet, but "Core Servlets and JavaServer Pages" by Marty Hall seems to be a good intro into servlets, jsp, and jdbc.
Matthew Phillips
 
What's brown and sticky? ... a stick. Or a tiny ad.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic