Be real clear on what "not threadsafe means" that means that any given instance of HSSFWorkbook is not thread safe. Meaning multiple threads manipulating the same book at the same time.

It is totally fine for mutliple threads to manipulate their OWN instance HSFFWorkbook.

This is not like using VBA and Excel where the whole of Excel isn't threadsafe (one file at a time).

-Andy

Brian Bonner wrote:
Hi Guys,

I had a request from someone to allow them to write forms directly to an Excel spreadsheet. This user is not a developer, but does do web design and is fairly fluent with HTML, xHTML. Anyway.

I have written a tag library to allow read/write access to/from Excel spreadsheets using POI. It works well, and I know that POI is not threadsafe.

I could synchronize access to calls made by the tags to POI. But I'm also concerned about a user opening up the file and locking up the app.

Any suggestions?




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/

Reply via email to