How to run JMS in multiple machines?

hello all,
i am new to jms, so please let me know how to run jms in multiple machines.
i mean, iin one machine publisher and the queue/topic are running, in other machine listener/clent. so client and the publisher must be running in an application servers. so it means only two app servers can send and receive messages?
then what is the advantage of JMS?
I think the sender will be sending messages and the listener can get them at later time, is my understanding is correct?
Please let me know how it works in multiple machines? and how shold i start now?
please give me the details....
thanks in advance.
charan

Hi Charan!
If I understand your questions right, yes, you can use JMS on several physical machines. They connect using JNDI.
However, you cannot communicate asynchronously through JMS alone. The benefit of JMS is that you have a common interface to use when talking to a messaging provider, like WS MQ, Sonic MQ, etc. Most vendors support JMS, and those who do are called JMS providers. They are required to implement either the Queue functionality or Topic functionality (or both). When using a JMS provider, you really see the benefit of JMS. How else would you secure that your system is loosly coupled? Also, by using JMS and Message Driven Beans you get the benefits of container managed transactions, object pooling, etc.
If you do not have a JMS provider, you still have the benefit of a loosly coupled system by using JMS to integrate your applications, but in a large system, you should consider a tool for asynchronous messaging(again WS MQ, Sonic MQ, etc).
I would recomend you start by reading the JMS section of the J2EE tutorial provided by sun.
-K-

Similar Messages

  • How to run forms6i on Unix Machine

    Hi all,
    I have just migrated a form4.5 to form6i. We have character mode application.
    Can anyone give me some idea how to run form6i on unix machine.
    Is it the same way we run form4.5(f45gen xyz.fmb $Path) or bit different
    Thanks
    regds
    Lasily Thomas

    We run some Forms6i character-mode forms on Linux (using "f60run") and just started having some problems after we upgraded our database from 8i to 9i, and especially after applying the latest patch to 9.2.0.4. We get lots of ORA-03113 errors now. We also have problems with at least some calls to server-side (user-written, not built-in) stored functions (not procedures). The Forms compiler crashes on these unless we re-write those function calls to call new wrapper procedures that we wrote (that in turn call the existing functions).

  • How to run a webdynpro multiple times by passing different parameters each time and save webpages with parameter name?

    Hi Experts,
    I am a BW consultant and new to webdynpro. Not sure how to run RSO_METADATA_REPOSITORY multiple times and by passing different parameter values each time(either taken from an a standard BW table or user provided - anything is fine) and build web pages with parameter name. Need help with direction on where to start.
    Let me step back and explain my requirement:
    In BW we have an object called transformation.
    One way of generating documentation for transformation is highlight transformation and press F1. Then its documentation will be opened as a local web page.
    I need these web pages for all transformations. This is my requirment.
    I came to know that RSO_METADATA_REPOSITORY is beeing used to generate this web page.
    The web link is something like below:
    http://ubw05.xxx.com:8005/SAP/BW/DOC/METADATA/?page=BW_O_D&SystemID=BWPCLNT100&ClassID=TRFN&ID=0KHR6J65AIIUTCJZEC093K6XDFV909PB&objectVersion=A&sap-language=EN&sap-client=100
    When i run this link seperately(not by selecting transformation and pressing F1) i need to enter login credentials to BW system.
    My challenges is how do i pass login credentials and multiple transformation IDs to generate multipe web pages with each page named by transformation ID?
    WHere to start? First of all is RSO_METADATA_REPOSITORY Webdynpro JAVA or webdynpro ABAP or can i use anything?
    Since it is beeing opened as local webpages i assume it is webdynpro JAVa is that correct?
    Thanks,
    Raghu

    hello,
    might be a problem with the version you are using.
    regards,
    the oracle reports team

  • How to run command on all machine in AD?

    Hi,
    I need to run few commands on different OU's in my Active directory environment, and want to make sure commands did run successfully on all machines. Please guide me for the same.

    Hello,
    Either use a Start-Up script or use Enter-PSSession at Powershell or use
    PSExec. Below links might be helpful. You need WinRM up and running on your clients.
    Use PowerShell to Run WMI Commands on Remote Computers
    PsExec v2.11
    Regards.
    Mahdi Tehrani   |  
      |  
    www.mahditehrani.ir
    Please click on Propose As Answer or
    to mark this post as
    and helpful for other people.
    This posting is provided AS-IS with no warranties, and confers no rights.
    How to query members of 'Local Administrators' group in all computers?

  • How to run qemu Linux virtual machines properly on android tabs.

    My tab specification's are 1.2 GHz quad core processor and 1 GB ram, 16 GB internal ROM.
    I want to run RHEL 5.0 X86 CLI I mean without any gui on my tab and so I followed the steps below
    At first on windows I have installed qemu manager and after that I have created a virtual machine RHEL with processor option as Pentium 3 and ram option with 256 MB. The installation was successful and I am able to boot properly into it.
    After that I have transferred the installation image to my tab. In order to run the virtual machine I have installed limbo qemu manager. I have selected the transferred image and specified the same options as above.
    When I run the above virtual machine I am unable to boot into my system properly and I getting the following errors
    kernel panic not syncing: kernel compiled for Pentium+ requires TSC feature.
    general protection fault : fffa [#1]
    Kindly suggest how to successfully run the above virtual machine on my tab.
    Regards,
    Rupesh.
    Regards,
    Rupesh.

    You don't say what tablet you have, but all of Lenovo's Android tablets that I know of have ARM processors, not X86 processors, so what you're doing isn't going to work.

  • How to deploy Firefox to multiple machines with custom addons?

    I am looking to deploy Firefox to multiple Mac machines with some custom addons and settings. What's the best approach for that?
    I was thinking about using Firefox ESR but I am not sure how to save the profiles folder inside the app folder. I know that this is possible because the Tor Browser does that.

    You can look at this extension:
    *CCK2 Wizard: https://addons.mozilla.org/firefox/addon/cck2wizard/
    *http://mike.kaply.com/2014/01/08/can-firefox-do-this/

  • How to run application on two machine?

    hi
    how can i run coherence test program on two machine,
    and what configuration need on two machine, so that i can see the sharing of cache.
    thanks
    praven jain

    Here are some "getting started" links that may help:
    http://wiki.tangosol.com/display/COH33UG/Installing+Oracle+Coherence
    http://wiki.tangosol.com/display/COH33UG/Creating+and+Using+Coherence+Caches
    http://www.javalobby.org/java/forums/t78008.html
    Coherence includes a default configuration out-of-the-box that will connect any machines using that same configuration (e.g. if you launch the cache client or server scripts in the /bin folder they will detect each other automatically via multicast).
    Jon Purdy
    Oracle

  • How to run report from multiple user same time

    Hi,
    We are using oracle database 11g R2
    Oracle Forms & reports : 11.1.2
    O.S : Windows & Professional
    We have install oracle database, Oracle forms & reports in server. Near about 25 users are accessing that database, forms & reports from server through browser.
    I have one problem, when users runs a report there report goes in queue and runs one by one in FIFO manner.
    If one user has a report that take long time other users has to wait for that time.
    Can it is possible to run reports in multitasking manner, i.e multiple report can be run simultaneously.
    http://servername:7001/reports/rwservlet/showjobs?
    Using above url am able to see jobs in queue.
    Thanks in advance.

    Hi Denie,
    I am new to it and don't know how to add engines to server.conf , can you please tell me how to add engine to it.
    I search server.conf file but i did't found it.
    Please help..
    Thanks in advance.

  • How to run java programs on machines without JDK

    I want to make an installer for my java program that would work on machines even without JDK or Java runtime. How should I go?

    Here's another point.
    There is no particular need to "install" anything to run java. You can simply copy the jre to a directory of your choice, and from that directory invioke the JVM as you need it.

  • How to run video on multiple screens?

    I work in theater and video production. I recently bought a PowerMac G5 with PCI-e with the intention of adding another video card later, to be able to run 3-4 independent screens.
    Here's my question: What software do I need to run multiple synchronized video files from one computer? For instance, how would I play a music video with one audio track and two video tracks for two separate projection screens? Is there software that already provides this functionality (like Macromedia Director?), or do I need to write my own?

    Your best bet is to contact someone local who does this one a daily basis. Sport arena, local tv station, someone who sets up multimedia for parties...Dj...local computer club...
    You may be out of luck trying to do this with one computer. Would be too cpu intensive...

  • Firefox is already running but is not responding - Cannot run Firefox on multiple machines with in a network (parent.lock)

    Environment - Single File Server & 6 workstations.
    I have a single generic user account/profile and log on to all 6 workstations at the same time (1 user, 1 password, 6 workstations).
    I need to run firefox on all the workstations with the same user and user profile.
    However, as soon as one user opens firefox all the others get the message "Firefox is already running but is not responding" and can not open the browser. No other workstations can open Firefox. I can only run 1 instance of Firefox in this scenario. How can I run it on all 6 with a single user account?
    I have been back to the server and deleted the parent.lock file but it is recreated again as soon as someone open a firefox browser and the problem starts al over again.
    Please - How can I get a single user with a single profile to run firefox on 6 workstations simultaneously?
    Thank You

    hello timfarr, you cannot do that - many essential databases (like bookamrks, passwords etc.) in your profile are not designed to be accessed by different processes at the same time...

  • How to run client from other machine in ejb

    Please help me this problem .
    When i run on local . Every thing is ok .
    But when i run from different machine , it not work .
    Although , i hava changed jnp://localhost:1099 to jnp:/xxx.xxx.xxx:1099 , xxx... this is my ipaddress .
    I am using : net bean 6.9 , j2ee 1.4 , jboss application server 4.2.3GA
    Thanks all

    Thanks jverd and gimbal2 helped me .
    I hava just write the small programme "Hello word "
    This is my code .
    I create EJB module : invokes : hello.java , helloRemote.java , helloRemoteHome.java .
    hello.java*
    package demo;
    import javax.ejb.SessionBean;
    import javax.ejb.SessionContext;
    +public class hello implements SessionBean {+
    private SessionContext context;
    +public void setSessionContext(SessionContext aContext) {+
    context = aContext;
    +}+
    +public void ejbActivate() {+
    +}+
    +public void ejbPassivate() {+
    +}+
    +public void ejbRemove() {+
    +}+
    +public void ejbCreate() {+
    +}+
    +public String getMessage() {+
    return "hello word";
    +}+
    +}+
    helloRemote.java*
    package demo;
    import java.rmi.RemoteException;
    import javax.ejb.EJBObject;
    +public interface helloRemote extends EJBObject {+
    String getMessage() throws RemoteException;
    +}+
    helloRemoteHome.java*
    package demo;
    import java.rmi.RemoteException;
    import javax.ejb.CreateException;
    import javax.ejb.EJBHome;
    +public interface helloRemoteHome extends EJBHome {+
    demo.helloRemote create()  throws CreateException, RemoteException;
    +}+
    ejb-jar.xml*
    +<?xml version="1.0" encoding="UTF-8"?>+
    +<ejb-jar version="2.1" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd">+
    +<display-name>helloword</display-name>+
    +<enterprise-beans>+
    +<session>+
    +<display-name>helloSB</display-name>+
    +<ejb-name>hello</ejb-name>+
    +<home>demo.helloRemoteHome</home>+
    +<remote>demo.helloRemote</remote>+
    +<ejb-class>demo.hello</ejb-class>+
    +<session-type>Stateless</session-type>+
    +<transaction-type>Container</transaction-type>+
    +</session>+
    +</enterprise-beans>+
    +<assembly-descriptor>+
    +<container-transaction>+
    +<method>+
    +<ejb-name>hello</ejb-name>+
    +<method-name>*</method-name>+
    +</method>+
    +<trans-attribute>Required</trans-attribute>+
    +</container-transaction>+
    +</assembly-descriptor>+
    +</ejb-jar>+
    And now , from diffrent machine . I created the web application . I have added "hello.jar" into web application .
    After , i create one servlet to call getMessage method .
    This is the code :
    test.java*
    package demo;
    import java.io.IOException;
    import java.io.PrintWriter;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    +public class test extends HttpServlet {+
    protected void processRequest(HttpServletRequest request, HttpServletResponse response)
    +throws ServletException, IOException {+
    response.setContentType("text/html;charset=UTF-8");
    PrintWriter out = response.getWriter();
    +try {+
    System.setProperty(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");
    System.setProperty(Context.PROVIDER_URL,"localhost:1099");//i hava changed localhost to my ipaddress . xxx.xxx.xxx:1099
    InitialContext cxt=new InitialContext();
    Object obj=cxt.lookup("hello");
    helloRemoteHome home=(helloRemoteHome)obj;
    helloRemote helloObj=home.create();
    out.println("<html>");
    out.println("<head>");
    out.println("<title>Servlet test</title>");
    out.println("</head>");
    out.println("<body>");
    out.println("Servlet test at " helloObj.getMessage());+
    out.println("</body>");
    out.println("</html>");
    +}+
    catch(Exception ex)
    +{+
    +}+
    +finally  {+
    out.close();
    +}+
    +}+
    protected void doGet(HttpServletRequest request, HttpServletResponse response)
    +throws ServletException, IOException {+
    processRequest(request, response);
    +}+
    protected void doPost(HttpServletRequest request, HttpServletResponse response)
    +throws ServletException, IOException {+
    processRequest(request, response);
    +}+
    +public String getServletInfo() {+
    return "Short description";
    +}// </editor-fold>+
    +}+
    The result when i run on local : hello word
    But when i run the client from different machine , the result is : nothing appear .

  • Unable to update client on multiple machines

    Hi All,
    I am completly new to ARD and trying out it features. I have ARD with unlimited clients. I was able to see all the machine (G5) and their client and then I tried select all the clients and selected task to "Upgrade client" which did not work at all. Then I tried selecting individual client and upgrade was successful. Can anyone tell me if I need anything special in order to run task on multiple machines at once?
    Thanks,

    I have just installed it today, I had the same experience. I couldn't update multiple clients at the same time, even had a problem updating some individual clients. I put it down to the client being busy at the time, it eventually did update after several tries.

  • I need to back up my imac running Tiger (no time machine) so that we can upgrade OS. It is set up for multiple accounts.  How do I capture all files in each account using newly purchased USB external hard drive?

    I need to back up my imac running Tiger (no time machine) so that we can upgrade OS. It is set up for multiple accounts.  How do I capture all files in each account using newly purchased USB external hard drive?  Thanks!

    Backup Software Recommendations
    Carbon Copy Cloner
    Data Backup
    Deja Vu
    SuperDuper!
    Synk Pro
    Tri-Backup
    Others may be found at VersionTracker or MacUpdate.
    Visit The XLab FAQs and read the FAQ on backup and restore.  Also read How to Back Up and Restore Your Files.
    Or you can simply use the Restore option of Disk Utility to clone the drive to the backup:
    Clone using Restore Option of Disk Utility
    Open Disk Utility from the Utilities folder.
    Select the destination volume from the left side list.
    Click on the Restore tab in the DU main window.
    Check the box labeled Erase destination.
    Select the destination volume from the left side list and drag it to the Destination entry field.
    Select the source volume from the left side list and drag it to the Source entry field.
    Double-check you got it right, then click on the Restore button.
    Destination means the external backup drive. Source means the internal startup drive.

  • How to sync iTunes libraries on multiple machines without copying music

    Background:
    I have 4 machines running iTunes 9, all authorized with the same account. All music is on a networked storage device (NSA). Each iTunes points to the NSA for music files. Each user on each machine has their own local iTunes library for individualized playlists, etc. When music is purchased, regardless of machine, it is automatically downloaded onto the NSA. We have deselected the Advanced preference "Copy files to iTunes Media folder when adding to library". Our goal is to have one live copy of our music rather than multiple copies sprinkled about all 4 machines. We do periodic backups of the NSA.
    Question:
    How do I get all the iTunes user libraries on all 4 machines to automatically reflect new music purchases? The library of the purchaser is updated just fine, but no one else's is. The Home Sharing Settings option updates the library, but it also copies over the music, defeating the purpose of one copy.
    Thanks in advance!

    When I first moved to OS X I decided that all of my/our music should be in one library, with one Apple ID for purchasing/playback and iPod syncing, located someplace other than each user's home folder. Using an alias of the destination folder worked as long as we were all on one machine.
    Later when we acquired a second machine the setup was similar, except that the library was on an external HD attached to the newer/faster machine and accessed over our home network. The drawback of this method is that the machine with the library on it has to be up and running (of course).
    We've finally moved further into the digital world by purchasing a network drive (NAS to be precise - a My Book World II for those who wish to know), upgraded our router and network switch to GB, and have a third iMac on its way (thank you eBay).
    All of our music (the library we started years ago), all of our pictures, and other miscellaneous things reside on the NAS, which is also used for TimeMachine backups (on the non public volume). The idea being that any of us can access any of the media or documents as we need or want to.
    Apparently (or I've missed something simple) Apple, in their wisdom, doesn't believe that a setup like ours (and apparently others as well) should exist. That each user and/or each machine, should have their/its very own music library that no one else can have FULL access to.
    Home Sharing doesn't allow what I/we've been setting up from the first day we added music to our library. Sure it lets everyone with their own library to listen to other's library's that are up and running (i.e. the machine is on, and iTunes is running).
    What we want to do is have all of our machines (the two, soon to be three, iMac's and one PC running XP) access the *same library* with full read/write/burn access AT THE SAME TIME! Hence the logic in purchasing a NAS. What we can't do is have iTunes running on more than ONE machine at a time since the other network users/machines receive this message:
    The iTunes Library file is locked, on a locked disk, or you do not have write permission for this file.
    Which is certainly not the case since each user/machine can access, read, write, and burn from the above library at will as long as they are the only person doing so.
    Changing the permissions on the library file doesn't stick (probably because its on the NAS), otherwise I would have done that and you wouldn't be reading this.
    Thanks for any help anyone can give.

Maybe you are looking for