Off-topic: double-checking (Was: Internationalization of codetables.)

2001-08-15 Thread John Yu
I think I read somewhere (javaworld?) that the double-checking pattern for object locking is unsafe in Java. I can't remember the details. It's something related to the way Java compiler optimising the generate code by swapping statements silently. At 01:52 pm 15-08-2001 +0200, you wrote: You can

RE: Internationalization of codetables.

2001-08-15 Thread Adriano Labate
-Original Message- From: Juraj Kazda [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 15, 2001 1:19 PM To: STRUTS-USER (el. adresa) Subject: Internationalization of codetables. What should be the best architectural solution for retrieving data from code table (I will fill with them a combo box

Re: Internationalization of codetables.

2001-08-15 Thread Gregor Rayman
"Juraj Kazda" <[EMAIL PROTECTED]> wrote: > Because code tables are almost (or long-time lasting) static > data, I was thinking about putting a Vector of beans with attributes > corresponding/matching the structure of code table. That means to make > one start-up servlet which will fill all the V

Internationalization of codetables.

2001-08-15 Thread Juraj Kazda
Hello friends, first, I would like to thank you for answers to my previous quetion. Now I have another problem - half architectural, half implementational. Imagine the situation (example): One table is dedicated to data about 'pub' (name, address, kinds of beer, ...). Kinds of beer is referenc