This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Got another sample quiz item to run by ya...

 
Mike Cunningham
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This was from the IBM sample 287 test.
Given the design goal of having an application be as robust as possible, which techniques should the developer AVOID using in the design:
A) Use persistent HttpSessions to manage application state data.
B) Use stateful session EJBs to manage application state data.
C) Make references to node-specific resources.
D) Make all resource references via java:comp/env JNDI references.
Any help on this would be much appreciated.
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Given the design goal of having an application be as robust as possible, which techniques should the developer AVOID using in the design:
A) Use persistent HttpSessions to manage application state data.

Avoid based on the fact that HttpSession data is only available for HTTP clients?
B) Use stateful session EJBs to manage application state data.

This should be ok.
C) Make references to node-specific resources.

Avoid for the obvious reasons.
D) Make all resource references via java:comp/env JNDI references.

This should be ok.
 
Swapan Mazumdar
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Lasse Koskela:
C) Make references to node-specific resources

Hi Lasse,

I am preparing for the test 287 and would be writing the exam soon. What does the above quoted statement means literally?
 
arunij katiliyar
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
AVOID OPTIONS A , B , C.

OPTIONS C becomes a failure in failover as result of sticky sessions or server affinity .OPTION A no good . OPTION B becomes a failure in failover .
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic