Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

wats the difference between servlets n normal java applications

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
i am learning java n havenot touched servlets in detail yet. i want to know how to use servlets n jdbc together? i have worked a bit with msaccess n jdbc-odbc driver n its not working, specially when it comes to writin soemthign to the database. someone advised me to use some other database. and i only have the choice of msSQL server, which i know nuts bout.
anyway my question is that, i can develop an application using SQLserver, then how to convert it into a servlet, or somehow call taht application from a servlet which then shows the results back to the user. confusing? well i dont know how else to put it , thanx in advance to all the java gurus and novices like me around
 
Tony Alicea
Desperado
Sheriff
Posts: 3226
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd start here:
http://java.sun.com/docs/books/tutorial/servlets/index.html
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
if u have some idea of CGI programming u could better understand the concept of servlets easily .... but still its not a tough one...... servlets is basically to handle the requests sent by the user on the internet..... if u click on a button by filling a form on the internet .... that request is sent to a servlet which is running on the server ....and processes ur request and send the response back to u ..(in gist). the servlet code is just as normal java code only..... and u can connect to any database as u do to connect using the normal applications.....
thats how the things are ... u just need to go thru an faq on servlets .. u will be comfortable in servlets in no time
thanks
vijay
 
hanumanth reddy
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if u want to learn more about servlets then go through book
servlet programmin written byason hunter it is the good book to learn servlet programming

servletprogramming is generally used for internet related projects it as nothin gtodo with application developnment
for any further info u can contact me
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic