Re: Structures in Java?

2006-10-02 Thread Barney Boisvert
The container takes care of the majority of threading issues for you; only when multiple requests access the same data (i.e. session or application scope) does threading matter to the application developer. If you have request-level data, concurrency isn't be a concern unless you're explicitly

Re: Structures in Java?

2006-10-02 Thread Denny Valliant
Thanks Guys, that is some excellent info to keep in mind. (and that I sometimes forget to think about (e.g. worked fine in dev mode, how come it's all squirrly now?!?! ;)). Yet I went with the thread safe ajax stuff at first... just cuz... how haphazard of me. =P I vow to become a more aware

Structures in Java?

2006-10-01 Thread D F
Is there anything in Java similar to Coldfusions Structures? ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a

Re: Structures in Java?

2006-10-01 Thread Dave Carabetta
On 10/1/06, D F [EMAIL PROTECTED] wrote: Is there anything in Java similar to Coldfusions Structures? Remember that ColdFusion is compiled to Java, so there's always going to be a related data type between the two languages. In this case, you want a HashMap, which is what a CF structure is

Re: Structures in Java?

2006-10-01 Thread D F
Thanks Dave, so presumably this HashMap object can be passed around through various methods etc? On 10/1/06, D F [EMAIL PROTECTED] wrote: Is there anything in Java similar to Coldfusions Structures? Remember that ColdFusion is compiled to Java, so there's always going to be a related data

Re: Structures in Java?

2006-10-01 Thread Dave Carabetta
On 10/1/06, D F [EMAIL PROTECTED] wrote: Thanks Dave, so presumably this HashMap object can be passed around through various methods etc? If I'm understanding what you're trying to to do, then yes, you can pass Java objects just like you can pass CF objects around. The big difference is that,

Re: Structures in Java?

2006-10-01 Thread Denny Valliant
On 10/1/06, D F [EMAIL PROTECTED] wrote: Thanks Dave, so presumably this HashMap object can be passed around through various methods etc? Pretty much. I think the one thing you need to keep in your head is that in java, everything starts at 0, and CF starts with 1. There is a word that I

Re: Structures in Java?

2006-10-01 Thread Mark Mandel
Your probably better off with a java.util.Hashtable, as it is already syncronised (thread safe), and more often than not, where are using Hashtables in a web environment, they need to be thread safe. That being said, java.util.Collections gives you some easy to use utilities to create

RE: Passing CF5 Structures to Java

2002-11-13 Thread Pete Freitag
. _ Pete Freitag CTO, CFDEV.COM http://www.cfdev.com/ -Original Message- From: Correa, Orlando (ITSC) [mailto:Orlando.Correa;mail.ihs.gov] Sent: Wednesday, November 13, 2002 1:44 PM To: CF-Talk Subject: Passing CF5 Structures to Java We are experiencing a problem

RE: Passing CF5 Structures to Java

2002-11-13 Thread Correa, Orlando (ITSC)
... Orlando Correa IHS/ITSC -Original Message- From: Pete Freitag [mailto:pf;cfdev.com] Sent: Wednesday, November 13, 2002 12:10 PM To: CF-Talk Subject: RE: Passing CF5 Structures to Java I don't think you can do that in CF5, you should be able to get something like that working in CFMX