Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 315213
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T08:16:15+00:00 2026-05-12T08:16:15+00:00

I wanted to grab the concept of Execution Context class . I’m refering to

  • 0

I wanted to grab the concept of “Execution Context class” . I’m refering to this post at http://tinyurl.com/ryjn5o . Can anyone enlighten by explain more on how to create such class ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T08:16:15+00:00Added an answer on May 12, 2026 at 8:16 am

    An “execution context class” is just a holder class, created by the top level of your program, which holds all of the things (like the Transaction object in the linked example) from the top level which might be needed.

    It’s a packaged way to avoid global variables.

    Some people believe that even this is kind of skeezy, because if top calls A which calls B which calls C which calls D which needs the top level, you have to pass the context to A, B, and C, which don’t otherwise need it.

    And so it promotes binding where it wouldn’t be needed – A, B, and C are not reusable in a program which doesn’t use this context. But it’s a perfectly workable alternative to hidden global state, and to the endless proliferation of singletons and other messy things.

    Edit: this paragraph is invalid: I do recommend that you use the ExecutionContext class in javax.resource.spi.work ( http://www.j2ee.me/j2ee/1.4/docs/api/javax/resource/spi/work/ExecutionContext.html ), because at least that restricts the binding on the intervening classes to a standard, rather than something app-specific.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Want to grab list of players from http://www.atpworldtour.com/Rankings/Singles.aspx There is a table with class
So I'm using this pretty standard jquery plugin pattern whereby you can grab an
I wanted to show the users Name Address (see www.ipchicken.com ), but the only
I wanted to know how to grab an image element in a PDF file
I have been messing around with web.py lately and wanted to grab some stuff
I wanted to grab the latest changes to SVN without overwriting local changes... but
I'm getting ready to start my first app, and I wanted to grab some
I just dowloaded the Google IO Source code from here: http://code.google.com/p/iosched/ in order to
I wanted to use PHP Simple HTML DOM Parser to grab the Google Apps
I have this query to grab all requests by user_id and grabbing the profile

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.