Jon

I haven't actually tried these out but I'd guess that

> My question is, is <cfset objRef = ''> a good way to unload the
> object?

I don't think you need to unload it like that. It wouldn't cause the
memory to be released immediately anyway. The JVM's garbage collection
will take care of that for you.

> Also, when using init to return a persistent reference to the object,
> is this really truly persistent...I can rely on the object not going
> away until I unload it myself?

If you want it to persist across discrete page calls, it won't do that
automatically, you'll need to put it somewhere like a session variable. I
think the point is, you wouldn't be able to do that with a cfobject.

> I also have no clue what the difference between an Enterprise Javabean
> and a regular Javabean is, does it matter to me?

No it probably doesn't matter to you. EJBs have very little in common with
regular Javabeans.

> The Macromedia
> article mentions using cfimport to use jsp tags packaged in a jar, but
> not javabeans...now I recall that using jsp tags and servlets via
> cfimport was an enterprise edition only thing, but it makes no mention
> of this in the article. Is there an issue like this with Javabean jar
> files?

I don't know either, but it would certainly be a shame if that were the
case. Effectively it would mean you couldn't really integrate your own
Java code properly otherwise. After all, a JavaBean is just a class with a
certain minimum set of methods and you would normally want to deploy your
classes in jar files.

Nick

______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to