Labour Day Special Limited Time Flat 70% Discount offer - Ends in 0d 00h 00m 00s - Coupon code: 70spcl

Oracle 1z0-900 Java EE 7 Application Developer Exam Practice Test

Page: 1 / 14
Total 142 questions

Java EE 7 Application Developer Questions and Answers

Question 1

Given:

Question # 1

If an exception is thrown inside the if block, what effect will it have on the transaction?

Options:

A.

The transaction will be committed.

B.

The transaction will be suspended.

C.

The transaction will be rolled back.

Question 2

Which three values are applicable for the profile option - “Transaction Processing Mode” for subinventory transfer and interorganization transfer?

Options:

A.

Background Processing

B.

Sequential Processing

C.

Concurrent Processing

D.

Online Processing

E.

Offline Processing

F.

Blind Processing

Question 3

A shipment has not yet been created for a pick that you are running.

How is the due date calculated?

Options:

A.

request date from the order line

B.

schedule ship date from the order line

C.

promise date from the order line

D.

system date

E.

earliest acceptable date from the order line

Question 4

Given the code fragment:

Question # 4

Which URL triggers the invocation of the getEmployee () method?

Options:

A.

/Employees/89724

B.

/Employees/J6349

C.

/Employees/id:a7280

D.

/Employees/id/J6349

Question 5

Your class requires multiple resources defined, as shown in the following:

Question # 5

Which annotation do you use to group multiple @Resource declarations together for class-based injection, replacing in the code above?

Options:

A.

@Resources

B.

@Resource

C.

@ResourceGroup

D.

@ResourceCollection

Question 6

Given an HttpServletRequest request and an EJB SessionContext ctx.

Which is a valid way to retrieve the Principal invoking either behavior?

Options:

A.

request.getCallerPrincipal() and ctx.getCallerPrincipal()

B.

request.getUserPrincipal() and ctx.getUserPrincipal()

C.

request.getCallerPrincipal() and ctx.getUserPrincipal()

D.

request.getUserPrincipal() and ctx.getCallerPrincipal()

Question 7

Which code snippet prints the exception error message as part of the page output?

Options:

A.

<%= exception.message %>

B.

C.

<% exception.getMessage(); %>

D.

<% System.out.println(e.getMessage()) %>

Question 8

Your customer has a requirement across their 10 warehouses, each with different users. They would like that whenever a warehouse user logs in, their warehouse should get populated.

How will you achieve this?

Options:

A.

Set up the profile option INV_DEFAULT_WHSE_ID at site level.

B.

Set up the profile option INV_DEFAULT_WHSE_ID at user level for each user.

C.

Set up the profile option INV_DEFAULT_WHSE_ID at role level (different roles for different warehouses).

D.

Set up the profile option INV_DEFAULT_ORG_ID at user level for each user.

E.

Set up the profile option INV_DEFAULT_ORG_ID at role level (different roles for different warehouses).

F.

Set up the profile option INV_DEFAULT_ORG_ID at site level.

Question 9

Identify the availability type that is applicable for the item quantities maintained in a unit of measure different from the primary unit of measure and is available for various transactions.

Options:

A.

Available

B.

Secondary Available Quantity

C.

Reserved

D.

Secondary On-hand Quantity

E.

On Hand

Question 10

You are working with JMS publish-subscribe operations.

What happens when a producer publishes a message to a topic for which a durable subscription exists but there are no subscribers available?

Options:

A.

The publisher waits for a subscriber, who then consumes it. However, the publisher will time out if no consumer arrives within the given timeout period.

B.

The publisher sends the message. However, it is never consumed because there wasn’t anything listening when it arrived, regardless of the message timeout length.

C.

The publisher successfully sends a message, which will be consumed later, once there is a subscriber, assuming the message hasn’t timed out.

D.

The message publisher is immediately notified about the lack of subscribers and can decide for itself if, and when, to resend.

Question 11

Given the code fragment:

Question # 11

Which code can be added to register both of these methods to receive BankEvent notifications only if an instance of BankActivityService is already instantiated in the current context?

Options:

A.

@Observes(notifyObserver=IF_EXISTS) on line 3 and line 6

B.

@Observes(during=IN_PROGRESS) on line 1

C.

