• 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:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Response Time

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There is this requirement that response time should not be more than 15 seconds, what class can you use to ensure that a transaction that is taking too long gets cut off
 
Ranch Hand
Posts: 172
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You must think in other type of desitions, like, wich transaction mechanism, wich type of ejb, persistence, client server communication ... etc. In terms of performance.
 
Ranch Hand
Posts: 181
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Nancy,

Santiago is right.

You have timeout mechanism to deal with that (Connection Timeout, Http Timeout). But this is not the main cause of bad response time. Garbage collection, bad load distribution, bad separation of layers, inappropriate use of entity beans (collection of Entities) etc.

I have read Mark Cade�s book and I followed his advices, so I am not using entity beans at all... Only DAOs. But I have seen people that used Entity beans and passed and vice-versa. I think you must tell them whether your solution is scallable and why. You will have to justify it in the Essay exam (part III).
reply
    Bookmark Topic Watch Topic
  • New Topic