finance.petrucelli
Class DisplayServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by finance.petrucelli.DisplayServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class DisplayServlet
extends javax.servlet.http.HttpServlet

The main DisplayServlet for our WebApplication

Author:
James
See Also:
Serialized Form

Constructor Summary
DisplayServlet()
           
 
Method Summary
static Brokers getBrokers()
          This method can be used to retrieve all the brokers from a mySql table.
static Brokers getBrokersFromFile()
          This method will read a comma separated file to populate a Brokers object
 
Methods inherited from class javax.servlet.http.HttpServlet
service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, init, init, log, log
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DisplayServlet

public DisplayServlet()
Method Detail

getBrokersFromFile

public static Brokers getBrokersFromFile()
                                  throws java.io.IOException
This method will read a comma separated file to populate a Brokers object

Returns:
Throws:
java.io.IOException

getBrokers

public static Brokers getBrokers()
This method can be used to retrieve all the brokers from a mySql table. Not currently implemented in this project

Returns: