Win a copy of Mastering Corda: Blockchain for Java Developers this week in the Cloud/Virtualization forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

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 .
 
Oh sure, it's a tiny ad, but under the right circumstances, it gets bigger.
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic