aa Contact Us aa Home aa About Us aa news aa Free Books aa Books




SERVLETS AND JDBC

   
J2EE
Subcategories


J2EE
aa Connectors
aa EJB
aa Java Mail
aa JDBC
aa JMS
aa JMX
aa JNDI
aa JSP
aa JTA
aa JTS
aa IDL
aa RMI/IIOP
aa Servlets
aa XML/JAX/JDOM
a INTEROPERABILITY
aa CCM
aa COM
aa CORBA
aa XML
aa WebServices

OTHER
aa J2EE Certification
aa J2EE Design
aa J2EE Performance
aa Java Data Objects

JAVA NETWORK
aa JavaOlympus
aa J2EEOlympus
aa JSPOlympus
aa J2meOlympus







Using JDBC in servlets One of the most common uses of servlets is to access corporate information residing in a database; some studies suggest that up to 80% of all applications utilize some type of data stored in a relational database. In this chapter we’ll explore JDBC, JavaSoft’s API specification for connecting to databases and manipulating data, and how to use database information from within servlets.
Closing a database connection from a servlet Is anyone familiar with a destroy function (listed below). Should I call this at the end of each servlet, in order to sever the connection to the database, as I re-establish it in every servlet ?
Database access with servlets and Jdbc The most used way of accessing databases or any other server resources from an HTML page until now has been CGI scripting with Perl, Tcl or Python; the main reason for this is that CGI scripting was the only way to accomplish such a task. Nowadays we have a broader range of options available for server side processing like Active Server Pages or Servlets.
Servlets and JDBC This tutorial will guide you through creating a Servlet front end to a database.
Using Java Servlets with Database Connectivity The Common Gateway Interface (CGI) has and continues to be the most commonly used method for creating dynamic and responsive web pages. The main problem with CGI (that stems from the Hyper-Text Transfer Protocol) is that each new client request results in a new instance of the CGI executable being forked by the HTTP daemon. This can lead to considerable resource consumption on web hosting machinery. Many solutions exist to address this problem, most focusing on keeping the executable persistent between client requests. This has the added benefit of holding open costly resources like database and socket connections.

    SERVLETS
Introduction

Architecture

Servlets and JavaBeans

Servlets and Forms

Servlets and JDBC

Servlets and Cookies

Servlets Debugging

HTTP Tunneling

Servlets and Sessions

Servlets Security

Inter-Servlet Communication

Servlets and JSP

Servlets as Web Services

Wireless Servlets

Servlets and JMS

Servlets and EJB

Servlets and CORBA

Servlets and RMI

Servlets and XML

Servlets and XSLT

Servlets Design Patterns

Servlets and EMail

Servlets and Tomcat

Servlets Testing

Servlets Performance

Servlets Frameworks

Servlets Web Applications

    SERVLETS
HOME PAGE:
Servlets

FAQ:
JGURU
Java Index FAQ

WHITE PAPERS:
EJB
J2EE
Filters
White Paper Index

BEST SITES:
CoolServlets
Jcorporate
Servlets.com
ServletSource
bea developers
jMiddleware
Servletforum
IBM Java

SPECS:
Servlets

DOCS:
J2EE Tech Overview
J2EE
J2EE Glossary
J2EE Case Studies
J2EE Compatability
J2EE Design Patterns
J2EE Overview


javax.ejb
javax.naming
javax.naming.directory
java.rmi
javax.rmi
javax.servlet
javax.servlet.http
javax.servlet.jsp
javax.servlet.jsp.tagext
javax.transaction
javax.transaction.xa
java.sql
javax.sql
java.security
javax.jms
javax.mail
javax.xml.parsers
org.w3c.dom
org.xml.sax
org.omg.CORBA


DOWNLOADS:
Servlets

NEWSGROUPS:
com.lang.java

SUN SERVLETS ARCHIVE:
Sun Servkets Archive

ARTICLES:
Servlet Articles 1
Servlet Articles 2
Servlet Engines
Sun Articles

TUTORIALS:
Servlets 1
Servlets 2
J2EE Tutorial 1
J2EE Tutorial 2
J2EE Tutorial 3
Advance Java
J2SE Tutorial
online training
J2EE Patterns
audiocasts

FORUMS:
JGURU
Sun J2EE forum

USER GROUPS:
Java User Groups

BOOKS:
Free Servlets Books
Servlets Books