Calling another JPD in another EAR file

Posted on 2005-05-11
Last Modified: 2013-12-10
I am using WLI 8.1.4. Is it possible for a JPD to call another JPD which is deployed in another EAR file?
Question by:yongsing

    Accepted Solution

    Actually the only way I did was to call it dynamically using the dynamic selector. And then add the location, url or directory address of the JPD that you want to use in the Dynamic Control Selectors in Process Configuration.  If you go to the documentation and search for Dynamic Selector it will talk you through it.  I hope this helps.
    LVL 3

    Expert Comment

    What would be your requirement for doing so?
    Ideally, you should be making a process control or exposing your JPD as  webservice in Application A and use this webservice to make a call from Application B.

    If you just want to test it you can try making a http call to the JPD in application A from application B, the URL should be the something like
    http://localhost:7001/MQControlWMUWeb/processes/process.jpd?.EXPLORE=.TEST that would be the same URL you get through test brwser but it is unsecure and normally this won't be allowed in production scenarios.

    You should consider the first option if at all.


    LVL 9

    Author Comment

    I did tried out successfully using lasanac's suggestion.

    tyags, you seemed to say that it is not good practice to call a JPD in another application. Is that so?
    LVL 3

    Expert Comment

    I am sorry, I did research about lasanac's answer. That's basically the same thing as what I metioned as web service call. Dynamic Selector is a past of service broker control, which is basically a web service control and so you have in fact accomplished the right way of doing it.
    good to hear that you got it working and good job done by lasanac!

    Expert Comment

    Thank you.  I appreciate that.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Suggested Solutions

    This exercise is about for the following scenario: Dmgr and One node with 2 application server. Each application server contains it owns application. Application server name as follows server1 contains app1 server2 contains app1 Prereq…
    This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now