I am just getting into Flex 2, so please forgive me for my
Here is how my applications have worked in the past, i.e.
//Create an instance of component
order = CreateObject( 'component', 'PEK.Catalog.Order' );
theOrder = order.getOrder(1234);
Display the order via HTML and CFML.
getOrder() returns a query and 1234 is a sample orderID. The
most important part of the solution I am looking for is that the it
must not expose my getOrder() as a public web service. I am able to
run the application with WS by making the mothod URL visible and
remote, but this is no way near the security I would like to have.
Here is my folder structure where components folder has been maped
I guess this article answers part of the question. It is very
important to note that if the CFC is sitting on the same server as
the CFC the component methods could be public and not remote, thus
making it alot more secure.