Eclipse and SWT
For those of you who have tried on Eclipse which I introduced in my last post, How about CFMX on Eclipse?
, have probably noticed somthing unusual for a Java GUI application, it's extremely fast!
In an email response, Rohan
, author of CFEclipse
, kindly answers the question that underneath, Eclipse uses SWT for GUI manipulation. What's SWT (Standard Widget Toolkit)?
) are GUI components originally developed by IBM for the open source Eclipse
project. Unlike Swing or AWT, SWT relies on native widgets of the underlying operating system which results in Java applications which look and feel like native applications.
If you think you can skip locking on your session scope variable, you might need to
How about CFMX on Eclipse?
, an open extensible IDE, is probably one of the most successful open source product. There is a plugin
for CFMX. You may use it as an alternative for ColdFusion application development.
Taking temperature of CFMX
As we know CFMX runs on top of J2EE(Java Virtual Machine). How do I find out how hot the coffee is boiling? Well, easy enough: ColdFusion Memory Usage Stats
<cfset runtime = CreateObject("java","java.lang.Runtime").getRuntime()>
<cfset freeMemory = runtime.freeMemory() / 1024 / 1024>
<cfset totalMemory = runtime.totalMemory() / 1024 / 1024>
<cfset maxMemory = runtime.maxMemory() / 1024 / 1024>
Free Allocated Memory: #Round(freeMemory)#mb
Total Memory Allocated: #Round(totalMemory)#mb
Max Memory Available to JVM: #Round(maxMemory)#mb
UPDATE: This is a repost of ColdFusion Memory Usage Stats
, thank you Freitag for pointing it out.
It's been two years now (first public version was dated in January, 2002. Time runs fast indeed.) since we started to implement remoting with JSRS in our application. The server ports have grown from ASP to many others: ASP.NET, ColdFusion, PerlCGI, PHP, Python, and JSP (servlet). Note that etec was the first to provide the port to ColdFusion 5. Now another port of JSRS to CFMX: JSRS CFC
I haven't tried out the CFC myself, I'll assume it's a more ideal solution with CFC as compared to strict CF5 functions by persisting the CFC to application scope.
Personally, I prefer Gateway JSAPI
since it provides better data structure handling. You may try the qforms with gateway tags that I developed with samples provided here.