Sun Microsystems 1.2 Telephone Accessories User Manual


 
86 Java ME TCK Framework Developer’s Guide July 2007
Application model: Xlet
Pluggable communication channel
applet_agent.jar - JavaTest agent for Personal Profile.
Application model: Applet
Pluggable communication channel
src Directory
The src directory contains the Framework test sources, test descriptions,
precompiled Framework classes, and scripts for tests precompilation. Framework
classes consist of server, agent, interview, and communication channel source files.
Framework Server Classes and Interfaces
The following are Framework server classes and interfaces provided in the src
directory:
com/sun/cldc/communication/midp/HttpConstants - HTTP code and
string constants.
com/sun/cldc/communication/midp/SuiteSigner - Used to sign JAR files.
com/sun/cldc/communication/midp/ContentHandler - Used to generate
the JAD file interface.
com/sun/cldc/communication/midp/DefaultContentHandler - Content
handler generating default JAD file.
A custom content handler can be substituted if device-specific or technology-
specific JAD file attributes are needed.
com/sun/cldc/communication/midp/BaseServer - Abstract class.
com/sun/cldc/communication/midp/BaseHttpServer - Used as a basis for
HTTP connection tests.
com/sun/cldc/communication/midp/HttpServer - Interface.
com/sun/cldc/communication/midp/MIDHttpExecutionServer - Actual
server used for application delivery.