Information Technology Reference
In-Depth Information
Exhibit 2. DIA InputOutputCapabilities description tool
<DIA>
<Description xsi:type=”UsageEnvironmentType”>
<UsageEnvironment xsi:type=”TerminalCapabilitiesType”>
<TerminalCapabilities xsi:type=”InputOutputCapabilitiesType”>
<Display bitsPerPixel=”8”>
<Resolution horizontal=”176” vertical=”144”/>
</Display>
<AudioOut lowFrequency=”30” highFrequency=”8000” numChan-
nels=”2”/>
<UserInteractionInputSupport>
<Microphone>true</Microphone>
<KeyInput href=”urn:mpeg:mpeg21:2003:01-DIA-KeyInputCS-
NS:1”>
<mpeg7:Name xml:lang=”en”>PCKeyboard</mpeg7:Name>
</KeyInput>
<PointingDevice>
<Mouse buttons=”2” scrollwheel=”true”/>
</PointingDevice>
</UserInteractionInputSupport>
</TerminalCapabilities>
</UsageEnvironment>
</Description>
</DIA>
Hunter, William Crawford, 2001) for doing this
due to the flexibility and straightness it provides.
Java creates servlets according to the generic
Java API, which include classes for handling the
HTTP requests. Servlets enable both server and
client to dynamically manipulate data and provide
appropriate components for dynamically formulat-
ing a web page that adapts to the capabilities of
the terminal device.
The life-cycle of a servlet is:
request of the client to the server, while the
response object is created from the server as
the answer to the client. The servlet remains
stored at the server's memory, as long as the
server is servicing requests.
5. If for any reason the servlet should be ter-
minated or the server can't service more
HTTP requests, the server at first assures
that no pending requests for processing exist
and then calls the method destroy . Finally,
the Garbage collector cleans up the server's
memory from any instances of the servlet.
1. The servlet's class is loaded
2. An instance of it is created
3. The init method of the class is loaded
4. The service method is called declaring in
parallel two objects, the request and the
response . The request object contains the
The procedure is repeated as many times as it
is required. The life-cycle of a servlet is illustrated
in Figure 1.
Search WWH ::




Custom Search