The following table gives a brief description of all the internal Permit System classes. 
  
Class Name 
Description 
Company 
This class contains the methods to access the company data in the 
database. Furthermore, contact information is processed with this class.
CompanyAdd 
These servlets handle a user request for an addition, update, or deletion 
CompanyEdit 
of a company. After completion of the task, a confirmation message is 
CompanyDelete 
shown. 
CompanyList 
This servlet retrieves the list of all companies from the database. Using 
the MyHTML class, a formatted output of the list is presented to the 
user. 
Permit 
This class contains the methods to access the permit data in the 
database. The application form checking functions are also included to 
this class. 
PermitAdd 
This servlet processes a submitted application form using the checking 
functions of the Permit class. It utilizes the MultipartRequest class to 
upload drawing files that may have been submitted by the user. It 
generates an output providing the checking results, including options on 
how the user may continue (Back to Application, Cancel, Proceed). All 
application information is stored in the session object. 
PermitAdd2 
This servlet is reached if the application was approved by the system 
and confirmed by the user. The application data that was written to the 
session object in the PermitAdd servlet is retrieved, and new permit is 
stored in the database. 
PermitEdit 
These servlets handle the requests for updating or deletion of permits. 
PermitDelete 
After completion of the task, a confirmation message is shown. 
PermitSearch 
This class contains variables and methods to extract specific permits 
from the database. 
PermitList 
This servlet utilizes the PermitSearch class to obtain a list of permits 
according to submitted search criteria or a list of all permits issued for 
the last 30 days. Using the MyHTML class, a formatted output of the list 
is presented to the user. 
Option 
This class contains variables and methods to retrieve or update the 
options data from the Admin table of the database. 
OptionEdit 
This servlet handles the update request for options. 
Restriction 
This class contains the methods to access street restriction data in the 
Permit System database. 
65 




Java Web Hosting Application Development Using Java Technologies Hosting




 
TotalRoute.net Business web hosting division of Vision Web Hosting Inc. All rights reserved.