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.

Similar Messages

  • How do I migrate apps from an old iphone if I didn't back them up

    How do I migrate apps from an old iphone if I didn't back them up?
    I created a backup of my iphone 5s just before activating my iphone6.  But I chose not to back up the apps to my computer because at the moment I was thinking of my MBA's hard disk space.  Now that Im restoring the backup to my new phone, I get an itunes message saying 64 apps were not installed on my phone because the apps could not be found.
    The phone is still restoring photos.  What can I do to get those apps on my phone without having to re-install them manually?

    Ok, I have my old iphone5s and my new iphone6.
    I have apps on my iphone5s, i haven't erased anything.
    One of those for example is iBank.
    I connect the iphone5s to my mac, in iTunes I select the phone, click on Computer backup "This computer" and click on Backup now.  Itunes says its backing it up and finishes.
    Now I unplug the iphone5s and plug in the iphone6. 
    It starts to sync but then gives me an error saying some apps were not installed:
    The games I don't care about, but iBank I do, there is also a company erp app.  Those are the only 2 I really need to have back on my new phone.  No matter how many times i backup the old, it just won't find the apps.  Why?

  • Migrating apps from WLS 10.3.0 to SOA Suite 11g-- WLS 10.3.3

    Hi,
    We want to migrate our apps from WLS 10.3.0 to SOA Suite 11g-->WLS 10.3.3. While deploying the apps on WLS 10.3.3 (SOA Suite Domain 11g), it is throwing exception as below. This exception is common for almost all apps. Kindly help.
    Caused by: weblogic.utils.compiler.ToolFailureException: Unable to load your custom module provider's module-factory-class com.bea.wlw.runtime.descriptor.module.ConfigModuleFactory
    at weblogic.application.compiler.FlowDriver.handleStateChangeException(FlowDriver.java:53)
    at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:37)
    at weblogic.application.compiler.FlowDriver$CompilerFlowDriver.compile(FlowDriver.java:96)
    at weblogic.application.compiler.AppMerge.runBody(AppMerge.java:157)
    at weblogic.utils.compiler.Tool.run(Tool.java:158)
    at weblogic.utils.compiler.Tool.run(Tool.java:115)
    at weblogic.application.compiler.AppMerge.merge(AppMerge.java:169)
    ... 67 more
    Caused by: weblogic.management.DeploymentException: Unable to load your custom module provider's module-factory-class com.bea.wlw.runtime.descriptor.module.ConfigModuleFactory
    at weblogic.application.internal.flow.CustomModuleHelper.loadModuleFactory(CustomModuleHelper.java:82)
    at weblogic.application.internal.flow.CustomModuleHelper.initFactories(CustomModuleHelper.java:52)
    at weblogic.application.utils.CustomModuleManager.createScopedCustomModules(CustomModuleManager.java:119)
    at weblogic.application.utils.CustomModuleManager.<init>(CustomModuleManager.java:39)
    at weblogic.application.compiler.WARModule.merge(WARModule.java:466)
    at weblogic.application.compiler.flow.MergeModuleFlow.compile(MergeModuleFlow.java:23)
    at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
    at weblogic.application.compiler.FlowDriver$CompilerFlowDriver.compile(FlowDriver.java:96)
    at weblogic.application.compiler.ReadOnlyEarMerger.merge(ReadOnlyEarMerger.java:49)
    at weblogic.application.compiler.flow.AppMergerFlow.mergeInput(AppMergerFlow.java:88)
    at weblogic.application.compiler.flow.AppMergerFlow.compile(AppMergerFlow.java:41)
    at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
    ... 72 more

    Below link might be helpful.
    http://kr.forums.oracle.com/forums/thread.jspa?threadID=1049509&tstart=0
    Regards,
    Anandraj
    http://weblogic-wonders.com/

  • Migrating apps from 1 phone to another when changing carriers

    I had an iPhone 3Gs on AT&T and today got a new iPhone 4 on Verizon, how can I re-install my apps from my old phone to my new phone without re-downloading each app?

    They should all be in itunes on your cpomputer.  Just sync them to the new iphone.

  • ClassNotFoundException when running a migrated app from 11g TP to 11.1.1.0

    Hello,
    I have a application that works fine in 11g TP. After migrated to 11.1.1.0, I am getting the following error when trying to run application:
    <09/03/2009 15h02min40s BRT> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1236621745028' for task '0'. Error is: 'weblogic.application.ModuleException: Failed to load webapp: 'Siplag2''
    weblogic.application.ModuleException: Failed to load webapp: 'Siplag2'
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:387)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         Truncated. see log file for complete stacktrace
    java.lang.ClassNotFoundException: logus.security.viewcontroller.AuthenticationFilter
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    It's strange, because I'm sure the class logus.security.viewcontroller.AuthenticationFilter is in a .jar of the application's classpath, so that when I look for the library at C:\oracle\Middleware\jdeveloper\system\system11.1.1.0.31.51.88\o.j2ee\drs\Siplag2\Siplag2\WEB-INF\lib, it is there.
    Anyone have any idea?
    Luiz

    Hi John,
    Just start the online update tool.
    You will see a hint: „JDeveloper 11g (11.1.1.0.1) is Aviable.“
    Press the „Select All“ button, then „Next“.
    Check the „Summery“ box.
    Click Finish and see the „Confirm Exit“ text and press „Yes“ to restart JDeveloper.
    And now after running this course and rechecking the result against your (very comprehensible) assumptions tell me something about professionalism...
    I wasn't talking about any whatever update in the future, but about this very real one.
    Sorry John, but sarcasm from your site is absolutely inopportune at this point.
    Andre

  • Migrating app from 9.0.5.1 to 10.1.2.0 findAll problem

    Hi,
    we are migrating our J2EE 1.3 applications from OAS 9.0.4 to 10.1.2.0.2. Thus, we've upgraded JDeveloper from 9.0.5.1 to 10.1.2.0.2 version.
    Now, an EJB 2.0, CMP and CMR, application that worked perfectly with version 9.0.5.1 is showing a very strange behaviour when running on 10.1.2.0.2 version.
    For instance, we've detected that invocation on findAll method of certain entity bean does not retrieve all the rows in the backend table. In fact, the collection it returns has repeated entity beans.
    Any idea on what's going on?
    Thanks in advanced.

    Ghulam,
    The toplink-ejb-jar.xml file is typically created from mapping your entities to the tables in the mapping editor provided in JDeveloper or the standalone workbench utility. It is not a direct 1:1 association with the orion file.
    We have provided a migration utility for moving from the orion CMP to the new default CMP (TopLink).
    http://download-west.oracle.com/otn_hosted_doc/toplink/1013/MAIN/_html/asinteg003.htm#i1016748
    Doug

  • Migrating apps from app store & logic pro 9

    My hard drive failed about a week ago, but i managed to copy all of my apps (and as far as i can tell all applicable files from the library folder) to an external hard drive. However, after reformatting my macbook pro, any apps that were downloaded from the app store wont open. The thumbs show the standard application picture with a no access sign on top, and when i try to open them i get a window saying 'You can’t open the application “” because it is not supported on this type of Mac.'.
    This wasnt an issue for most apps, i could just redownload them for free, but the problem is logic pro 9, which of course is no longer on the app store due to the release of logic pro x.
    What can i do to get logic working, or is do apple still host it somewhere? I dont think this is a problem with os version, before formatting i was on either 10.8.2 or 10.8.3, now im on 10.8.4.
    thanks

    You beat me to it

  • Launch multiple WS apps from a local Java application?

    I should develop a local Java application that on demand launches webstart applications. Obviously it could be done with a simple HTML file, but the requirements are that launched apps be monitored by the launching app, so they need to be in the same JVM.
    I tried
    java -Djnlpx.home="C:/programfilesdir/Java Web Start"
    -classpath ".;..\classes;..\lib;..\lib\javaws.jar" Launcher
    Then Launcher.java calls com.sun.javaws.Main's main method passing the JNLP URL as a parameter.
    This launches Java Web Start and then the child app, but for some reason I ignore the Launcher app is exited without exceptions as soon as javaws starts.
    Provided that the Java WS app manager is itself a Java app that launches WS app's, any clue on how to do the same thing? Or can the source code be inspected?
    Thanks.

    I should develop a local Java application that on
    demand launches webstart applications. Obviously it
    could be done with a simple HTML file, but the
    requirements are that launched apps be monitored by
    the launching app, so they need to be in the same
    JVM.You might check out netx, a open-source JNLP client that has extra support for running multiple apps in a single JVM. It includes a SecurityManager that can catch System.exit and close the calling app's windows and resources (applet sounds, etc) instead of closing the JVM. It has other support too like separate look and feels for each app.
    It doesn't yet implement all of the spec though, but it does run most JNLP apps.
    http://jnlp.sourceforge.net/netx/

  • Migrating apps from Panther to Tiger

    I just migrated all my stuff from my old 800mhz imac to my new 2.1ghz imac, and everything seemed to be fine until I tried opening Final Cut Express. It refused to open, the error saying "The application Final Cut Express HD quit unexpectedly after it was opened." This error never happened on our old iMac.
    Do I have to reinstall FCE completely?
    Also, my MS Entourage didn't migrate any of my old emails. How do I do that? When I go to account set up (or whatever it's called) it says that it can't find any MSN User Data or identities or something. Basically, how do I get my old emails onto my new iMac?
    Thanks everyone.

    Disk Warrior repairs the "card catalog", more commonly known as the "directory", which tells the computer where files are. It is not a data recovery program per se, though it does know how to rebuild a directory from scratch.
    On the other hand, Data Rescue is not a repair program, but purely a data recovery program. It is able to ignore missing directory listings, and find all the files on the hard drive as long as they haven't been severely written over.
    Data Rescue will ask for a source (the drive with the missing information) and a destination (an empty Firewire hard drive with more space than the source), and will make an effort to recover the data.
    If you choose to download Data Rescue, using a second drive or machine (separate from the source/destination devices) to access the machine with missing information is better. Data Rescue is also available on bootable CD, and that won't need a second machine, or separate drive.
    Ideally you would have backed up your information in the first place so this Data Rescue operation wouldn't be necessary. Then you could have used Disk Warrior to see if rebuilding the directory was all that was needed. But since you don't have a backup, that's why I'm recommending Data Rescue.

  • Migrating Apps from NT to unix

    Hi:
    I am currently investigating and change in operating systems for Oracle applications 11.0.3. The current system runs under Nt4 and we are looking at moving to unix (either sco or Compaq).
    What types of issues need to be adressed in order to accomplish this? We are running AP/GL/AR/PA.
    TIA

    Sorry, this is the code that is falling down:
    lh_GbNRT := ORA_FFI.LOAD_LIBRARY (NULL, 'C:\WINNT\system32\GBNRTI32.DLL');
    for the Win 2000 call
    lh_GbNRT := ORA_FFI.LOAD_LIBRARY('/opt/gb/imtk/', 'gbnrtiobj.so');
    for the Unix call - this is falling down.
    HELP!!!
    null

  • Ive migrated my apps from an old mac to my new mac. When i try to open my CS5 programs it get a pop up that says i need to install the legacy java SE 6. Ive done that and it still does not open?

    Ive migrated my apps from an old mac to my new mac. When i try to open my CS5 programs it get a pop up that says i need to install the legacy java SE 6. Ive done that and it still does not open?

    I'm having a similar problem...but mine results from an OS upgrade from 10.6.4 to 10.8.5.
    Where did you access a clean copy of Java SE 6?  The link at adobe for archicval plug-ins is a dead download (and it doesn't appear to contain Java SE 6.).
    Jerry

  • Is it possible to identify and migrate a single app from iMac to MacBookPro instead of all the applications?

    In the migration of apps from my iMac to MacBookPro, one app did not migrate. Is there a way to redo the migration process but identify a single app and not the entire applications folder?

    Consider Target Disk Mode:
    http://support.apple.com/kb/ht1661
    Ciao.

  • How to migrate mails from Google Apps to MS Exchange Online IMAP (Getting error)

    Any tips on How to migrate mails from Google Apps to MSOL? What is required? When I am trying to migrate using IMAP but getting fpollowing error
    =======================
    Summary: 1 item(s). 0 succeeded, 1 failed.
    Elapsed time: 00:00:11
    [email protected]
    Failed
    Error:
    Failed to log on successfully for the following reason:
    Server rejected Basic login with following message : * CAPABILITY IMAP4rev1 UNSELECT LITERAL+ IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 UIDPLUS COMPRESS=DEFLATE.
    Exchange Management Shell command attempted:
    'Microsoft.Exchange.Transporter.Provider.PopImap.InternetMailboxMeta' | Move-XsIMAPMailboxToExchangeOnline -AllowUnsecureConnection $false -TargetCredential 'System.Management.Automation.PSCredential' -MaxThreadCount '10' -Quiet
    Elapsed Time: 00:00:11
    ======================
    Any help will be much appreciated.
    Regards
    Sunil DK

    I just finished migrating a client from Google Apps to Microsoft Exchange Online using the IMAP option in the Microsoft Online Services Migration Tool.  
    I added the mailboxes by creating a CSV file [i.e. GoogleApps(Gmail)_Mailboxes.csv] in the following format:
    SourceIdentity,SourceServer,SourceLoginID,SourcePassword,TargetIdentity
    [email protected],imap.gmail.com,[email protected],P@ssword1,[email protected]
    [email protected],imap.gmail.com,[email protected],P@ssword2,[email protected]
    [email protected],imap.gmail.com,[email protected],P@ssword3,[email protected]
    Then I created a custom folder map XML file [i.e. GoogleApps(Gmail)_FolderMap.xml] to map the Google Apps (Gmail) labels to the appropriate Exchange (Outlook) mailbox folders and create those that didn't exist (i.e. Important, Starred, Follow up,
    Misc, Priority) as sub-folders under the Inbox:
    <?xml version="1.0" encoding="utf-8"?>
    <FolderMappings xmlns="http://tempuri.org/FolderMap.xsd">
    <!-- This xml contains the mapping of foldername in source server to folders in target server -->
    <!--
    "path" is the name of the folder in source server
    "Name" is the name of the folder to be mapped into target server
    "SpecialFolder" is the name of the special folder to be mapped into
    target server (Name will be ignored) valid values are :
    Inbox
    Calendar
    Tasks
    Sent Items
    Deleted Items
    Drafts
    Junk E-mail
    Contacts
    Outbox
    Journal
    Notes
    "Description" Description of the folder
    "ExcludeFolder" indicates folders to exclude. Valid values are:
    true (case sensitive)
    false (case sensitive)
    0
    1
    -->
    <!-- Default Mapping Section -->
    <Folder path = "INBOX">
    <Property SpecialFolder = "Inbox"/>
    </Folder>
    <Folder path = "New Mail">
    <Property SpecialFolder = "Inbox"/>
    </Folder>
    <Folder path = "[Root]">
    <Property SpecialFolder = "Inbox"/>
    </Folder>
    <Folder path = "">
    <Property SpecialFolder = "Inbox"/>
    </Folder>
    <Folder path = "Calendar">
    <Property SpecialFolder = "Calendar"/>
    </Folder>
    <Folder path = "Tasks">
    <Property Name = "Migration items/Tasks"/>
    </Folder>
    <Folder path = "Sent Items">
    <Property SpecialFolder = "Sent Items"/>
    </Folder>
    <Folder path = "Sent Mail">
    <Property SpecialFolder = "Sent Items"/>
    </Folder>
    <Folder path = "Sent">
    <Property SpecialFolder = "Sent Items"/>
    </Folder>
    <Folder path = "Deleted Items">
    <Property SpecialFolder = "Deleted Items"/>
    </Folder>
    <Folder path = "Trash">
    <Property SpecialFolder = "Deleted Items"/>
    </Folder>
    <Folder path = "Drafts">
    <Property SpecialFolder = "Drafts"/>
    </Folder>
    <Folder path = "Draft">
    <Property SpecialFolder = "Drafts"/>
    </Folder>
    <Folder path = "Junk E-mail">
    <Property SpecialFolder = "Junk E-mail"/>
    </Folder>
    <Folder path = "Spam">
    <Property SpecialFolder = "Junk E-mail"/>
    </Folder>
    <Folder path = "Contacts">
    <Property Name = "Migration Items/Contacts"/>
    </Folder>
    <Folder path = "Outbox">
    <Property SpecialFolder = "Outbox"/>
    </Folder>
    <Folder path = "Journal">
    <Property SpecialFolder = "Journal"/>
    </Folder>
    <Folder path = "Notes">
    <Property SpecialFolder = "Notes"/>
    </Folder>
    <Folder path = "Public Folders">
    <Property ExcludeFolder = "true"/>
    </Folder>
    <!-- Google Apps (Gmail) Specific Mapping Section -->
    <Folder path = "[Gmail]/All Mail">
    <Property ExcludeFolder = "true"/>
    </Folder>
    <Folder path = "All Mail">
    <Property ExcludeFolder = "true"/>
    </Folder>
    <Folder path = "[Gmail]/Drafts">
    <Property SpecialFolder = "Drafts"/>
    </Folder>
    <Folder path = "[Gmail]/Important">
    <Property Name = "Inbox/Important"/>
    </Folder>
    <Folder path = "[Gmail]/Sent Mail">
    <Property SpecialFolder = "Sent Items"/>
    </Folder>
    <Folder path = "[Gmail]/Spam">
    <Property SpecialFolder = "Junk E-mail"/>
    </Folder>
    <Folder path = "[Gmail]/Starred">
    <Property Name = "Inbox/Starred"/>
    </Folder>
    <Folder path = "[Gmail]/Trash">
    <Property SpecialFolder = "Deleted Items"/>
    </Folder>
    <!-- Custom Mapping Section -->
    <Folder path = "Follow up">
    <Property Name = "Inbox/Follow up"/>
    </Folder>
    <Folder path = "Misc">
    <Property Name = "Inbox/Misc"/>
    </Folder>
    <Folder path = "Priority">
    <Property Name = "Inbox/Priority"/>
    </Folder>
    </FolderMappings>
    Additionally, I had to tell the Internet E-mail Mailbox Migration Wizard to use the "Individual Account Credentials" option since I was able to specify each account password in the CSV file when adding the mailboxes to Microsoft Online Services Migration
    Tools console.
    Just to note, the users had to manually export their contacts to a CSV file and calendars to iCal (ICS) files in order to import those items into Outlook.
    I hope this will benefit others since Microsoft doesn't seem to have a custom, specifically defined migration strategy for this scenario.  With Google Apps being in direct competition with BPOS/Office365, I assumed that Microsoft would have a simple
    strategy using something like ActiveSync to facilitate the migration of email, contacts, calendar entries, etc.  Hopefully we'll see something along those lines become available in a future release of the migration tools.
    --Jon Payne

  • How do I migrate my extensive ipad files and apps from my old iMac to my new windows machine?

    I had to go to a windows machine. All of my stuff, apps, books, music, pictures, etc. is on my iMac. Is there any way to gracefully move the information  from the iMac to the windows machine? It's about 60 GB.

    If all your data is on your iTunes library, follow the steps of this site to transfer your library to a PC with an external disk > http://support.apple.com/kb/ht1751 You have to do the "Restoring your iTunes Library backup" step on your PC.
    Apart from that, if you have got more data you want to transfer, you can put it in the external disk, too. You must do this because there isn't an app to migrate files from a Mac to the PC

  • RFCLIB access from Perl / Java  - newbie question

    Hi folks,
    I am newbie with SAP. I am triying to access the SAP from my web application, wrote in PErl or JAva.
    I am trying to access the librfc, bit I would like to know:
    1) What software I need to install in my client side (the web server that host my web application)??
    2) Which software contains  the RFC SDK? or the RFC LIB?
    3) Should I runt the script to access the rfclib in the SAP server side???
    Please help me with this cruel doubt !!!

    Hi,
    download the SAP JAVA Connector (SAP JCO) from
    service.sap.com
    There are enough examples for java.
    Best Regards
    Frank

Maybe you are looking for

  • Incoming Email on Windows Server 2012

    Windows Server 2012: SMTP and the associated management tools are deprecated. Though the functionality is still available in Windows Server 2012, you should begin using System.Net.Smtp. With this API, you will not be able to insert a message into a f

  • Error Calling BPEL from ESB

    I am using the SOA Suite and have a very simple ESB project which picks up files from a directory and calls a BPEL process following a simple XSL translation. I am getting the following error: An unhandled exception has been thrown in the ESB system.

  • How can i use jpg extension with forms 10g and webutil

    I have a form with webutil and i want to open imege jpg extension but thier are Bmp but my image jpg and image item has no jpg extension . How can i use jpg extension with forms 10g and webutil ?

  • Updater Not Working (Mac Lion/CS6)

    Hello, My updater says I have updates, but my updater says this when I open it: "Update Failed Updates could not be applied You are running the Adobe Application Manager. Please close all instances of Adobe Application Manager before applying updates

  • Creating a tab list

    How do I create this one in oracle apex? https://99designs.com/designs/7318327-original