File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes wats the difference between servlets n normal java applications Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "wats the difference between servlets n normal java applications" Watch "wats the difference between servlets n normal java applications" New topic
Author

wats the difference between servlets n normal java applications

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
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

Joined: Jan 30, 2000
Posts: 3222
    
    5
I'd start here:
http://java.sun.com/docs/books/tutorial/servlets/index.html


Tony Alicea
Senior Java Web Application Developer, SCPJ2, SCWCD
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
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

Joined: Jun 12, 2000
Posts: 118
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


<a href="http://www.jobklub.com" target="_blank" rel="nofollow">http://www.jobklub.com</a><br /> 'Add Job To Life'
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: wats the difference between servlets n normal java applications