@Observes(during=AFTER_COMPLETION) on line 1

D.

@Observes(notifyObserver=IF_EXISTS) on line 4 and line 7 before method parameter declaration

Question 12

Identify three statements that are true about reservations in back-to-back processing.

Options:

A.

Partial fulfillment of reservations is supported.

B.

Changes to reservation in Oracle Logistics Cloud leads to exceptions, which are displayed in the Supply Chain Orchestration work area.

C.

Reservations cannot be created for back-to-back On Hand supply orders.

D.

One reservation is created for a demand and supply.

E.

Reservation supplies that can be reserved are Purchase Orders, Transfer Orders, Work Orders, and On Hand inventory.

Question 13

Given the JPQL code fragment:

Select pub.title, pub.author, pub.pages FROM Publisher pub

Which two clauses do you add to this JPQL query to retrieve only those books with between 500 and 750 total pages? (Choose two.)

Options:

A.

WHERE MIN(pages) >= 500 AND MAX(pages) <= 750

B.

WHERE pub.pages <= 500 OR pub.pages >= 750

C.

WHERE pub.pages BETWEEN 500 AND 750

D.

WHERE pub.pages <= 500 AND pub.pages >=750

Question 14

Your client is about to define their primary ledger.

Which set of three primary attributes do they need to know in order to complete this?

Options:

A.

Chart of Accounts, Description, and Accounting Method

B.

Chart of Accounts, Ledger Balance, and Accounting Method

C.

Chart of Accounts, Accounting Calendar, and Currency

D.

Currency, Description, and Accounting Method

Question 15

Your customer is a very large organization spanning across multiple countries. Their legal requirements, Human Resource Policies, and Functional Currencies for Ledger are different for each country. Your customer wants to maintain 10 different companies in the system.

Which combination meets this requirement?

Options:

A.

1 Enterprise, 10 Divisions, where each division has its own ledger with common legal entity across all divisions

B.

10 Enterprises, 10 Divisions, where each division has its own legal entity and ledger

C.

1 Enterprise, 10 Divisions, where each division has its own legal entity and ledger

D.

10 Enterprises, 1 Division, where each division has 10 legal entities and 1 ledger

Question 16

Given the code fragment:

Question # 16

Which method should be used on line 3 to enable default validation mechanism?

Options:

A.

u.setProperty(String, Object)

B.

u.setProperty(Schema)

C.

u.setEventHandler(ValidationEventHandler)

D.

u.setAdapter(XmlAdapter)

Question 17

Given a JSL document describing a batch job:

Question # 17

How do you initiate a batch job?

Options:

A.

Get the JobExecution object from BatchRuntime and call its start() method.

B.

Get the JobExecution object from BatchRuntime and set its status to JobStatus.INITIATED.

C.

Get the JobOperator object from BatchRuntime and call its start() method.

D.

Call BatchRunTime.initialize(“ProductLoadJob”);

Question 18

Reorder quantities for an item subinventory are calculated using Fixed Lot Multiple and Round Order Quantity. Assume that the reorder quantity is 24 and you specify 10 for the fixed lot multiple and enable rounding the reorder quantity.

What will be the reorder quantity?

Options:

A.

30

B.

20

C.

24

D.

25

Question 19

Given:

Question # 19

Which annotation do you use on line 1 to ensure that clients immediately time out when attempting to concurrently invoke callMethod () while another client is already accessing the bean?

Options:

A.

@AccessTimeout (value = 1, unit = TimeUnit.SECONDS)

B.

@AccessTimeout (null)

C.

@AccessTimeout (-1)

D.

@AccessTimeout (0)

Question 20

A supply request has been received in supply chain orchestration. Both organizations belong to the same legal entity and they do not have a buy-sell relationship between them.

Which type of execution document can fulfill the supply request?

Options:

A.

Transfer Order

B.

Purchase Requisitions

C.

Purchase Order

D.

Sales Order

Question 21

Given the set of navigation rules:

Question # 21

Which two define a valid flow of view IDs through the application? (Choose two.)

Options:

A.

home > goodbye > list-widgets

B.

dashboard > home > add-widget > list-widgets

C.

list-widgets > add-widget > home > dashboard > home

D.

home > list-widgets > add-widget > goodbye

Page: 1 / 14
Total 142 questions