Perl and java

hi, does anyone know if you can get a string from a java applet and use it in perl.
thanks

There is no specific communication mechanism between applets and perl.
To send data to a server-side perl script, you simply submit a form or send a GET request with the appropriate fields.

Similar Messages

  • I know c,c++ and java language ! and i want to contribute for development of mozilla products ! any idea where i can find beginner level projects ?

    I know c,c++ and java language ! and i want to contribute for development of mozilla products ! any idea where i can find beginner level projects ! so that i can hone some real development skills too :)

    You could also try jumping in on some of the Mozilla IRC chat channels as was suggested to someone else in another thread.
    Also you could also try the [/forums/buddies new contributors forum], it does now have an Admin monitoring and replying. (At the time of the quoted post Admins were almost impossible to get hold of for forum matters )
    ''Noah_SUMO [/forums/buddies/710569#post-61671 said]''
    <blockquote>
    Sorry I didn't see this earlier. :)
    I know just the places where I think you'd fit in best. To make sure, just join us in #sumodev and #mozwebqa and #communityit at irc://irc.mozilla.org
    I think your skills in php, javascript, python and server admin-y stuff will come in real handy at these places. :D
    For example, some help is needed here to fix these tests after a new theme was added to wiki.mozilla.org and they are in python. https://github.com/mozilla/wiki-tests - more info in #mozwebqa
    And maybe some help with perl might be needed with firebot, a irc bot written in perl. Channel #firebot for that.
    And #communityit (for server admin stuff) and #sumodev could use some help as well, just pop in and ask. :)
    </blockquote>
    Also see
    * [[Contributor News & Resources#w_communication-channels]]_communication-channels
    ** Mibbit link (this one for #sumo channel ) https://www.mibbit.com/?server=irc.mozilla.org&channel=%23sumo
    P.S. and see
    * https://wiki.mozilla.org/Good_first_bug

  • Perl from java

    hi ..
    i want to generate a graphical report after anlysing a log file... i have parsed it with perl....but how do u get the return values into the java prog to generate the graphical report..
    pls help me... i am new to perl with java........

    How about writing the perl script such that it outputs a file of data, then write a java program that reads the data and plots it?

  • Perl - c - java munmap_chunk(): invalid pointer

    I am trying to use the JNI invocation interface from within some C code which in turn is invoked from Perl (Perl -> C -> Java).
    The problem is, when the Perl process ends, i end up this:
    *** glibc detected *** /usr/bin/perl: munmap_chunk(): invalid pointer: 0xb68d3880 ***
    ======= Backtrace: =========
    /lib/i686/cmov/libc.so.6(+0x6b321)[0xb7e20321]
    /lib/i686/cmov/libc.so.6(+0x6c59e)[0xb7e2159e]
    /usr/bin/perl(perl_destruct+0x1290)[0x807dd30]
    /usr/bin/perl(main+0x95)[0x80642a5]
    /lib/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0xb7dcbc76]
    /usr/bin/perl[0x8064171]
    I am simply invoking this function once, which creates the JVM and later invokes DestroyJavaVM...
    static void test( void ) {
        JavaVM *jvm;
        JNIEnv *env;
        JavaVMInitArgs vm_args;
        JavaVMOption options[ 1 ];
        options[ 0 ].optionString = "-Djava.class.path=/tmp";
        vm_args.version = JNI_VERSION_1_6;
        vm_args.nOptions = 1;
        vm_args.options = options;
        vm_args.ignoreUnrecognized = 0;
        int ret = JNI_CreateJavaVM( &jvm, ( void** ) &env, &vm_args );
        if(ret < 0)
            printf("\nUnable to Launch JVM\n");
        else {
            if( (*env)->ExceptionOccurred( env ) )
               (*env)->ExceptionDescribe( env );
            (*jvm)->DestroyJavaVM( jvm );
    }Can anyone offer me any clues as to what may be happening here? I am guessing that DestroyJavaVM is not freeing the resources allocated by the JVM and this interferes with garbage collection in Perl...

    I am guessing that DestroyJavaVM is not freeing the resources allocated by the JVMThat definitely won't be it, as DestroyJavaVM() currently does nothing.
    I would take this in three steps:
    1. write a C main() that starts and stops the JVM correctly
    2. write a C test() that does nothing except get called by Perl correctly
    3. Have the test() start the JVM using the same code as at (1).
    I would also have a look at how you are building the C exe. In my experience on Windows, sharing the C RTL doesn't work in conjunction with the JVM. Some years ago I was a whizz at fixing this sort of thing but these days I just use a static library ;-)

  • Migrating app from Perl to Java

    Hello all,
    I am fairly a newbie to Java and have been handed a new project, and I think Java is the proper way.
    The current application is written entirely in Perl and using Perl2Exe is an executable that is used internally at our company. What the tool does is, reads a CSV file, gathers IP/hostname, authentication information than connects (telnet and/or SSH and/or SNMP) to the said IP/Hosts (all cisco devices) and does a bunch (12 of them) of "cisco 'show'" commands and gathers the output into text files. One per IP/hostname. Which is then read in by another 3rd party application.
    I think I have a fair grasp of what needs to happen to convert the application into OO. The question is what libraries do I need to use for, since I don't want to reinvent the wheel
    - Reading CSV
    - Telnet
    - SSH v1 & v2
    - SNMP v1 v2c (possibly v3)
    Any help would be greatly appreciated. If at all possible, I would like to use GPL and/or Apache Licensed libraries.
    Thank you.
    awm
    P.S. In case you're asking why we're switching is that Perl on Windows doesn't really support SSH as a tty application and its not easily writable. Python is the other language of choice but I just would hate to have to switch to it, its just a pain to write in.

    I would say you can do this in Java no problem and there's lots of support for all the stuff you mentioned. Also, you can find everything you need at www.google.com. Once you start coding, post any problems/errors you have and we can provide more specific help.

  • PERL and PDK

    Can i use the PDK to write perl portlets or is the technology limited to only using url services to integrate perl applications. Are PL/SQL and Java the only languages supported?

    PDK support API's for Java and PL/SQL only. You can use Web Clipping to clip any PERL generated contents as Portlets.

  • Whats is difference between Java JRE  and  Java SDK

    Hi,
    what is the difference between Java JRE and Java SDK...
    i think both of them have the same set of files to be installed...
    I am not able to understand where they differ

    The JRE (Java runtime Environment) contains just the stuff necessary to run Java and the SDK (System Development Kit) contains the extra stuff necessary (and also helpful) to develop in Java.

  • What is difference between C# Gzip and Java swing GZIPOutputStream?

    Hi All,
    I have a Java swing tool where i can compress file inputs and we have C# tool.
    I am using GZIPOutputStream to compress the stream .
    I found the difference between C# and Java Gzip compression while a compressing a file (temp.gif ) -
    After Compression of temp.gif file in C# - compressed file size increased
    while in java i found a 2% percentage of compression of data.
    Could you please tell me , can i achieve same output in Java as compared to C# using GZIPOutputStream ?
    Thank a lot in advance.

    797957 wrote:
    Does java provides a better compression than C#?no idea, i don't do c# programming. and, your question is most likely really: "does java default to a higher compression level than c#".
    Btw what is faster compression vs. better compression?meaning, does the code spend more time/effort trying to compress the data (slower but better compression) or less time/effort trying to compress the data (faster but worse compression). most compression algorithms allow you to control this tradeoff depending on whether you care more about cpu time or disk/memory space.

  • What is the diffrence between package javax.sql and java.sql

    Is javax designed for J2EE?
    And when to use package javax?

    Hi,
    What is the diffrence between package javax.sql and java.sql?The JDBC 2.0 & above API is comprised of two packages:
    1.The java.sql package and
    2.The javax.sql package.
    java.sql provides features mostly related to client
    side database functionalities where as the javax.sql
    package, which adds server-side capabilities.
    You automatically get both packages when you download the JavaTM 2 Platform, Standard Edition, Version 1.4 (J2SETM) or the JavaTM 2, Platform Enterprise Edition, Version 1.3 (J2EETM).
    For further information on this please visit our website at http://java.sun.com/j2se/1.3/docs/guide/jdbc/index.html
    Hope this helps.
    Good Luck.
    Gayam.Srinivasa Reddy
    Developer Technical Support
    Sun Micro Systems
    http://www.sun.com/developers/support/

  • What is the diffrence between My Runnable Interface and Java Runnable

    Hi folks
    all we know that interfaces in java just a decleration for methods and variables.
    so my Question is why when i create an interface its name is "Runnable" and i declared a method called "run" inside it.then when i implements this interface with any class don't do the thread operation but when i implement the java.lang.Runnable the thread is going fine.
    so what is the diffrence between My Runnable Interface and Java Runnable?
    thnx

    Hi folks
    all we know that interfaces in java just a decleration
    for methods and variables.
    so my Question is why when i create an interface its
    name is "Runnable" and i declared a method called
    "run" inside it.then when i implements this interface
    with any class don't do the thread operation but when
    i implement the java.lang.Runnable the thread is going
    fine.
    so what is the diffrence between My Runnable Interface
    and Java Runnable?
    thnxClasses and interfaces are not identified by just their "name", like Runnable. The actual "name" the compiler uses is java.lang.Runnable. So even if you duplicate the Runnable interface in your own package, it's not the same as far as the compiler is concerned, because it's in a different package.
    Try importing both java.util.* and java.awt.* (which both have a class or interface named List), and then try to compile List myList = new ArrayList();

  • Java SE and Java EE

    I am a IT graduate and I still need some clarification on the relationship between Java SE and Java EE API. Does EE include SE?
    For application development, I know I can use only SE without the EE, but can I use EE alone without SE?
    Any good articles addressing my questions?
    Thank you very much
    R

    Java EE in fact extends java SE, its primarily aim is to simplify developing multitier enterprise applications (Java SE provides all the necessary basic libraries etc.)
    Because Java EE is an extension of Java SE, you cant use EE without SE - without SE there is no EE.

  • SSO between Portal and Java WD application

    Hi Experts,
    I am using CE 7.2 on localhost and I am very new to SAP.
    I need to know how can I get SSO between Portal and Java WD.  I have a WD application that displays the logged in user using "IUser currentUser = WDClientUser.getCurrentUser().getSAPUser()", as well I can use "IUser user = UMFactory.getAuthenticator().getLoggedInUser()".  Both work.
    Q1. What is the difference in the 2 above?
    Q2. My WD application is set to authenticate user.  The WD application is in URL iView.  I need SSO between Portal and WD application.   Is there a way to get this SSO without SAP Backend (ECC), for now I just need SSO between Portal and Java WD appl.
    Everything is in localhost.
    Please advice. Thanks.

    > need to know how can I get SSO between Portal and Java WD.
    Then I suggest you ask your question in the Web Dynpro Java forum instead of the Web Dynpro ABAP one.

  • J2me and java card, need help to communicate

    we are trying to put together a reader to read smartcards using j2me and we figure that it would be easiest if we could develop it to work with java cards rather than standard smart cards, the problem is we get garbage when we communicate to it, the chip sends us crap, any suggestions what might be wrong, any calls we might be missing, has anyone worked with j2me and java cards or smart cards, any help would be appreciated.
    einar

    .... reader app and the ME behind it .... smells like mobile ....
    First of all - if you want to have one mobile application running on this just make sure that whatever is written in ME can use drivers from the reader chip ....
    Workin on the PC is something completely different. There was one good example how to develop one host application in Java provided with the JCOP tools long ago ... I don't know if this is now in the new Eclipse tools.
    But - there was a small API provided that can give you good hints what to do - and - once you have it on the reader side - you can easily integrate ME methods with this ...

  • Eclipse 3.4 and Java 6 compatibility

    Hi All,
    I have a tomcat plugin inside Eclipse 3.4.2. Recently I upgraded from Java 5 to Java 6. When I try to start Tomcat from Eclipse,I get the following error:
    Error occurred during initialization of VM
    java.lang.UnsatisfiedLinkError: java.lang.Float.floatToIntBits(F)I
         at java.lang.Float.floatToIntBits(Native Method)
         at java.lang.Math.<clinit>(Math.java:801)
         at sun.net.www.ParseUtil.lowMask(ParseUtil.java:512)
         at sun.net.www.ParseUtil.<clinit>(ParseUtil.java:559)
         at sun.misc.Launcher.getFileURL(Launcher.java:388)
         at sun.misc.Launcher$ExtClassLoader.getExtURLs(Launcher.java:165)
         at sun.misc.Launcher$ExtClassLoader.<init>(Launcher.java:137)
         at sun.misc.Launcher$ExtClassLoader$1.run(Launcher.java:121)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.misc.Launcher$ExtClassLoader.getExtClassLoader(Launcher.java:118)
         at sun.misc.Launcher.<init>(Launcher.java:51)
         at sun.misc.Launcher.<clinit>(Launcher.java:39)
         at java.lang.ClassLoader.initSystemClassLoader(ClassLoader.java:1304)
         at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:1286)
    Kindly suggest what needs to be done? If I am posting it in a wrong forum please suggest me the right one too.
    I would like to know if Eclipse 3.4 and Java 6 are compatible or not.
    Thanks in advance.

    ShubhaPradeep wrote:
    I have a tomcat plugin inside Eclipse 3.4.2. Recently I upgraded from Java 5 to Java 6. When I try to start Tomcat from Eclipse,I get
    Error occurred during initialization of VM
    java.lang.UnsatisfiedLinkError: java.lang.Float.floatToIntBits(F)IAre we talking 64-bit Linux?
    I had issues launching eclipse on CentOS 5 64-bit and Sun JDK 1.6,
    resolved by launching eclipse with the -vm option specifying Sun JDK 1.5 java.
    [https://www.centos.org/modules/newbb/viewtopic.php?post_id=95784&topic_id=11661]

  • Problem with win2000sp3 and Java web start

    I have JRE and Java web start (1.2.0_01, build b01) which come downloading file j2re-1_4_1_01-windows-i586-i.exe from sun.
    I have win2000pro running on my PC.
    I had updated win2000 to service pack 2 and everything was fine.
    Now i decided to update to service pack 3 (in the process I also updated other components) from Microsoft and:
    1) Java applets seem to be running fine within i.e.
    2) If i try to run an application from java web start my PC freezes and I have to restart it.
    3) Staroffice 6.0, which runs on Java, seems to be fine.
    I reinstalled both sp3 and jre etc, with no result.
    Is this a known problem?
    Thanks to all.
    Maurizio

    I suspect that you have hit a known problem with Swing on Java 1.4.1 with buggy video drivers. Do you have an ATI card? They are the worst offenders. ATI released new drivers for its Radeon line today. They fix the problem.

Maybe you are looking for