Question: Write a JSF program that views, inserts, and updates staff information stored in a database, as shown in Figure 33.32. The view button displays a

Write a JSF program that views, inserts, and updates staff information stored in a database, as shown in Figure 33.32. The view button displays a record with a specified ID. The Staff table is created as follows:
create table Staff ( id char(9) not null, lastName varchar(15), firstName varchar(15), mi char(1), address varchar(20),

state char(2), telephone char(10), email varchar(40), primary key (id) );


create table Staff ( id char(9) not null, lastName varchar(15), firstName varchar(15),

create table Staff ( id char(9) not null, lastName varchar(15), firstName varchar(15), mi char(1), address varchar(20), city varchar(20), state char(2), telephone char(10), email varchar(40), primary key (id) );

Step by Step Solution

3.29 Rating (155 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Program Plan Create a xhtml file which will act as the view for this web application Create class Exercise3309 it will contain all the functions to view update and insert data init initialize and crea... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Java Programming Questions!