Card 41 / 59: Your client has a severe performance problem in a heavily loaded EJB application as a consequence the system doesn't scale up properly in the peak traffic period during the Xmas shopping rush days. So he hired you to hunt for the possible performance bottle nicks and come up with possible solutions. The application is deployed as one EAR in one JVM and the data base is running on a separate machine. The session beans are only accessed by the web application deployed in the same EAR file. What is your recommendation?
A)
Change all local session beans to remote session beans
B)
Change all remote session beans to local session beans.
C)
Use JMS to transfer user request between the web layer and the session beans
D)
Use web services to transfer user request between the web layer and the session beans
Answer:
B) Change all remote session beans to local session beans.
Previous Card | ← Previous Card Button |
Next Card | → Next Card Button |
Flip Card | Space-Bar |
|