This is a Console Based Menu Driven JDBC Application connected with Oracle Database to perform the following four operation
Add Employee
Search Employee
Update Employee
Delete Employee
This is a layered application consisting of mainly three different layers
This layer normally interacts with the database associated with the application.Here the following functions has been done
- Declare an interface with all abstract methods where each and every abstract methods is representing a particular operation.
- Provide implementation for interface methods.
- Provide a factory class and factory methods to send object to previous layer i.e Service Layer
This layer normally interacts with the DAO Layer.Here the following functions has been performed
- Declare an interface with abstract methods where each and every abstract methods represent a particular operation,
- Prepare an implementation class for the interface and its methods
- Get Data from Controller Layer and get DAO oBject and access Dao Methods
- Prepare a Factory class and Factory methods to supply object to Controller Layer
Sincle this is a StandAlone Application so we will have test class for Presentation and Controller Layer i.e void main() in Test Layer.So thhe menu driven program with the main method is written here.
ADD EMPLOYEE MODULE | ||
SEARCH EMPLOYEE MODULE | ||
UPDATE EMPLOYEE MODULE | ||
DELETE EMPLOYEE MODULE |