IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

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
  • 1.  Writting java classes

    Posted Wed September 14, 2005 04:25 PM

    Hi ,
    i am new webMethods, i got small question.
    i would like to write a java class in webmthods developer. and i want to call that class methods from my java service. would please tell me how to do this.
    please help me out.


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


  • 2.  RE: Writting java classes

    Posted Wed September 14, 2005 05:10 PM

    Koppaka,

    You need to create a jar file which contains the new class methods etc…and put this jar file in the webMethods classpath see this location
    c:\webMethods\IntegrationServer\lib\jars folder.

    Finally restart the IS server.Then you should call the class methods in the developer.

    HTH,
    RMG


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


  • 3.  RE: Writting java classes

    Posted Wed September 14, 2005 05:20 PM

    Thanks a lot. that helps. i need one more help. is it possible without restarting the IS server. is there any alternative. because we are using the same server for production. that may cause some problems.


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


  • 4.  RE: Writting java classes

    Posted Wed September 14, 2005 05:27 PM

    I dont think it will help with out server restart.this is the standard behaviour for setting classpath in IS.

    HTH,
    RMG


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


  • 5.  RE: Writting java classes

    Posted Wed September 14, 2005 11:46 PM

    RMG’s advice is good as usual.

    koppaka, since you’ve stated that you’re “new to webMethods” I thought I’d provide a caution about diving into using Java too quickly.

    As a general rule of thumb, you don’t need to use Java for most of your integration solutions. You may find this thread helpful:

    [url=“wmusers.com”]wmusers.com


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


  • 6.  RE: Writting java classes

    Posted Thu September 15, 2005 12:23 AM

    Rob,

    That was really a great thread: very interesting and good example of how these discussion forums can really pull a lot of good information from different sources together. I wonder if the opinions expressed there would be changed any in the three years or so since they were posted. Thanks for bringing it to our attention.

    Tim


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