Topic
5 replies Latest Post - ‏2012-05-10T10:35:15Z by PerlDisciple
VikasMahajan
VikasMahajan
6 Posts
ACCEPTED ANSWER

Pinned topic Gateway Parsers in Java

‏2012-03-31T10:27:41Z |
Do we have Java API's for Gateway parsers so that instead of perl we could do all the configuration and enhancements using Java Language
Updated on 2012-05-10T10:35:15Z at 2012-05-10T10:35:15Z by PerlDisciple
  • PerlDisciple
    PerlDisciple
    4 Posts
    ACCEPTED ANSWER

    Re: Gateway Parsers in Java

    ‏2012-05-10T09:37:47Z  in response to VikasMahajan
    Hi Vikas,

    What do you mean by this Java API?
    Writing Java code then converting to Perl code?
    Or making the gateways run in Java?

    Cheers,
    P.D.
    • VikasMahajan
      VikasMahajan
      6 Posts
      ACCEPTED ANSWER

      Re: Gateway Parsers in Java

      ‏2012-05-10T10:04:32Z  in response to PerlDisciple
      Prsently in TNPM, we have functionality to implements the functionality of Existing frameworks using perl code i.e. configuring EngineConfig.pm or Userconfig.pm

      Suppose if we have to parse some CSV file then i could implement the existing CSV framework and if there is any need to do modification then i would have to implement PERLIZE etc. rules.

      My question is ??
      would i have supportive API's in Java so that i could implement this functionality using Java code.

      Advantage to me : I am Java expertise
      • PerlDisciple
        PerlDisciple
        4 Posts
        ACCEPTED ANSWER

        Re: Gateway Parsers in Java

        ‏2012-05-10T10:26:16Z  in response to VikasMahajan
        Hi Vikas,

        I get you. Gateways Framework is implemented in Perl.
        Vendor Gateways are implemented in Perl.
        Making changes on the rules using Java language can impact the ff:

        1) complexity of the Java code - for now, I don't think the GW Framework is supporting any Java API
        2) if supported in future(which i doubt this will happen) - performance on Java < performance on Perl parsing
        a. maintenance-wise: Perl Wins
        b. simplicity-wise/code implementation: Perl Wins
        c. performance-wise: Perl Wins

        P.S. I am once a Java Jedi but now I am a Perl Disciple. xoxo

        Cheers,
        P.D.
      • VikasMahajan
        VikasMahajan
        6 Posts
        ACCEPTED ANSWER

        Re: Gateway Parsers in Java

        ‏2012-05-10T10:31:49Z  in response to VikasMahajan
        Thanks for your quick reply.
        • PerlDisciple
          PerlDisciple
          4 Posts
          ACCEPTED ANSWER

          Re: Gateway Parsers in Java

          ‏2012-05-10T10:35:15Z  in response to VikasMahajan
          No worries.
          As long as you know the logic, Perl syntax is easy to catch.

          Cheers,
          P.D.