nerdexam
Oracle

1Z0-599 · Question #27

In a Java EE messaging application, one MDB is consuming a lot of memory at high traffic. What configuration should you use to prevent possible outofmemory error at high traffic and at the same time…

The correct answer is B. Configure a Work Manager for the MDB with a Minimum Thread Constraint. When to Use Work Managers Following are guildelines to help you determine when you might want to use Work Managers to customize thread management: / The default fair share is not sufficient. This usually ocurrs in situations where one application needs to be given higher…

Configuring WebLogic Server Resources

Question

In a Java EE messaging application, one MDB is consuming a lot of memory at high traffic. What configuration should you use to prevent possible outofmemory error at high traffic and at the same time not losing messages?

Options

  • AConfigure a Work Manager for the MDB with a Maximum Thread Constraint.
  • BConfigure a Work Manager for the MDB with a Minimum Thread Constraint.
  • CConfigure a Work Manager for the MDB with a Maximum Thread Constraint and a Capacity
  • DConfigure a Work Manager for the MDB with a Minimum Thread Constraint and a Capacity
  • EConfigure a Work Manager for the MDB with both a Maximum Thread Constraint and Minimum

How the community answered

(60 responses)
  • A
    15% (9)
  • B
    45% (27)
  • C
    28% (17)
  • D
    5% (3)
  • E
    7% (4)

Explanation

  • When to Use Work Managers Following are guildelines to help you determine when you might want to use Work Managers to customize thread management: / The default fair share is not sufficient. This usually ocurrs in situations where one application needs to be given higher priority over / A response time goal is required. / A minimum thread constraint needs to be specified to avoid server deadlock

Topics

#Work Manager#MDB#thread constraint#memory management

Community Discussion

No community discussion yet for this question.

Full 1Z0-599 Practice