webMethods

webMethods

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Mapping compiled java classes onto nodes in Webmethods developer

  • 1.  Mapping compiled java classes onto nodes in Webmethods developer

    Posted Mon May 08, 2006 04:49 AM

    Hi,
    I have compiled set of classes and source code written in java.I want to map them to a new package in webMethods developer. How an i do it?
    Is there any tool which will oslve this purpose.?

    Thanks,
    -Siva


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 2.  RE: Mapping compiled java classes onto nodes in Webmethods developer

    Posted Mon May 08, 2006 03:23 PM

    Not sure what you mean by “map them to a new package”.

    The easiest way to access custom java functionality is to create a java archive (jar) file containing your custom java classes and place that jar in the webMethods IS classpath by copying it into webm_home/IntegrationServer/lib/jars and restarting the server.

    After restarting the server, create a new java service and add an import statement that references your custom package or a class in that package.

    Mark


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods


  • 3.  RE: Mapping compiled java classes onto nodes in Webmethods developer

    Posted Mon May 08, 2006 03:24 PM

    Create a new javaservice in the Developer and copy the source code and save it for compile.

    If you already have custom java classes, create a jar file and put them in webMethods6\IntegrationServer/lib/jars folder then you can access the new methods in Developer.

    Note:You need to use webMethods IS Java API in order for java source for successful compile.

    HTH,
    RMG


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods