HP Integrity NonStop J-Series User Manual
Page 226
Advertising

Figure 104 New Java Interface Dialog Box
The IEmployeeDao.java file is created.
4.
Modify the IEmployeeDao.java file to declare the methods implemented in the
EmployeeDao.java
file.
After modification, the IEmployeeDao.java file must appear as:
package com.hp.empinfo.service;
import java.sql.SQLException;
import com.hp.empinfo.domain.Employee;
public interface IEmployeeDao {
public Employee getDetail(int empid)throws SQLException;
public void insertDetail(int empid, String firstname, String lastname,
int age, String email)throws SQLException;
public String deleteEmployee(int empid)throws SQLException;
226 Integrating Frameworks
Advertising
This manual is related to the following products: