|
(SCEA) Sun Certified Enterprise Architect for J2EE Technology (CX-310-051) Tutorial |
|
|
|
Contributed by Joe
|
|
Thursday, 22 June 2006 |
|
Page 4 of 5 Exam Objectives Product Description Sun Certified Enterprise Architect for J2EE Technology (SCEA 310-051)Given: 1. public interface Foo { 2. int k = 4: 3. } Which three are equivalent to line 2? (Choose three) H. final int k = 4: I. public int k = 4; J. static int k = 4; K. private int k = 4: L. abstract int k = 4; M. volatile int k = 4: N. transient int k = 4; Answer: A, B, C
The current architecture has servlets making calls to EJB. The system has grown to over 200 servlets causing development and configuration problems. Because the system is still evolving, the APIs to the EJB have changed quite often. This has caused the servlet writers to adapt the new APIs every time a change is made. Which two statements about this problem are true? (Choose two) A. Introducing a configuration control system will fix the problem. B. This is an example of brittle code dependencies and tight coupling. C. This problem can be corrected by converting all entity EJB to stateless session EJB. D. Introducing a client-side abstraction which sits between the servlet and FJB will break the tight coupling. E. Having the servlets communicate with EJB using JMS will prevent changing servlet code every time an EJB API changes. F. Introducing a session bean, in front of all EJB, which mimics the EJB APIs will prevent changing servlet code every time an EJB API changes
|
|
Last Updated ( Friday, 07 July 2006 )
|