Summer Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: exc65

Given the code fragments:

What code should you add to the body of the updateEmployee method in order to save pending changes to the database?

A.

entityManager.merge(emp);

B.

Context. Ctx = new InitialContext();UserTransaction utx = (UserTransaction)ctx.lookup(“java:comp/UserTransaction”);utx.begin();entityManager.merge(emp);utx.commit();С. entityManager.lock(emp);EntityManager.merge(emp);

C.

entityManager.getTransaction().begin();entityManager.merge(emp);entityManager.getTransaction().commit();

Given the code fragment:

And

Which two steps, when performed independently, enable the index.xhtml page to print the following text: The Id is 12345? (Choose two.)

A.

Replace line 2 with: @Inject public void setAcc(Account acc)

B.

Replace line 3 with: @Inject public Account getAcc()

C.

Replace line 1 with: @Inject private Account acc;

D.

Replace line 3 with: public @Inject Account getAcc()

E.

Replace line 1 with: private @Inject Account acc;

F.

Replace line 2 with: public void setAcc(@Inject Account acc)

Given a JSL document describing a batch job:

How do you initiate a batch job?

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”);

The physical inventory process is carried out for a particular inventory organization with the following parameters:

    Negative quantity Tolerance Percentage is set to 10%

    Approval Type = ‘Always’

The system says that there are 100 on band, but you only counted 95. What will happen?

A.

The setup is invalid; it will give an error message.

B.

Because the 95 is within the 10% tolerance, it will post without approval.

C.

The system will ask a user to recount before posting.

D.

An approval will be required before posting.

Which statement is false about generating an Internal Material Transfer for expense destination Transfer Order?

A.

Expense destination transfers are expensed upon delivery hitting an expense account instead of an inventory asset account as would be the case for inventory destination transfers.

B.

If the receipt is not required Cost Accounting will pick up both the issue and receipt activity from the single inventory transaction “Transfer Order Issue”

C.

If the receipt is required, the accounting of the receipt delivery transaction will happen only on Receipt Accounting because there will not be a delivery transaction in inventory.

D.

Costs for Lot and serial numbers are tracked at put away time when the items are recorded in a destination inventory location.

E.

Cost Management will pick up the delivery transaction directly from Receiving and process the expense accounting from that transaction.

Your customer is setting up serial control. The requirement is that if item A has serial 123, then they don’t want item B to also have serial 123 within the same inventory organization.

Which serial control setting must be used to meet this requirement?

A.

Unique across Enterprise

B.

Unique within items

C.

Unique within organization

D.

Unique across organizations

E.

Unique within Item and organization

Which two elements CANNOT be injected by using an @Inject annotation? (Choose two.)

A.

static fields

B.

instance fields declared final

C.

concrete methods

D.

abstract methods

Give the code fragment:

And the code fragment:

The sendConfirmation() and reserve() methods should be executed in the same transactional context.

Which transaction attributes do you ensure this?

A.

Add annotations:@TransactionAttribute (TransactionAttributeType.REQUIRES_NEW) at line 2,@Transactional at line 9 and@TransactionAttribute ((TransactionAttributeType.MANDATORY) at line 12

B.

No additional annotations are required.

C.

Add annotations:@TransactionAttribute (TransactionAttributeType.REQUIRED) at line 2,@Transactional at line 9 and@TransactionAttribute ((TransactionAttributeType.REQUIRES_NEW) at line 12

D.

Add annotations:@TransactionAttribute (TransactionAttributeType.MANDATORY) at line 2,@Transactional at line 9 and@TransactionAttribute ((TransactionAttributeType.REQUIRES_NEW) at line 12

Which is a valid description of REST?

A.

REST provides the same architectural properties as SOAP.

B.

REST is a library that is part of JEE called JAX-RS.

C.

REST is the conventional way of interacting with information resources.

D.

REST is a Web Services standard supported by JEE and JAX-RS.

How can a servlet indicate to the browser that cookie data should be sent over a secure connection?

A.

Call the getSecure(true) method on the cookie object.

B.

Encrypt the cookie data. The browser automatically sends encrypted data over a secure connection.

C.

Set the ENCRYPT header in the response.

D.

Configure SessionTrackingMode.SSL on the ServletContext object.