{ } javasamplesAI. CODE. BUILD.
Advertisement

THE TUTORIAL LIBRARY

All tutorials

1,944 tutorials
Java Beans2007-02-20

ADVANTAGES OF EJB

EJB insulates developers from the underlying middleware, since the only environment an EJB developer sees is the Java environment. It also helps the EJB server/container vendor to

Read tutorial
JSP2007-02-14

The Servlet Life Cycle

You might know that only a single instance of a servlet gets created, with each user request resulting in a new thread that is handed off to doGet or doPost as appropriate. I'll no

Read tutorial
Advertisement
JSP2007-02-14

Servlets

Servlets are Java technology's answer to Common Gateway Interface (CGI) Programming. They are programs that run on a Web server, acting as middle Layer between a request coming fro

Read tutorial
JSP2007-02-14

Packaging Servlets

In a production environment, multiple programmers may be developing servlets for the same server. So, placing all the servlets in the top-level servlet directory results in a massi

Read tutorial
JSP2007-02-14

HttpClient

An HttpClient can be used to send requests and retrieve their responses. An HttpClient is created through a builder. The builder can be used to configure per-client state, like: th

Read tutorial
JSP2007-02-14

Debugging Servlets

Naturally, when you write servlets, you never make mistakes. However, some of your colleagues might make an occasional error, and you can pass this advice on to them. Seriously, th

Read tutorial
JSP2007-02-14

Basic Servlet Structure

Listing outlines of a basic servlet that handles GET requests. GET requests, for those unfamiliar with HTTP, are the usual type of browser requests for Web pages. A browser generat

Read tutorial
{ }

The future is yours to build.

One example today. A better developer tomorrow.

Find something to build →