This week's book giveaway is in the Programmer Certification forum.
We're giving away four copies of OCP Oracle Certified Professional Java SE 21 Developer Study Guide: Exam 1Z0-830 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
  • 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

wats the difference between servlets n normal java applications

 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Desperado
Posts: 3226
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
You'll never get away with this you overconfident blob! The most you will ever get is this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic