We are migrating legacy application to ColdBox framework based application. As part of migration we need to move part of code in ColdBox application which will run under different domain and site. We have legacy application structure is like ColdBox model where all components store under CFC folder and have gateway, DAO and bean.
We want to move one by one CFC from legacy to ColdBox app and move under models but we still want to utilize Models cfc under legacy app (probably using standalone wirebox).
Here is structure of Legacy App
Where secure, public contains cfm page and CFC contains all Components.
While we move to coldbox we also convert component to use inbuild wirebox and may look like below where datasource is injected from setting.
Issue is we want to use same PHOTOSERVER from legacy app and which I assume I can do with stanalone Wirebox but somehow I am not able to connect it.
Is there any guideline how to use it?