Given the following code in a stateful session bean business method; try { Socket skt = new Socket(x,y) ; } catch (Exception ex) { ex. printStackTrace() ; } Assuming that x and y are the port and IP addresses respectively of a running service, which is running on the same server, which of the following is correct?
A) Failure in Compilation
B) Failure in Deployment
C) An exception is thrown at runtime
D) Indeterminate. The code is not guaranteed to be ported to all EJB 2. 0 containers, though it may deploy.
Correct Answer:
Verified
Q15: Which of the following statement is true?
A)
Q16: Which of the following below are abilities
Q17: Which of the methods should be implemented
Q18: Business delegate pattern
A) Hides remote services complexity
B)
Q19: Which of the following is not a
Q20: Which of the following is true?
A) Preserving
Q21: Stateful Session beans contain
A) Home Interface
B) Remote
Q22: Which of the following regarding business methods
Q23: Choose the incorrect statement from the following
Q25: Which of the following is true about
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents