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

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

    Re: Gateway Parsers in Java

    ‏2012-05-10T09:37:47Z  
    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

    Re: Gateway Parsers in Java

    ‏2012-05-10T10:04:32Z  
    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.
    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

    Re: Gateway Parsers in Java

    ‏2012-05-10T10:26:16Z  
    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
    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

    Re: Gateway Parsers in Java

    ‏2012-05-10T10:31:49Z  
    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
    Thanks for your quick reply.
  • PerlDisciple
    PerlDisciple
    4 Posts

    Re: Gateway Parsers in Java

    ‏2012-05-10T10:35:15Z  
    Thanks for your quick reply.
    No worries.
    As long as you know the logic, Perl syntax is easy to catch.

    Cheers,
    P.D.