• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

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

 
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 .
 
You don't like waffles? Well, do you like this tiny ad?
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic