Introduction - If you have any usage issues, please Google them yourself
DB to XML and the basic operation of the Curd. Use a combination of two commonly used design patterns: MVC model+ DAO mode.
Packet : 47651460employeecrud.rar filelist
employeeCRUD\.classpath
employeeCRUD\.project
employeeCRUD\ConsoleUI.bat
employeeCRUD\SwingGUI.bat
employeeCRUD\src\main\java\com\mycompany\myapp\ConsoleUI.java
employeeCRUD\src\main\java\com\mycompany\myapp\SwingGUI.java
employeeCRUD\src\main\java\com\mycompany\myapp\view\swing\EmployeeSwingController.java
employeeCRUD\src\main\java\com\mycompany\myapp\view\swing\EmployeeSwingView.java
employeeCRUD\src\main\java\com\mycompany\myapp\view\console\EmployeeConsoleController.java
employeeCRUD\src\main\java\com\mycompany\myapp\view\console\EmployeeConsoleView.java
employeeCRUD\src\main\java\com\mycompany\myapp\util\Constants.java
employeeCRUD\src\main\java\com\mycompany\myapp\service\EmployeeManager.java
employeeCRUD\src\main\java\com\mycompany\myapp\service\GenericManager.java
employeeCRUD\src\main\java\com\mycompany\myapp\service\impl\EmployeeManagerImpl.java
employeeCRUD\src\main\java\com\mycompany\myapp\service\impl\GenericManagerImpl.java
employeeCRUD\src\main\java\com\mycompany\myapp\model\Employee.java
employeeCRUD\src\main\java\com\mycompany\myapp\exception\XmlFileReadException.java
employeeCRUD\src\main\java\com\mycompany\myapp\exception\XmlFileWriteException.java
employeeCRUD\src\main\java\com\mycompany\myapp\dao\EmployeeDao.java
employeeCRUD\src\main\java\com\mycompany\myapp\dao\GenericDao.java
employeeCRUD\src\main\java\com\mycompany\myapp\dao\xml\EmployeeDaoXml.java
employeeCRUD\src\main\java\com\mycompany\myapp\dao\jdbc\DbHelper.java
employeeCRUD\src\main\java\com\mycompany\myapp\dao\jdbc\EmployeeDAOJdbc.java
employeeCRUD\src\main\java\com\mycompany\myapp\control\ControllerInterface.java
employeeCRUD\lib\dom4j-1.6.jar
employeeCRUD\lib\mysql-connector-java-5.0.5-bin.jar
employeeCRUD\docs\dbscripts@mysql.sql
employeeCRUD\data\employees.xml
employeeCRUD\bin\com\mycompany\myapp\view\swing\EmployeeSwingView$1.class
employeeCRUD\bin\com\mycompany\myapp\view\swing\EmployeeSwingView.class
employeeCRUD\bin\com\mycompany\myapp\view\swing\EmployeeSwingController.class
employeeCRUD\bin\com\mycompany\myapp\view\console\EmployeeConsoleView.class
employeeCRUD\bin\com\mycompany\myapp\view\console\EmployeeConsoleController.class
employeeCRUD\bin\com\mycompany\myapp\util\Constants.class
employeeCRUD\bin\com\mycompany\myapp\service\impl\GenericManagerImpl.class
employeeCRUD\bin\com\mycompany\myapp\service\impl\EmployeeManagerImpl.class
employeeCRUD\bin\com\mycompany\myapp\service\GenericManager.class
employeeCRUD\bin\com\mycompany\myapp\service\EmployeeManager.class
employeeCRUD\bin\com\mycompany\myapp\model\Employee.class
employeeCRUD\bin\com\mycompany\myapp\exception\XmlFileWriteException.class
employeeCRUD\bin\com\mycompany\myapp\exception\XmlFileReadException.class
employeeCRUD\bin\com\mycompany\myapp\dao\xml\EmployeeDaoXml.class
employeeCRUD\bin\com\mycompany\myapp\dao\jdbc\EmployeeDAOJdbc.class
employeeCRUD\bin\com\mycompany\myapp\dao\jdbc\DbHelper.class
employeeCRUD\bin\com\mycompany\myapp\dao\GenericDao.class
employeeCRUD\bin\com\mycompany\myapp\dao\EmployeeDao.class
employeeCRUD\bin\com\mycompany\myapp\control\ControllerInterface.class
employeeCRUD\bin\com\mycompany\myapp\SwingGUI.class
employeeCRUD\bin\com\mycompany\myapp\ConsoleUI.class
employeeCRUD\readme@SwingGUI.txt
employeeCRUD\readme@ConsoleUI.txt
employeeCRUD\src\main\java\com\mycompany\myapp\view\swing
employeeCRUD\src\main\java\com\mycompany\myapp\view\console
employeeCRUD\src\main\java\com\mycompany\myapp\service\impl
employeeCRUD\src\main\java\com\mycompany\myapp\dao\xml
employeeCRUD\src\main\java\com\mycompany\myapp\dao\jdbc
employeeCRUD\src\main\java\com\mycompany\myapp\view
employeeCRUD\src\main\java\com\mycompany\myapp\util
employeeCRUD\src\main\java\com\mycompany\myapp\service
employeeCRUD\src\main\java\com\mycompany\myapp\model
employeeCRUD\src\main\java\com\mycompany\myapp\exception
employeeCRUD\src\main\java\com\mycompany\myapp\dao
employeeCRUD\src\main\java\com\mycompany\myapp\control
employeeCRUD\src\main\java\com\mycompany\myapp
employeeCRUD\bin\com\mycompany\myapp\view\swing
employeeCRUD\bin\com\mycompany\myapp\view\console
employeeCRUD\bin\com\mycompany\myapp\service\impl
employeeCRUD\bin\com\mycompany\myapp\dao\xml
employeeCRUD\bin\com\mycompany\myapp\dao\jdbc
employeeCRUD\src\main\java\com\mycompany
employeeCRUD\bin\com\mycompany\myapp\view
employeeCRUD\bin\com\mycompany\myapp\util
employeeCRUD\bin\com\mycompany\myapp\service
employeeCRUD\bin\com\mycompany\myapp\model
employeeCRUD\bin\com\mycompany\myapp\exception
employeeCRUD\bin\com\mycompany\myapp\dao
employeeCRUD\bin\com\mycompany\myapp\control
employeeCRUD\src\main\java\com
employeeCRUD\bin\com\mycompany\myapp
employeeCRUD\src\main\java
employeeCRUD\bin\com\mycompany
employeeCRUD\src\main
employeeCRUD\src\test
employeeCRUD\bin\com
employeeCRUD\src
employeeCRUD\lib
employeeCRUD\docs
employeeCRUD\data
employeeCRUD\bin
employeeCRUD