Jump to content

Concurr. - what is usable in multiple threads


Recommended Posts

By: Andreas Zielke - azielke

Concurr. - what is usable in multiple threads

2003-08-25 05:45

Hi *,

 

I plan to use JasperReports in an Webapplication.

I have several reports, which I would like to cache in a HashMap. For my first tests I filled the cache with JasperReport-objects that I got from JasperManager.loadReport(fileName).

My question is: How will these objects behave in a multithreaded environment - i.e. can I share them among different users or will the report "break".

(i.e. if two threads get the same JasperReport-object from the cache - let's assume that object is called jr - and concurrently do JasperManager.fillReport(jr, someParams, someDataSource);

 

Regards & many thanks for this great OpenSource-project,

Andreas

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...