Re: please reply.......



On Sun, 30 Dec 2007 08:22:27 -0800 (PST), 1234java@xxxxxxxxx wrote,
quoted or indirectly quoted someone who said :

what happend internally when we start the server ? explain step by
step bcz iam new to web application ?

First Java.exe fires up. Then in starts running the main class of the
Servlet womb. It then opens up sockets and waits for incoming
requests from the web. When one comes it, it look at the header,
looks at its tables to figure out which program will process it. It
then hands if off to that program. The first the program in used,
their is a delay while it is loaded. Thereafter it just uses the same
copy.

You also fire up the Database engine. It is usually not written in
Java. It wakes up and opens sockets waiting for database requests
,which come from the Servlets running in the womb.

In more complex systems, you have socket pooling, database connection
pooling, and caching.

You might learn more by running your womb with -verbose and examining
logs.

--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
.



Relevant Pages

  • Session_Start problems
    ... When testing on my local machine, the session_start fires fine. ... storing a value to my database, creating a timestamped text file, and ... writing a line of text to a general log file. ... I transfer my site to my webhost, all of these no longer function ...
    (microsoft.public.dotnet.framework.aspnet)
  • Global.asax and sharepoint
    ... I am trying to log information into a database from sharepoint using ... to do is retrieve the URL of a document when i click on that document ... however i can't find a method within Global that fires when a user ...
    (microsoft.public.dotnet.framework.aspnet)
  • Postback handling
    ... I have a button on my form that does save some stuff in a database. ... I would like to set some information before saving in the DB. ... Is it possible to have an event that fires before the postback? ...
    (microsoft.public.dotnet.framework.aspnet)