• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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 .
 
Any sufficiently advanced technology will be used as a cat toy. And this tiny ad contains a very small cat:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic