Question: these are the entity classes import java.sql.Date; class Community { private long memberId; private String name, email; private long phone; public Community(long memberId, String name,

these are the entity classes
import java.sql.Date;
class Community { private long memberId; private String name, email; private long phone;
public Community(long memberId, String name, String email, long phone) { this.memberId = memberId; this.name = name; this.email = email; this.phone = phone; }
public long getMemberId() { return memberId; }
public void setMemberId(long memberId) { this.memberId = memberId; }
public String getName() { return name; }
public void setName(String name) { this.name = name; }
public String getEmail() { return email; }
public void setEmail(String email) { this.email = email; }
public long getPhone() { return phone; }
public void setPhone(long phone) { this.phone = phone; } }
class Registration { private long registerId; private int code; private Date registrationDate;
public Registration(long registerId, int code, Date registrationDate) { this.registerId = registerId; this.code = code; this.registrationDate = registrationDate; }
public long getRegisterId() { return registerId; }
public void setRegisterId(long registerId) { this.registerId = registerId; }
public int getCode() { return code; }
public void setCode(int code) { this.code = code; }
public Date getRegistrationDate() { return registrationDate; }
public void setRegistrationDate(Date registrationDate) { this.registrationDate = registrationDate; } }
2. Create JSF pages for the Entity classes you have created to do the CRUD operations. 2. Create JSF pages for the Entity classes you have created to do the CRUD operations
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
