Topic
4 replies Latest Post - ‏2014-03-26T17:22:38Z by VarunGupta7
Muk1234
Muk1234
12 Posts
ACCEPTED ANSWER

Pinned topic Advantages and Disadvantages of using Java Compute Node in WMB

‏2012-10-08T12:30:04Z |
Hello
We are using Java compute node in our project. I would like to know how much performance is hampered in using the same in wmb. Any help would be appreciated.
Thanks in advance
Muk1234
Updated on 2012-10-09T11:33:18Z at 2012-10-09T11:33:18Z by kimbert@uk.ibm.com
  • kimbert@uk.ibm.com
    kimbert@uk.ibm.com
    467 Posts
    ACCEPTED ANSWER

    Re: Advantages and Disadvantages of using Java Compute Node in WMB

    ‏2012-10-08T14:25:18Z  in response to Muk1234
    You can do your transformation using any of ESQL / Java / PHP / Mapping node / .Net
    IBM's standard advice is that ESQL, Java and .Net are roughly the same in performance. You should choose based on the skill set available to you.

    So go ahead and use Java if it suits you and your colleagues. But in my opinion it is a mistake to prohibit the use of ESQL because there are a few ( very few ) things that can only be done using ESQL.

    If you do decide to continue with Java, don't miss the new JAXB support in WMB v8.
    • fjb_saper
      fjb_saper
      101 Posts
      ACCEPTED ANSWER

      Re: Advantages and Disadvantages of using Java Compute Node in WMB

      ‏2012-10-09T07:24:10Z  in response to kimbert@uk.ibm.com
      Please keep also in your mind that java for the JCN is not java for J2EE.
      It requires comprehension and training.
      Using an XPATH expression without specific broker knowledge can be a performance killer.

      So, like for every other programming language, make sure that your troops get the adequate training!
    • Muk1234
      Muk1234
      12 Posts
      ACCEPTED ANSWER

      Re: Advantages and Disadvantages of using Java Compute Node in WMB

      ‏2012-10-09T11:08:21Z  in response to kimbert@uk.ibm.com
      Thanks a lot. It was helpful.
      Could you please specify an example as in where ESQL provides more features compared to other transformation programming nodes as custom logic is defined within these nodes.

      Thanks in advance
      Muk1234
      • kimbert@uk.ibm.com
        kimbert@uk.ibm.com
        467 Posts
        ACCEPTED ANSWER

        Re: Advantages and Disadvantages of using Java Compute Node in WMB

        ‏2012-10-09T11:33:18Z  in response to Muk1234
        I can only think of one category of features that is missing from Java. If you use the ESQL functions ASBITSTREAM or CREATE...PARSE then you can supply flags to modify the behaviour of the parser. You cannot do that using MbElement.toBitstream() and MbElement.createElementAsLastChildFromBitstream().

        Not normally a problem though - those flags are usually required when a message flow needs to take control of the parsing in a very detailed way. Perhaps to process a huge input message in smaller chunks without using up all of the available system memory.
    • This reply was deleted by VarunGupta7 2014-03-26T18:11:08Z. Reason for deletion: duplicate
    • This reply was deleted by VarunGupta7 2014-03-26T18:14:47Z. Reason for deletion: duplicate
    • This reply was deleted by VarunGupta7 2014-03-26T17:24:42Z. Reason for deletion: duplicate
    • This reply was deleted by VarunGupta7 2014-03-26T17:23:39Z. Reason for deletion: duplicate
    • This reply was deleted by VarunGupta7 2014-03-26T17:23:04Z. Reason for deletion: duplicate
    • This reply was deleted by VarunGupta7 2014-03-26T17:26:26Z. Reason for deletion: duplicate
    • VarunGupta7
      VarunGupta7
      0 Posts
      ACCEPTED ANSWER

      Re: Advantages and Disadvantages of using Java Compute Node in WMB

      ‏2014-03-26T17:22:38Z  in response to kimbert@uk.ibm.com

      Thanks for the details.. (sorry to reviving the older blog)..

      I would like to understand, other than the performance issues what are the other key factors because of which I should not be using the JCN(Java compute node) ? [If we assume that there are skilled people around in Java to code in JCN.]

      Any help , is much appreciated. Thanks!!