0% found this document useful (0 votes)
37 views3 pages

The Ultimate Guide To Oracle GoldenGate 12c Implementation Essentials 1Z0-447

Oracle GoldenGate 12c Implementation Essentials 1Z0-447 Certification Exam Credential The following code creates a method processResponse() inside the Java script that processes the JSON to show it on the HTML. Class Name: src/main/webapp/css/app.css Github Location : app.css Description: The stylesheet has the color, font, and style for all the UI elements such as buttons, side navigation, main page, links, etc., on the page. Steps to be Performed:

Uploaded by

Eleana
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
37 views3 pages

The Ultimate Guide To Oracle GoldenGate 12c Implementation Essentials 1Z0-447

Oracle GoldenGate 12c Implementation Essentials 1Z0-447 Certification Exam Credential The following code creates a method processResponse() inside the Java script that processes the JSON to show it on the HTML. Class Name: src/main/webapp/css/app.css Github Location : app.css Description: The stylesheet has the color, font, and style for all the UI elements such as buttons, side navigation, main page, links, etc., on the page. Steps to be Performed:

Uploaded by

Eleana
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

The Ultimate Guide to Oracle GoldenGate 12c

Implementation Essentials 1Z0-447

Oracle GoldenGate 12c Implementation Essentials 1Z0-447 Certification Exam Credential The
following code creates a method processResponse() inside the Java script that
processes the JSON to show it on the HTML.
Class Name: src/main/webapp/css/app.css
Github Location : app.css
Description: The stylesheet has the color, font, and style for all the UI elements such
as buttons, side navigation, main page, links, etc., on the page.
Steps to be Performed:
Step 14: Download the app.css and use it in your applica
Search by Employee ID
“Search by Employee Id” is the functionality where we can search for a particular
employee based on their employee Id which is the primary key. The user needs to
input the employee Id and submit the request.
Employee Java Bean
Class Name: src/main/java/com/oracle/jdbc/samples/bean/EmployeeBean.java
Github Location: EmployeeBean.java
Description: New method getEmployee(int) for searching employee by ID.
Steps to be performed:
Step 1: Declare a method getEmployee(int)
Step 1:Instructions for Declaring getEmployee(int) method:
1. The file EmployeeBean is already created on Day 1 for “ListAll” functionality. We
can use the same class and add new methods for each one of the functionalities.
2. On the new line, declare a method getEmployee(int) that takes EmployeeId as a
parameter.
public List<Employee> getEmployee(int empId);
Implement a new method getEmployee(int) in EmployeeBeanImpl.java.
Github Location: EmployeeBeanImpl.java
Description: Implement a new method getEmployee(int) to search employee by id.
This method takes the employee Id as input parameter and returns an object of type
Employee.
Steps to be Performed:
Step 2: Implement a new method getEmployee(int):
Step 2: Instructions to create getEmployee(int) Method:
1. Declare the method getEmployee(int) that returns a List of the objects of type
Employee.
public List<Employee> getEmployee(int empId) {
2. Declare a variable for the return value of type List<Employee>
List<Employee> returnValue = new ArrayList<>();
3. The first try block is for the getting a database connection by invoking the method
getConnection(). Declare a variable connection to establish a database connection.
Class Name: src/main/java/com/oracle/jdbc/samples/web/WebController.java
Github Location: WebController.java
Description: This servlet has already been created in Day 1. We will be adding the
relevant code to search by employee id.
Steps to be performed:
Step 3: Add the code to search by employee id to the method processRequest().
Step 3: Instruction for adding code to processRequest():
1. Declare a varianle ID_KEY to capture the employee id. This is a global variable,
hence, needs to be declared outside the method processRequest() but within the
Description: This is the HTML that shows an input box for user to enter the employee
id. If the employee record is found, then the details of the employee will be shown on
the page, otherwise, an error message will be displayed.
Steps to be performed:
Step 4: Create the title, head, and stylesheet for the HTML page.
Step 5: Create a function to submit the input field i.e, employee id
Step 6: Create a method processResponse() – To process the JSON response and

You might also like