Java and ColdFusion 10 | ColdFusion 10 Deep-Dives for Developers | Adobe TV

Developer Evangelist Terry Ryan discusses new features in ColdFusion 10 that provide more support for Java integration, especially improving the portability of third-party code.
http://adobe.ly/IJwWSg

I am new to CF and I am trying to learn as much as I can (requirement for my new position in the company). My question might seem a little parochial, but if you don't ask, you don't find out, right? Anyway, how is it when you type in things like "jd3", these lines of code just appear? Is that the editor doing this for you or is it something built into CF?

Similar Messages

  • STILL NOT SOLVED. So...What Is Going On With Java And How Do I Update It?

    So...I checked my plugins this morning, and it said both my Java platform and my Java Deployment Toolkit needed updating. However, I click Update, and the link does not lead me to a download page. Plus, when I try to verify my Java version on the Java page, it says that I have the recommended Java installed (and so do other sites that run on Java). How do I update these things so that everything is up to date?
    Screenshots for further info:
    http://oi50.tinypic.com/15d87ly.jpg (the plugin checker status)
    http://oi47.tinypic.com/35jk0ub.jpg (What the "Update" link leads to)
    http://oi46.tinypic.com/34yz7kk.jpg (The verification)

    '''ponyparty''',
    <s>The x86 package is for 32-bit Windows - WinXP, Vista, and Win7.</s> <br />
    <s>The x64 is for 64-bit versions of Windows - XP, Vista, and Win7.</s>
    <sub>'''EDIT:''' You need the x86 package (32-bit version of Java) on both 32-bit and 64-bit Windows to use the Java plugin for Firefox, which is a 32-bit browser. The X64 64-bit Java is only needed for 64-bit browsers, if you use one. Ref: http://kb.mozillazine.org/Java#Java_downloads aw</sub>
    The JDK version is for Developers, you want the '''JRE''' version. The Development Toolkit plugin comes with both versions, but that plugin is really only needed by people developing for Java.
    As far as '''if''' you should update right now, my answer is '''NO'''. From what I am reading the U10 version is messed up and is not installing the Firefox required U10 plugin. Not sure if Oracle didn't update it for Firefox, or if some users are missing the registry key needed for Firefox to locate the new plugin.

  • SAP NetWeaver 70 - Java and ABAP VMware Trial.part02.rar CRC error?

    HI,
    I've downloaded the file:
    SAP NetWeaver 70 - Java and ABAP VMware Trial.part02.rar
    of SAP NetWeaver 7.0 - Java and ABAP Trial Version on Linux - VMware Edition
    four times and everytime a get a CRC error in the RAR file. Is the file wrong or the download incorrect?
    Regards, Edwin Slee

    Hi Henry.
    I’ve downloaded the file again. Now it is called:
    SAP NetWeaver 70 - Java and ABAP VMware Trial.part02.tgz
    But it is a RAR file.
    As you suggested I open the file with WINRAR 3.61 and select
    Tools -> repair archive
    In the directory a file:is created with the name:
    rebuilt.SAP NetWeaver 70 - Java and ABAP VMware Trial.part02.tgz
    The WINRAR message box reads:
    Detecting archive type...
    ---> RAR
    Build fixed.SAP NetWeaver 70 - Java and ABAP VMware Trial.part02.tgz
    Searching for recovery record
    ---> recovery record not found
    Build rebuilt.SAP NetWeaver 70 - Java and ABAP VMware Trial.part02.tgz
    Found SLES10SP1_Test_Drive(2)-s002.vmdk
    Found SLES10SP1_Test_Drive(2)-s003.vmdk
    Found SLES10SP1_Test_Drive(2)-s004.vmdk
    Found SLES10SP1_Test_Drive(2)-s005.vmdk
    When I open this file with WINRAR again a try to extract
    SLES10SP1_Test_drive(2)-s003.vmdk I still get a CRC error, the archive file is corrupted.
    I think the error isn’t due to the download, because I’ve downloaded the file using three different internet connections (8 times now) and all the files are identical, with a CRC error !
    Regards, Edwin Slee

  • Java and Symbian Platform v6.0

    Hi there !
    I'm not quite sure if this is the right forum, but here goes:
    I'm not too familiar with Java, and I'm beginning to develop app for Nokia 9210 using Nokia's own SDK. However, I haven't found a good tutorial about basics. I know how to create a Hello World -application for 9210, but that's about it.
    There are tons of information about how to send SMS or do some extra tricky operations from Java app running on Nokia 9210 Communicator, but that doesn't help me since I don't know the basics, such as how to create a menu etc.
    Now I'd like to know how to find information about such package as com.symbian.epoc.awt and other packages which are involved in Symbian Java programming. How do I find out which classes are included, which methods they offer and how to use them ?
    Thanks in advance,
    - Miika -

    Repost addresses incorrect.
    Hi,
    Have you looked at this book.
    http://www.symbian.com/books/wjsd/wjsd-info.html
    Also try the epoc site.
    >
    http://www.epocworld.com/and a Sun site.
    http://developer.java.sun.com/
    eveloper/technicalArticles/ConsumerProducts/JavaDevices
    Hope this helps.
    Dave Nicholson Sun Developer Tech Support.

  • Wepshere and ColdFusion Mx 7- Java Hangs

    Hi folks,
    We just recently went live with our new web server and are
    experiencing occaisional hangs with Websphere/CF. IBM has diagnosed
    the following, and I am hoping you might be able to help shed
    further light on how we might correct or alleviate the problem.
    I see out of memory exceptions and the current thread is deep
    in ColdFusion code...
    Current Thread Details
    "WebContainer : 19" (TID:0x30785DD8,
    sys_thread_t:0x4B70F1A0, state:R, native ID:0x4DF4) prio=5
    at
    coldfusion.runtime.NeoBodyContent.getString(NeoBodyContent.java(Compiled
    Code))
    at
    coldfusion.tagext.lang.ThistagScope.setBodyContent(ThistagScope.java(Compiled
    Code))
    at
    coldfusion.tagext.lang.ModuleTag.doAfterBody(ModuleTag.java(Compiled
    Code))
    at
    cffbx_fusebox30_CF50_nix2ecfm97317734._factor2(fbx_fusebox30_CF50_nix.cfm:286)
    at
    cffbx_fusebox30_CF50_nix2ecfm97317734._factor4(fbx_fusebox30_CF50_nix.cfm:258)
    at
    cffbx_fusebox30_CF50_nix2ecfm97317734._factor5(fbx_fusebox30_CF50_nix.cfm:1)
    at
    cffbx_fusebox30_CF50_nix2ecfm97317734.runPage(fbx_fusebox30_CF50_nix.cfm:1)
    at
    coldfusion.runtime.CfJspPage.invoke(CfJspPage.java(Compiled Code))
    at
    coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java(Compiled
    Code))
    at
    coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java(Compiled
    Code))
    at cfindex2ecfm1859906939.runPage(index.cfm:19)
    at
    coldfusion.runtime.CfJspPage.invoke(CfJspPage.java(Compiled Code))
    at
    coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java(Compiled
    Code))
    at
    coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java(Compiled
    Code))
    at
    coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java(Compiled
    Code))
    at
    coldfusion.filter.PathFilter.invoke(PathFilter.java(Compiled Code))
    at
    coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java(Compiled
    Code))
    at
    coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java(C ompiled
    Code))
    at
    coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java(Compiled
    Code))
    at
    coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java(Compiled
    Code))
    at
    coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java(Compiled
    Code))
    at coldfusion.CfmServlet.service(CfmServlet.java(Compiled
    Code))
    at
    coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java(Compiled
    Code))
    at
    com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java(Compiled
    Code))
    at
    com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java(Compiled
    Code))
    at
    com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java(Compiled
    Code))
    at
    com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java(Compiled
    Code))
    at
    com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.jav a(Compiled
    Code))
    at
    com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java(Compiled
    Code))
    at
    com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java(Compiled
    Code))
    at
    com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink .java(Compiled
    Code))
    at
    com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink .java(Compiled
    Code))
    at
    com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.jav a(Compiled
    Code))
    at
    com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java(Compil ed
    Code))
    at
    com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled
    Code))
    at
    com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java(Compiled
    Code))
    at
    com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java(Compiled
    Code))
    at
    com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled
    Code))
    And
    The heapdump also shows coldfusion code with large 8M
    objects. This is the source of the problem.
    21,228,000 [96] 5 com/ibm/ws/util/ThreadPool 0x33a9e748
    21,066,680 [56] 2 java/util/HashMap 0x33a96628
    21,066,600 [48] 8 array of java/util/HashMap$Entry
    0x32be0488
    18,431,608 [32] 3 java/util/HashMap$Entry 0x3726b7f0
    18,352,408 [136] 9 com/ibm/ws/util/ThreadPool$Worker
    0x30785dd8
    18,311,272 [32] 1 java/lang/ThreadLocal$ThreadLocalMap
    0x3781d318
    18,311,240 [112] 23 array of
    java/lang/ThreadLocal$ThreadLocalMap$Entry 0x3ac26e88
    18,307,136 [32] 3 java/lang/ThreadLocal$ThreadLocalMap$Entry
    0x3822ea28
    18,307,104 [160] 15 coldfusion/filter/FusionContext
    0x3e8be278
    9,863,608 [32] 1 coldfusion/runtime/LocalScope 0x3e8b49d8
    8,411,336 [96] 12 coldfusion/runtime/NeoPageContext
    0x3e8b4708
    8,390,800 [96] 11 coldfusion/runtime/NeoPageContext
    0x3e8bcc48
    8,388,904 [80] 4 coldfusion/runtime/NeoBodyContent
    0x3e8c2490
    8,388,664 [40] 2 coldfusion/runtime/CharBuffer 0x3e8b8870
    8,388,624 [8,388,624] 0 char[] 0x3f740130
    8,388,664 [40] 2 coldfusion/runtime/CharBuffer 0x3e8b8870
    160 [80] 4 coldfusion/runtime/NeoBodyContent 0x3e8c0f68
    8,388,904 [80] 4 coldfusion/runtime/NeoBodyContent
    0x3e8c2490
    88 [88] 3 coldfusion/runtime/NeoJspWriter 0x3e8bcaf8
    8,388,904 [80] 4 coldfusion/runtime/NeoBodyContent
    0x3e8c2490
    1,720 [32] 3 coldfusion/runtime/NeoPageContext$TagSet
    0x3e8b8970
    Any help or suggestions you can provide would be most
    appreciated.
    Cheers,
    David

    Hi,
    Please visit the URL below for a sample on how to display
    data in a DataGrid.
    http://livedocs.adobe.com/flex/3/langref/mx/controls/DataGrid.html#includeExamplesSummary
    Hope this helps.

  • How to integrate java into coldfusion MX7

    I am beginner and taking training in coldfusion since 2
    months.I want to know how to integrate java into coldfusion
    MX7.

    You might take a look at this doc -
    http://livedocs.macromedia.com/coldfusion/7/htmldocs/00001557.htm
    HTH,
    Anne Sandstrom
    Senior Technical Writer
    ColdFusion
    Adobe Systems, Inc.

  • SQL Server 2005 and ColdFusion 7

    Hi all,
    I am using SQL Server 2005 and ColdFusion 7 (standalone) on
    XP 64 Bit. I was using the exact setup a couple of weeks ago, but
    had to reinstall my O/S due to hardware problems so am back to the
    beginning. I remember having a nightmare setting datasources up in
    the past, but did manage to find a solution.
    I have tried the following:
    SQL has TCP/IP Enabled
    SQL is set to Mixed Authentication
    SQL has a login set to the same as my Windows Username and
    password
    My database has a user (dbo) by the same name as the login
    set in SQL
    When I add a datasource in the administrator I enter the
    windows username and password (I have tried without either as
    well), the server name as localhost and the port as the default
    1433.
    I always get the following error:
    Connection verification failed for data source: DATABASENAME
    java.sql.SQLException: [Macromedia][SQLServer JDBC
    Driver]Error establishing socket. Connection refused: connect
    The root cause was that: java.sql.SQLException:
    [Macromedia][SQLServer JDBC Driver]Error establishing socket.
    Connection refused: connect
    Can someone offer any advice? This is driving me proper nuts.
    TIA,
    Paul

    when i did it, i had to update my jdbc driver
    http://msdn.microsoft.com/data/ref/jdbc/

  • Updating JVM (using IIS and Coldfusion)

    I recently created my first java class and compiled it using
    the new java SDK. I Registered my new CFX Tag and now I get this
    error "500 HelloColdFusion (Unsupported major.minor version 50.0)"
    when trying to access it in my .cfm test page. I read that this is
    because I used a new version of JVM to compile the class and the
    jvm coldfusion has installed is older. How do I update coldfusion
    to look at the new jvm ?

    This fixes ERROR "Unsupported major.minor version 49.0" and
    "Unsupported major.minor version 50.0" on my Windows Server 2003
    SP1 and Coldfusion MX 7.02 system.
    1. Make sure the ColdFusion service is stopped.
    2. Download JRun4 Updater from
    http://www.macromedia.com/support/jrun/updaters.ht...
    jrun4-win-en-updater.exe
    3. Install JRun4 Updater into the runtime folder of your
    ColdFusion install directory.
    C:\CFusionMX7\runtime
    4. Download and install Java JDK 1.5 (
    jdk-1_5_0_11-windows-i586-p.exe )
    5. Open both jvm.config files found in these directories:
    C:\CFusionMX7\runtime\bin
    C:\CFusionMX7\runtime\updater6-backup\bin
    6. Find the line that sets the java.home property under the
    "VM Configuration" heading ( change
    "java.home=C:/CFusionMX7/runtime/jre" to "java.home=C:/Program
    Files/Java/jdk1.5.0_11/jre" in both files.
    7. Restart coldfusion.
    I hope this saves you all time.

  • How do I save a file to a server using flex and coldfusion?

    How do I save a file to a server using flex and coldfusion?
    On the CF side I might need to use this:
    <cffile action="UPLOAD" filefield="Filedata"
    destination="#expandpath('..\somepath)#"
    nameconflict="overwrite">
    And on the flex side I might need to use something like this:
    var sendVars:URLVariables = new URLVariables();
    sendVars.action = "upload";
    var request:URLRequest = new URLRequest();
    request.data = sendVars;
    request.url = _strUploadScript;
    request.method = URLRequestMethod.POST;
    _refUploadFile = new FileReference();
    _refUploadFile = _arrUploadFiles[_numCurrentUpload].data;
    _refUploadFile.addEventListener(ProgressEvent.PROGRESS,
    onUploadProgress);
    _refUploadFile.addEventListener(Event.COMPLETE,
    onUploadComplete);
    _refUploadFile.addEventListener(IOErrorEvent.IO_ERROR,
    onUploadIoError);
    _refUploadFile.addEventListener(SecurityErrorEvent.SECURITY_ERROR,
    onUploadSecurityError);
    _refUploadFile.upload(request, "file", false);
    I just don't know how to put it all together in Coldfusion.

    try this...
    http://cf-creations.co.uk/blog/index.cfm/2008/9/20/Flex--File-Upload-Form--Part-One--Build ing-The-Initial-Form

  • Stored procedure and coldfusion.

    Hi all,
    My query is related with Oracle and coldfusion. I have got to write a stored procedure for updating a table. In this I have to raise an exception if the field i give for does not exist. Can anyone give an example code for this? I also want to know how it is called in a cfm page.
    Following is the stored procedure i have written
    create or replace package group_pack
    as
    procedure group_update
    pt_group_id in group.group_id%type,
    pt_group_name in group.group_name%type
    end;
    create or replace package body group_pack
    as
    procedure group_update
    pt_group_id in group.group_id%type,
    pt_group_name in group.group_name%type
    as
    begin
    update group
    set group_id = pt_group_id,
    group_name = pt_group_name
    where group_id = pt_group_id;
    exception
    when no_data_found then (what to code)
    end;
    end;
    In this in the (what to code) part i tried returning zero...but then procedures do not return values. Then I tried to RAISE exception, which also showed error.
    Also in the cfm page what should be done with the <cfstoredproc> </cfstoredproc>tags. How should it be reflected.....
    Please do give a solution to my problem.....
    Thanking in advance....
    Regards,
    Aswathy.

    Hi Aswathy,
    Can you please tell, what error it gave when you had written RAISE command? I think, this is a better choice if you do not want to do anything else like inserting a row with the missing value.
    regards,
    Archana
    http://justoracle.blogspot.com/

  • Anyone know how to gernerate CRUD applications with flex and coldfusion?

    Anyone know how to gernerate CRUD applications with flex and
    coldfusion? I am working with a remote coldsfusion installation
    with MS SQL and I don't have RDS.

    You might investigate "squidhead". It is CF based. I'm not
    sure if it has any Flex related features.
    http://squidhead.riaforge.org/

  • Adobe Actionscript 1.0 and Coldfusion 8

    Hi ,
    We are using actionscript 1.0 in our application and as the middle tier we are using Coldfusion MX 7. Now our web applications are working fine.If we upgrade MX 7 to Coldfusion 8 will this integration work fine. Is there any known issues integrating actionscript 1.0 and coldfusion 8.Please help

    AS1 !?! So I suppose that you're doing SOAP calls or XML over HTTP ? In that case, there's no compatibility issue between 7 and 8: "ColdFusion MX (6.0, 6.1, and 7) applications should seamlessly migrate to ColdFusion 8."
    Hope it helps,
    Cyril

  • New Coldfusion Server Setup in Flashbuilder and Coldfusion Builder not working

    I have not found the combination for adding a new Coldfusion Server in Flash Builder 4.7 or Coldfusion Builder 2.01 with Coldfusion 10. I am running windows 7 64bit. on IIS 7. Coldfusion 10 is running fine.
    All was well with Coldfusion 9 Flash Builder 4.6 and Coldfusion Builder 2.0.
    Local Server Settings for CF9 were
    Server Home C:\Coldfusion9
    Document Root   C:\inetpub\wwwroot
    Version: 9.0.x
    Now as soon as I put in C:\Coldfusion10 or C:\Coldfusion10\cfusion I get an error "Server home is not valid".
    Any hints on getting this going.

    Hi Jeff,
    Can you let us know the directory location for wwwroot on your system.
    jeffcg2 wrote:
    That does not work. As soon as I put C:\ColdFusion10\cfusion in the Server Home I get the error Server Home Invalid. I have uninstalled Coldfusion 10 and re-installed added the latest updates. Coldfusion 10 is working fine running on IIS 7.
    Not necessarily. As soon as you select the "cfusion" location, it would automatically pick the wwwroot location.
    jeffcg2 wrote:
    With Coldfusion 10 , since you have C:\ColdFusion10\cfusion\wwwroot. as the Document root will this only work if you install the included web server?
    Regards,
    Anit Kumar

  • Need Paths For Configuration Apache 2.2 And Coldfusion MX7

    Please provide the default configuration directory and also
    the directory and file name of the server binary for the drop down
    configuration list in Cold Fusion to configure Coldfusion MX7 to
    work with Apache 2.2. I need this immediately. I thank you in
    advance!!!!!

    Is this what you are looking for?
    http://www.adobe.com/go/8001e97
    Ken Ford
    Adobe Community Expert
    Fordwebs, LLC
    http://www.fordwebs.com
    "spinaweb" <[email protected]> wrote in
    message news:ervso2$n7c$[email protected]..
    > Please provide the default configuration directory and
    also the directory and
    > file name of the server binary for the drop down
    configuration list in Cold
    > Fusion to configure Coldfusion MX7 to work with Apache
    2.2. I need this
    > immediately. I thank you in advance!!!!!
    >

  • Spry and ColdFusion :: Improve Performance By Cutting Out ColdFusion

    Another in my series of Spry and ColdFusion Articles:
    http://www.infoaccelerator.net/client/index.cfm/2006/10/17/Spry-and-ColdFusion--Improve-Pe rformance-By-Cutting-Out-ColdFusion

    Andy,
    Good subject.... I don't use CF, but I understand your
    motivation to write the article - which to me underlines the sub
    structure issues involved with using a front end xml technology
    such as spry. I personally don't have much to say about spry
    because I think the core of it works brilliantly, any improvements
    are a bonus to me - don't flame me for this but I am not interested
    in widgets and effects - the core data manipulation is what floats
    my boat.
    It would be even more brilliant if adobe could contribute to
    the ‘spry package’ useful information about managing
    XML data on the backend – I realise this would be broad - I
    don’t really know how it would be approached. This would give
    us 'designers' some confidence in building the applications we
    choose - don't ask me specifically what that entails (if I knew I
    would do it myself) – to my mind there is a lot more to the
    power to spry than front end effects to display data if coupled up
    with good backend coordination – although the effects
    solutions are good - I am not knocking the effects etc… I am
    simply supporting the above fore-mentioned article as a cause for
    interest when developing with spry.
    Andy

Maybe you are looking for