I'm new to Clojure and I'm wondering how I'm supposed to be thinking
about various things.  I want to use the c3p0 database connection pool
in a Clojure app.  In Java, I would simply create an instance of this
class and either assign it to a static field or perhaps make it
available in a singleton and use it from there.

In Clojure, am I supposed to use a var or a ref for this?  Or
something else entirely?

Many thanks -

phil.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to