Someone beat you to the punch Sean, sorry :-)
The original comment made it sound like a new feature as in NEW (not old)
rather than the word new.

Although as I said it will be gr8 if it gets round the need for
CreateObject(java) but even  so then sadly this won't be useful until all
the frameworks rewrite the code to use it and customers do the same.
Sandboxing in CF has improved very slowly over the years and the CF9 changes
do at least allow you to isolate some Java methods, which is something I
have been suggesting for years, but I think CF probably needs to take a
whole new approach to security.
Obviously the Railo method of separate contexts with their own admin is the
best solution, but they could augment this further to also sandbox any JAVA
calls so that there can be no I/O activity outside the context root at all
unless expressly permitted.

Russ

-----Original Message-----
From: Sean Corfield [mailto:[email protected]] 
Sent: 17 November 2010 01:48
To: cf-talk
Subject: Re: CF Blog software


On Sat, Nov 13, 2010 at 4:19 AM, Russ Michaels <[email protected]> wrote:
> This new function

It's not a function :)

I read your email and thought "What new function? Why can't Russ be more
specific?" :)

So now CFML has a 'new' keyword that works just like 'new' in other
languages:

a = new SomeType(42); // equivalent to a = createObject( 'component',
'SomeType' ).init( 42 );
--
Sean A Corfield -- (904) 302-SEAN
Railo Technologies, Inc. -- http://getrailo.com/ An Architect's View --
http://corfield.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339303
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to