Package | Class | Use | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

## Package com.infosoftglobal.fusioncharts

Class Summary
Constants | Contains Database Names as final String.These can be used for comparison with String literals.
DBConnection | Contains methods to get a connection to the database. The database could be MS Access or MySQL This class contains database specific code to connect to the database Access or MySQL Only one instance of this class should ideally be used throughtout your application. For demo purpose, we have kept the default constructor available to all classes. Ideally you would override the default constructor and write a getInstance method which will return a single DBConnection instance always,thus making it a singleton class. In the current application,`InitServlet` instantiates this class and sets all the variables like dbName,accessDBPath & mySQLDSN and puts that instance in the application context so that it is available to all the jsps.
FusionChartsCreator | Contains methods to add no cache string to a url,creating the charts. This class can be used to create chart xml given the swf filename and other parameters. In order to use this class in your jsps,import this class and call the appropriate method directly as follows: FusionChartsCreator.createChart(...);
InitServlet | Servlet implementation class for Servlet: InitServlet Initializes the database name,path,DSN.Also, it instantiates the DBConnection class and puts it in the Application context so that all jsps can use this instance of DBConnection class which has all the db related parameters configured.

Package | Class | Use | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES