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 synchronised Maps very easily.

HTH

Mark

On 10/2/06, Dave Carabetta <[EMAIL PROTECTED]> wrote:
> 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, if you pass it as an argument to a cffunction
> call, then the cfargument tag should expect a type of "any" to use the
> Java object correctly.
>
> Regards,
> Dave.
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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 year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254942
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to