Labour Day Special 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: exams65

Java EE 7 Application Developer Question and Answers

Java EE 7 Application Developer

Last Update May 3, 2024
Total Questions : 142

We are offering FREE 1z0-900 Oracle exam questions. All you do is to just go and sign up. Give your details, prepare 1z0-900 free exam questions and then go for complete pool of Java EE 7 Application Developer test questions that will help you more.

1z0-900 pdf

1z0-900 PDF

$35  $99.99
1z0-900 Engine

1z0-900 Testing Engine

$42  $119.99
1z0-900 PDF + Engine

1z0-900 PDF + Testing Engine

$56  $159.99
Questions 1

Your customer is managing a large sales team divided in two different geographies in the USA. They have the Est Coast sales team and the Central sales team. Both teams are handled by one manager and perform the same function.

Your customer wants to track the expenses of the two teams separately; however, they do not consider them different as they are handled by one manager only.

How will you fulfill the requirement?

Options:

A.  

Define them as a single department and two separate cost centers.

B.  

Define them as two separate departments and a single cost center.

C.  

Define them as one department and one cost center.

D.  

It is not possible to fulfill the requirement.

Discussion 0
Questions 2

Material is transferred between the Subinventories within an organization via transfer order. The setup is complete and the transfer order is created though the FBDI process.

What is the primary interface data that needs to be completed in the template?

Options:

A.  

CST_I_INCOMING_TXN_COSTS

B.  

INV_SUBINVENTORY_TRANSFER

C.  

INV_TRANSACTION_LOTS_INTERFACE

D.  

INV_SERIAL_NUMBERS_INTERFACE

E.  

INV_TRANSACTIONS_INTERFACE

Discussion 0
Questions 3

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.

Discussion 0
Questions 4

Which two statements are true about the relationship between JavaServer Pages (JSP) and servlets? (Choose two.)

Options:

A.  

A JSP page must extend the HTTPServlet class to behave like a servlet.

B.  

A JSP page has access to the same information, objects, and a context as a servlet.

C.  

A JSP page is interpreted by JSPServlet.

D.  

A JSP page must be written as either an XML file or a JSP file before it is turned into a servlet.

Discussion 0
Questions 5

What are the four steps for the move request process flow?

Options:

A.  

Create shipment

B.  

Create Movement Request

C.  

Confirm pick slips

D.  

Run the Movement Request Pick Slip Report

E.  

Physically move the material

F.  

Run pick slip allocation

Discussion 0
Questions 6

Your customer wants to transfer material from facility A to facility B. They are using the interorganization transfer to perform the transaction in the system. Their requirement is “whenever material is transferred from their facility A to facility B, facility B needs to pay 5% additional amount to the current item cost”.

Which task must be set up to accomplish this requirement?

Options:

A.  

Manage Interorganization Markup

B.  

Manage Transfer Pricing Rules

C.  

Manage Cost Plus Pricing

D.  

Manage Cost Organization Relationships

E.  

Manage Organization Relationships

Discussion 0
Questions 7

Which statement is true about JAX-RS resource implementation?

Options:

A.  

The REST resource implementation class must extend the javax.ws.rs.core.Application class

B.  

The REST resource class can be implemented as a stateful Enterprise JavaBean (EJB).

C.  

The REST resource class can be implemented as a Plain Old Java Object (POJO).

D.  

The REST resource implementation class must not be final.

Discussion 0
Questions 8

You want to allow one set of roles to POST to a resource and another set of roles to GET it.

Which two configuration options should you use? (Choose two.)

Options:

A.  

two separate @HttpMethodConstraints annotations and sets of roles

B.  

a single @HttpMethodContstraint annotation and a map of method to roles

C.  

two with different in the deployment descriptor

D.  

a single with two with different in the deployment descriptor

Discussion 0
Questions 9

You need to exchange large binary messages using chunks in a WebSocket application. Identify two ways in which you can receive partial messages. (Choose two.)

Options:

A.  

Define an @OnMessage method with a single MimePart parameter.

B.  

Use a ChunkListener interface implementation.

C.  

Use a MessageHandler.Partial interface implementation.

D.  

Define an @OnMessage method with byte [] as the first parameter and a boolean as the second parameter.

Discussion 0
Questions 10

What three Key Performance Indicators are available in the Warehouse Operations Dashboard?

Options:

A.  

Shipment Value

B.  

Hit or Miss Accuracy

C.  

Cycle Count

D.  

Inventory Value

E.  

Distributed Value

F.  

Exact Matches Rate

Discussion 0
Questions 11

Given the code fragment:

How are transactions managed?

Options:

A.  

through a single shared transaction across the connection factory

B.  

through a separate transaction per JMS Consumer

C.  

through a single transaction for the entire JMS Topic

D.  

through a single shared transaction in the JMS Context

Discussion 0
Questions 12

Given:

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)

Discussion 0
Questions 13

Your customer has received 50 boxes of item A (priced at $10 per box) and these items are transferred to the asset Inventory organization. There are no additional quantities in any of the inventory organizations apart from the received 50 boxes. After running all the necessary cost accounting and receipt accounting processes successfully, the item valuation for item A is still zero.

What is the reason?

Options:

A.  

Items are not consigned items but ownership is still with the supplier.

B.  

Items are consigned items and ownership lies with the supplier.

C.  

Items are consigned and ownership is transferred to “owned”.

D.  

Items are not consigned items and ownership is with the organization.

Discussion 0
Questions 14

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()) %>

Discussion 0
Questions 15

When should a JPA entity implement the Serializable interface?

Options:

A.  

when JPA entities are used in the EJB Full container

B.  

when JPA entities are used outside of the EJB Lite container

C.  

always, because JPA entities are required to implement the Serializable interface

D.  

when JPA entities are used as parameters or return values by the remote EJB operations

Discussion 0
Questions 16

Which two approaches would result in the current date being added to the output of a JSP? (Choose two.)

Options:

A.  

<%= out.printIn(new java.util.Date()) %>

B.  

<% out.printIn(new java.util.Date()); %>

C.  

<%= new java.util.Date() %>

D.  

<% System.out.printIn(new java.util.Date()); %>

Discussion 0
Questions 17

Given the code fragment:

How can you apply DateConverter to the birthday field?

Options:

A.  

by adding @Convert(to=Date.class) at line 3

B.  

by invoking the setConverter(DateConverter.class) method on the EntityManager object

C.  

by adding @Converter(autoApply=true) at line 1

D.  

by adding @Convert((DateConverter.class)) at line 2

Discussion 0
Questions 18

Given the code fragment:

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

Discussion 0
Questions 19

Which interface should you implement if you want to be alerted to the lifecycle events surrounding your task being executed by a ManagedExecutorService?

Options:

A.  

the Runnable Interface

B.  

the ManagedExecutorTask interface

C.  

the TaskEventListener interface

D.  

the ManagedTaskListener interface

Discussion 0
Questions 20

Given:

How often does the submitted task run?

Options:

A.  

need more details to determine

B.  

once

C.  

as many times as you like

D.  

based on a schedule

Discussion 0
Questions 21

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.)

Options:

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)

Discussion 0