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 out-of-memory error at high traffic and at the same time not losing messages?()
- A、Configure a Work Manager for the MDB with a Maximum Thread Constraint.
- B、Configure a Work Manager for the MDB with a Minimum Thread Constraint.
- C、Configure a Work Manager for the MDB with a Maximum Thread Constraint and a Capacity Constraint.
- D、Configure a Work Manager for the MDB with a Minimum Thread Constraint and a Capacity Constraint.
- E、Configure a Work Manager for the MDB with both a Maximum Thread Constraint and Minimum Thread Constraint.
正确答案:B
答案解析:有

微信扫一扫手机做题