Making Java, Coldfusion, Tomcat and PayflowPro Play Nicely
Danwatt – Cold Fusion
by danwatt
2y ago
One of the more odd parts of our architecture at work involves a cluster of Tomcat instances running ColdFusion and Java services side by side. We are porting our existing ColdFusion services over to Java/SpringMVC applications, and during the transition they are being served up by the same app servers. One of these services interacts with Paypal/PayflowPro. We have a ColdFusion Component (CFC) that makes raw HTTP calls to PayflowPro, and has been behaving quite nicely for years. The service has been converted to Java, and has great test coverage and works great until deployed to Tomcat. When ..read more
Visit website
ColdFusion, HQL and Named Parameters with Collections
Danwatt – Cold Fusion
by danwatt
2y ago
I am currently working on a app that has a fairly simple database model, and we are using ColdFusion 9 and Hibernate to map that model. The model is actually a local cache of a Sales Force CRM database. I have an Account, that can have a list of postal codes assigned to it. Since we have no need for any metadata other than the postal code, I am mapping using something like the following: component output="false" entityname="Account" { //... property name="ZipCodes" fieldtype="collection" type="array" table="sf_territory_zip" fkcolumn="sf_territory_id" elementcolumn="zip_code" elementtype="str ..read more
Visit website
Coldfusion 9 ORM, Caching and Autocommit
Danwatt – Cold Fusion
by danwatt
4y ago
One more from the archives of the company dev blog, this time from August 2011. We have been gradually moving off of ColdFusion over the last several years, but maybe there is something in here that might be useful for someone. We have been using ColdFusion 9 for a few months now. With all new code that is developed, we have been abandoning <CFQUERY> in favor of CF9?s ORM, which is based on Hibernate. This is a great technology that lets us focus more on work that matters, instead of coding lots of repetitive SQL queries. But, as with any new technology, there are some gotchas that de ..read more
Visit website
Performance of CFScript
Danwatt – Cold Fusion
by danwatt
4y ago
This is another article from the retired company blog. This one is from September, 2011. I have been developing ColdFusion on and off for about 10 years, and one topic that has been controversial the entire time is CFScript. The arguments go back and forth: ‘It’s too slow’, ‘it’s not ColdFusion’, ‘It looks like Javascript, but isn’t’. On our team, the majority of our code is written in plain CFML. With new team members coming onboard with stronger backgrounds in Java-like languages, more and more CFScript is starting to show up, especially in the business-tier. The question of performance has ..read more
Visit website
Logging in To Salesforce from ColdFusion
Danwatt – Cold Fusion
by danwatt
4y ago
Im continuing to clear out articles from the retired company development team blog. This one, was instrumental in getting me connected with one of my first big side work projects, which evolved into a two year project that helped us retire our mortgage. From August 2011: We have been working the last few months on an experiment with Salesforce.com. The code is some of our first to be written almost purely using CFScript and Hibernate. One of our challenges was communicating with Salesforce, in particular, their fairly new REST API. Their API documentation is pretty good, but the one area ..read more
Visit website
Coldfusion 9 ORM, Caching and Autocommit
Danwatt – Cold Fusion
by danwatt
4y ago
One more from the archives of the company dev blog, this time from August 2011. We have been gradually moving off of ColdFusion over the last several years, but maybe there is something in here that might be useful for someone. We have been using ColdFusion 9 for a few months now. With all new code that is developed, we have been abandoning <CFQUERY> in favor of CF9?s ORM, which is based on Hibernate. This is a great technology that lets us focus more on work that matters, instead of coding lots of repetitive SQL queries. But, as with any new technology, there are some gotchas that devel ..read more
Visit website
Performance of CFScript
Danwatt – Cold Fusion
by danwatt
4y ago
This is another article from the retired company blog. This one is from September, 2011. I have been developing ColdFusion on and off for about 10 years, and one topic that has been controversial the entire time is CFScript. The arguments go back and forth: ‘It’s too slow’, ‘it’s not ColdFusion’, ‘It looks like Javascript, but isn’t’. On our team, the majority of our code is written in plain CFML. With new team members coming onboard with stronger backgrounds in Java-like languages, more and more CFScript is starting to show up, especially in the business-tier. The question of performance has ..read more
Visit website
Logging in To Salesforce from ColdFusion
Danwatt – Cold Fusion
by danwatt
4y ago
Im continuing to clear out articles from the retired company development team blog. This one, was instrumental in getting me connected with one of my first big side work projects, which evolved into a two year project that helped us retire our mortgage. From August 2011: We have been working the last few months on an experiment with Salesforce.com. The code is some of our first to be written almost purely using CFScript and Hibernate. One of our challenges was communicating with Salesforce, in particular, their fairly new REST API. Their API documentation is pretty good, but the one area that ..read more
Visit website

Follow Danwatt – Cold Fusion on FeedSpot

Continue with Google
Continue with Apple
OR