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 216623
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T18:34:54+00:00 2026-05-11T18:34:54+00:00

I’m thinking about using the java application object to implement a simple cache, to

  • 0

I’m thinking about using the java application object to implement a simple cache, to save a few configuration variables, and a couple of xml with often used info…

I’d like to know where is the application data phisically stored (a system file, in memory, db), how can it be configured, and if there’s any kind of limitation, like space, concurrency, etc…

Besides, any other concern regarding scalabitlity (both, in size and in concurrency) would be appreciated…

And if anybody can point me some place to find more info, I’ll be very glad…

thanks a lot

  • 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-11T18:34:54+00:00Added an answer on May 11, 2026 at 6:34 pm

    Objects are stored in the heap. Heap spaced can be managed through the VM’s configuration file.

    A constructor call is more complicated
    than an ordinary subroutine or
    function call. It is helpful to
    understand the exact steps that the
    computer goes through to execute a
    constructor call:

    1. First, the computer gets a block of unused memory in the heap, large
      enough to hold an object of the
      specified type.
    2. It initializes the instance variables of the object. If the
      declaration of an instance variable
      specifies an initial value, then that
      value is computed and stored in the
      instance variable. Otherwise, the
      default initial value is used.
    3. The actual parameters in the constructor, if any, are evaluated,
      and the values are assigned to the
      formal parameters of the constructor.
    4. The statements in the body of the constructor, if any, are executed.
    5. A reference to the object is returned as the value of the
      constructor call.

    The end result of this is that you
    have a reference to a newly
    constructed object. You can use this
    reference to get at the instance
    variables in that object or to call
    its instance methods.

    http://www.faqs.org/docs/javap/c5/s2.html

    Here are some of the VM configuration parameters

    http://www.caucho.com/resin-3.0/performance/jvm-tuning.xtp

    I once wrote a Cache for xml objects (to call them somehow). A Map with a String key (filename) and a reference to the Object (parsed xml file) sufficed. In addition to that, the cache was a singleton (synchronized). Did the same for caching compiled JasperReports (i got a notable speed bump here, because reports where no longer compiled every single time)

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

Sidebar

Ask A Question

Stats

  • Questions 152k
  • Answers 152k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer You are completely misusing the post function. What I believe… May 12, 2026 at 10:13 am
  • Editorial Team
    Editorial Team added an answer PHP has low resource requirements, really cheap hosting, really low… May 12, 2026 at 10:13 am
  • Editorial Team
    Editorial Team added an answer I would recommend a set of database tables and joins.… May 12, 2026 at 10:13 am

Related Questions

I ran into a problem. Wrote the following code snippet: teksti = teksti.Trim() teksti
I am currently running into a problem where an element is coming back from
Seemingly simple, but I cannot find anything relevant on the web. What is the
Does anyone know how can I replace this 2 symbol below from the string
Configuring TinyMCE to allow for tags, based on a customer requirement. My config is

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.