Finished compiling the data layer code after playing with my friends for two days, exhausted.
Well, the deadline is drawing near.
I’ve to go now.
In the last blog, there’s a problem about the pstmt.
pstmt (preparedStatement):
In my AdminDAOImpl.java, there;s an example:
—————————————main body——————————————————
This artical is the demo of the manager’s login code in the business and control layer.
compile Business layer and control layer code 编写业务层和控制层代码
eg. IAdminService.java
Section1: compile the IAdminService.java
cn.ylcto.service_interface IAdminService.java
Section2.
Compile the subclass AdminServiceImpl.java
Section3.
Compile the factory class
Section4. Compile a public class
Section5.
Compile the login method