arunesh1
Programmer
- Aug 11, 2000
- 1
Hi Everybody,<br>I am working as coldfusion developer. <br><br>I am facing problem in my project:<br><br>Our coldfusion server need to communicate with another company's server so that they can track user's activity.<br><br>For this ,that company have given certain steps to<br>communicate with their server , that sample code is in<br>Java.<br><br>In sample java code they say that incorporate similar<br>type of code in AppsServercode to only once and should<br>be executed upon AppsServer startup to connect to<br>their server.<br><br>When I asked that company's people, then they told me that they donot have much knowledge of coldfusion but with respect to ASP he told me that it should be coded in to Global.asp where all the global variables are defined.So I think in case of cold fusion it is application.cfm .<br><br>But questions are:<br><br>1>How to embed java code in coldfusion templates?<br><br>2>Should I embed that code in Application.cfm,because<br>Application.cfm get executed every time a coldfusion<br>page is requested, in their sample they told that it<br>should be incorporared only once and should be<br>executed upon AppsServer startup?<br><br>If any of you can send any solution so that i can do two way communication between two servers , I will really appreciate .<br>Thanks<br>Regards<br>