Should I use JMS or any alternative?

Hi,
I need to implement multi-client server system and I have a problem in its architecture. Any help would be great!
The system works as follows. The clients ask for some services, and the server checks the database whether this service is available or not, if yes, it returns some information about the service to the client.
Here it seems, i need to use point-to-point jms. But in this scenario there must n queue for n clients and how can the clients know the name of queues and when (n+1). th client comes then a new queue should be created, but how can the server know about the existence of new client?
Any solution or you think I should chnage to RMI,CORBA?
regards

I don't see why the server should have to maintain more than one queue. The clients can all send messages to the one request queue, and the server can use Message:getJMSReplyTo() to figure out where to send the reply. Each new client will, of course, need to create a new response queue, but the server will always get the queue reference from the request message:
Destination replyTo = message.getJMSReplyTo();
if ((replyTo != null) && (replyTo instanceof Queue)) {
qSender.send((Queue) replyTo, message);
( The client may need to call the setJMSReplyTo method on the message before sending it. )
Depending on the scalability requirements of your application and the intricacy of the messages you're sending you could certainly use RMI instead, but it doesn't sound like you have to use RMI.

Similar Messages

  • Should I use JMS?

    I have a new project where I need to send XML messages to a client from a server and vice-versa. However, my clients are embedded 16-bit micros and my server application is written in Java. The clients will be mobile, connected via a wireless network and may be connected or not connected at times to the network.
    I want to be able to queue outgoing messages for each client so when the client becomes availiable on the network the server can send the necessary messages to the client. But the client cannot use JMS API to subscribe...etc to queues, it can only send simple commands using XML to the server via a socket.
    Is JMS something I can use here?
    Any suggestions and information is appreciated.
    Thanks.
    Dave

    Sounds like we are trying to do simillar things :)
    Why cannot your client use JMS ?
    You can embed XML messages inside JMS messages, so you should be able to send messages both ways.
    I curious how you are attaching to the JMS bus without being a JMS client?
    -CG

  • Which application should I use?? Any help would be great!!

    I'm rather new to web-design, and I need some general guidance.  I am looking at taking on a rather ambitious project for my company.  I need to create a website that can do all of the following:
    Host online classes.  These would be some sort of flash-based class, I'm guessing.  They would have video, audio, slides and tests.
    Client logins.  Clients need to be able to see their accounts, and a list of past classes that they have taken.
    Class Calendar.  I need create an interactive calendar where someone can chose which class they would like to attend, and register for it.  Needs to be searchable.
    Shopping Cart.  People need to be able to register / pay for classes and materials.
    News / FAQ / Comments sections.  The website needs to be able to have revolving content.  A way where I can put a bunch of News / Customer feedback comments into a database, and the website will refresh with content from this database.  Also need a general FAQ section.
    Employee Logins.  Employees need to be able to login to the website and pull up a list of who is registered for a class, whether or not they are paid, and whether or not their materials have been sent.  Employees also need to be able to upload documents to managers.  Managers also need to be able to assign To Dos to employees.
    Contact Database. I need the website to host an online contact database for our company.
    It would be spectacular if our website could also host some sort of online accounting database.  Most of our people work from remote locations, so it would be immensly helpful if our accounts manager could keep an online register, which the owners could view whenever they wish.
    I know this is a pretty involved list - and I'm not looking for someone to walk me through each step of putting it together - just someone to point me in the right direction!  Like I said, I'm fairly new to web-design and I have no idea which programs I should even be looking into.  I don't know if Dreamweaver can accomplish most / all of these things, or if I should looking moreso at Flash Builder or the eLearning suite.... or a combination of the those three.  Any help would be greatly appreciated!!!

    WOW
    That really is a long list.
    There is nothing out there with a one stop solution for all of that, there really just isn't. It pretty much needs to be paid for, get a professional to do it. Or should I say, professionals
    There are a lot of skills involved, I doubt one person could do all of that well.
    If you REALLY want to go for this on your own then split each problem up and post it in the relevant forum. I.E, the flash bit...post it on a flash forum, mention the calendar on another etc.
    No one will help you with that list on here.

  • I want to make Messenger like MSN by using JMS Api's, is it posible ?

    i want to make messenger like msn messenger , is it posible i make chat application by using JMS
    if any body know then plz tell me how i start work on it ?
    thanks ...
    Arif.

    yes that is definitely possible
    Each chat session between two guys occurs through a queue,
    and each chat session between more that two guys occurs through a Topic
    You can have a send queue and a receive queue for each client,
    The details can be worked out

  • We tried the window.ResizeTo and window.MoveTo methods using the javascript. It doesn't seem to be working in the version 9.0.1. Please suggest any alternative .

    Hi,
    We tried the window.ResizeTo and window.MoveTo methods using the javascript. It doesn't seem to be working in the version 9.0.1. Please suggest any alternative .
    Thanks,
    Avinash

    This is no longer allowed for security reasons (bug 565541).<br>
    See https://support.mozilla.org/nl/questions/880032<br>
    https://developer.mozilla.org/en/DOM/window.moveTo<br>

  • Any Idea Which Message type/Idoc Type should be used for FI Invoice

    Hi Experts,
    Any idea what message type/Idoc type should be used for FI invoice. We are going to send IDOC from R/3 to Non-SAP System using ALE. We are using T-codes FV60/FV65.
    Thanks,
    Sony

    Hi Sony,
    I never dealt with FI IDoc.
    I think you need to setup EDI outgoing payment in IMG. Please take look this report <b>RFFOALE1</b> - ALE Distribution of Payment Data and <b>RFFOEDI1</b> and check also the program documentation.
    Hope this will help.
    Regards,
    Ferry Lianto

  • When we should use JMS based proxy services and when JMS Adapter in OSB

    Hi,
    Can somebody explain me when we could go for JMS Adapter and when we should go for JMS based service in OSB?
    The one scenerio i can think of is when my provider/consumer is using jms provider other than WLS jms provider we should use jms adapter.
    Edited by: user12883209 on Jan 5, 2012 5:29 AM

    I don't think there are clear guidelines available, however here is my view.
    1) OSB 11gR1 is not certified with Oracle JMS Adapter. It is certified with Oracle FTP, Database, AQ and application adapters.
    http://docs.oracle.com/cd/E21764_01/doc.1111/e15867/interop.htm#OSBAG1403
    2) In addition of the Weblogic JMS, OSB can also integrate with following provider without using adapter.
    - WebSphere MQ
    - Tibco EMS
    3) if you need to integrate JMS with BPEL Process or Oracle SOA suite composite, it has built in support for generic Oracle JMS adapter. Oracle generic JMS adapter can integrate with AQ JMS (JMS providers OJMS 8.1.7, 9.0.1.4, and 9.2), TIBCO JMS, IBM Websphere MQSeries (IBM MQSeries JMS 6.0), Weblogic JMS, Apache, and Active MQ
    http://docs.oracle.com/cd/E14571_01/integration.1111/e10231/adptr_jms.htm
    4) If you need to integrate OSB with Weblogic JMS, WebSphere MQ, Tbco EMS it does not need JMS adapter.
    Hope this helps !!!
    Jayesh Patel
    http://jayesh-patel.blogspot.com/
    http://www.yagnasys.com/

  • I have adobe creative suite 5.5 and have just bought a Sony Video Recorder with 4K. What preset should I use for importing video footage? Alternatively do I need a more recent version of the software?

    I have adobe creative suite 5.5 and have just bought a Sony Video Recorder with 4K. What preset should I use for importing video footage? Alternatively do I need a more recent version of the software? If so, what version do I need and can I download it from Adobe.

    I have adobe creative suite 5.5 and have just bought a Sony Video Recorder with 4K. What preset should I use for importing video footage? Alternatively do I need a more recent version of the software? If so, what version do I need and can I download it from Adobe.

  • I am using Mac, I have downloaded the Creative Cloud but when it comes to downloading an App, in the Apps tab a "Download Error" comes up, saying I should contact customer support. Any help will be appreciated.

    I am using Mac, I have downloaded the Creative Cloud but when it comes to downloading an App, in the Apps tab a "Download Error" comes up, saying I should contact customer support. Any help will be appreciated.

    sign out and then back in to your cc desktop app.
    if that fails to resolve the problem, Sign in, activation, or connection errors | CS5.5 and later

  • HT1386 I replaced my iPad and now don't see the iPad backup in iTunes.  Any advice?  Should I use my latest iPhone backup or will that create problems?

    I swapped out my broken iPad for a new one, and went to sync in iTunes and only see my iPhone backups.  Should I use those to back it up (most of the apps are the same across both, and same with the email, calendar, and contacts settings).  Will that create problems if I use the same backup for two devices?  Thanks!

    No it will not create problems but if the iPad that you got is running an iOS less than what you are running on the iPhone, you will have to update the iPad first, before you can restore from the phone backup. You can't use the backup of a newer iOS on a device running an older iOS without updating the device first.

  • What are the alternatives of adding a microphone to mac mini? Which port should I use?

    I am so used to macbook for built in microphone that I don't even know how to add a microphone to a mac mini, there's no microphone input port is it? If that's the case how should I use a microphone in mac mini? Thanks.

    lllaass wrote:
    There is a jack on the back for a mic in.
    Look again at the specs, the port is actually a line level input
    and not all microphones have line level outputs.  From 2012
    spec sheet:
    Audio
    Audio line in minijack (digital/analog)

  • Which version of PC suite should I use to copy all...

    I have an old Nokia 6610 which is on its last legs. There are about 130 text messages stored on the phone itself, in various subfolders within "My folders", one message in the Archive folder, and about 8 messages in the Inbox (the Inbox messages are stored on the SIM card - Vodafone Pay As You Go). I also have 14 pictures stored in a "Pics" folder in the Gallery. All my Phone book entries are stored on the SIM card. The text message memory is virtually full, and I often have to delete existing messages before new ones will arrive.
    My computer is a Power Mac G4 running Mac OS X 10.4.11. For those that are interested, it's this model here:
    http://www.everymac.com/systems/apple/powermac_g4/stats/powermac_g4_1.25_dp_mdd.html
    On the Mac I have Microsoft Virtual PC 7.0.2 which runs a copy of Windows 2000 (5.0.0.2195 Service Pack 4) under emulation.
    I have a fake/third party DKU-2 cable which came with a CD which contains the installer "Nokia_Conn_Cable_Driver_150_2_eng.exe" and the installer for PC suite 6.6.
    Many months ago I ran the "Nokia_Conn_Cable_Driver_150_2_eng.exe" installer (within the Windows 2000 Virtual Machine) and also installed the latest Windows 2000 compatible version of PC Suite that I could find at the time - 6.86 (the installer file is called Nokia_PC_Suite_rel_6_86_9_3_eng_web.exe).
    The software installed successfully, and it seemed to detect the phone via the DKU-2 cable, but I wasn't able to access any of the information on the phone. This isn't really surprising, given that the phone wasn't really directly connected to Windows - it was going via a Mac USB 1.1 port, masquerading as a port on the "PC".
    What I am wondering is what software do I need to use so that I can copy all the text messages from the phone (& the 14 pictures too if possible) to my computer, preferably with the sender names & folder structure intact, so that when I buy a new Nokia phone, I can copy them all to it? I've not decided on which new Nokia to buy yet. It might be the N95 8GB, the N96, or perhaps just a basic model. It will be a current model though, not a second hand one.
    My first choice would be to use software that was Mac native, but I'm not sure if there is any that would do the job. My second choice would be for software that could run on the Windows 2000 Virtual Machine. If neither of these options are possible, I could borrow my Dad's 6 month old PC laptop, which runs Windows Vista Home Premium, and use that.
    If anyone has any experience/thoughts on this, I'd greatly appreciate their (detailed!) input & advice. Although I've very experienced IT-wise, I have zero experience of mobile phone software.
    Many thanks.
    Solved!
    Go to Solution.

    Just to follow up from my previous post - I did indeed decide to keep the 6220 classic as my new phone.
    Yesterday I installed the Nokia_Conn_Cable_Driver_150_2_eng.exe driver from the CD
    that came with my third party/fake DKU-2 cable onto my Dad's Windows Vista Home Premium laptop. Knowing through 15 years bitter experience working with PCs that once a newer version of a piece of software has been installed on a PC, it can often be impossible to subsequently install an older version, even once the newer one has been successfully "removed", I decided to install the 4 versions of PC Suite at my disposal in version order, with the oldest first, and if a version didn't work, to uninstall it, and then install the next oldest one, and so on.
    I started with the version that's on the CD that came with my 6610 - version 5 point something. The installation went fine, and after re-starting, I followed the instructions to connect the phone to the computer with the cable. Unfortunately a Vista error message appeared saying there was a problem with the "unrecognised" USB device. PC Suite meanwhile just got stuck in a loop trying to connect to the phone. (The phone was switched on & unlocked!). After trying unplugging & replugging the phone etc, I uninstalled PC Suite, and then tried the same thing with the next oldest version of PC Suite that I have. This is version 6.6. The exact same problem occurred. I then uninstalled that and tried a version I had downloaded many months ago - version 6.86.9.3. The same thing happened, except this time after a while PC Suite gave up trying to connect and displayed a box offering links to places like this website that might help me solve the problem. I then uninstalled that, and then installed the current version of PC Suite - 7.0.8.2. The same thing happened as with 6.86.9.3.
    There are, to my mind, 2 possible explanations for all this. Either the data socket on the phone is damaged in some way, which is possible, given that the phone got wet back in February and had to be repaired, and the first repair shop i took it to managed to dislodge the charging socket (which is right next to the data socket) during their botched attempts to fix the phone (another shop fixed this), OR, as I hope is the case, the cable is the wrong one, despite it fitting perfectly.
    I've noticed that in several places (the phone's manual, readme files that come with the various versions of PC Suite, etc) that the DKU-5 cable is mentioned far more often than the DKU-2, which suggests that maybe I need a DKU-5. Also, if you go to the PC Suite download page and select the 6610, the cable that's mentioned is the CA-42. Another alternative is that the DKU-2 I have just doesn't work, given that it's not a proper Nokia cable.
    Does anyone have any idea which cable I actually need to use to get the PC to talk to the 6610?
    Also, in case you were wondering, the reason I tried 4 different versions of PC Suite rather than just the current version is that I've read on these forums that certain newer versions of PC Suite don't have certain features that certain older versions do, depending on the phone in question. This has caused much frustration for people, judging by the comments I've read. Given that what I want to do is to copy all the text messages from the phone (& the 14 pictures too if possible) to my computer, preferably with the sender names & folder structure intact, it may be a case that an older version of PC Suite will allow me to do that, but a newer version might not. This is especially true given how old the 6610 is. Of course it may be the case that an old version of PC Suite that allows me to copy the texts & pictures to the PC won't work with my new 6220 classic. If that's the case, I hope that I can install the current version of PC Suite over the top of the old version, and then copy everything onto the new phone.
    If anyone has any firm ideas about what cable (& version of PC Suite) I should be using, I'd be most grateful.
    Thanks for your attention.

  • How  to Set JMS property and Read JMS property in BPEL using JMS adapter

    Does any one know how to set or read more than one JMS property in BPEL using JMS adapter. My queue server is Oracle JMS server.
    Any help and sample is well appreciated

    Hi Van
    I have noted that only the attribute "type" is missing. It seems that when you create a "string" property, the attribute "type" is droped from the XML. If you use another type (as "integer" or "double") it stays there.
    If you try to read your properties, except for the "type" attribute, you should be successful, as I am. If you need, please tell me your email, I can send you my code.
    Source Code:
    in ASSIGN activity (process which SENDS the JMS message):
    <assign name="TESTES">
    <copy>
         <from expression="'string'"/>
         <to variable="HeaderJms" part="outboundHeader"
         query="/ns5:JMSOutboundHeadersAndProperties/ns5:JMSOutboundProperties/ns5:Property[1]/@type"/>
    </copy>
    <copy>
         <from expression="'name'"/>
         <to variable="HeaderJms" part="outboundHeader"
         query="/ns5:JMSOutboundHeadersAndProperties/ns5:JMSOutboundProperties/ns5:Property[1]/@name"/>
    </copy>
    <copy>
         <from expression="'value1'"/>
         <to variable="HeaderJms" part="outboundHeader"
         query="/ns5:JMSOutboundHeadersAndProperties/ns5:JMSOutboundProperties/ns5:Property[1]/@value"/>
    </copy>
    <bpelx:append>
         <bpelx:from>
         <Property name="" type="" value=""
              xmlns="http://xmlns.oracle.com/pcbpel/adapter/jms/"/>
         </bpelx:from>
         <bpelx:to variable="HeaderJms" part="outboundHeader"
              query="/ns5:JMSOutboundHeadersAndProperties/ns5:JMSOutboundProperties"/>
    </bpelx:append>
    <copy>
         <from expression="'string'"/>
         <to variable="HeaderJms" part="outboundHeader"
         query="/ns5:JMSOutboundHeadersAndProperties/ns5:JMSOutboundProperties/ns5:Property[2]/@type"/>
    </copy>
    <copy>
         <from expression="'name2'"/>
         <to variable="HeaderJms" part="outboundHeader"
         query="/ns5:JMSOutboundHeadersAndProperties/ns5:JMSOutboundProperties/ns5:Property[2]/@name"/>
    </copy>
    <copy>
         <from expression="'value2'"/>
         <to variable="HeaderJms" part="outboundHeader"
         query="/ns5:JMSOutboundHeadersAndProperties/ns5:JMSOutboundProperties/ns5:Property[2]/@value"/>
    </copy>
    </assign>
    in ASSIGN activity (process which READS the JMS message)
    <assign name="Assign_1">
    <copy>
    <from variable="Variable_1" part="inboundHeader"
    query="/ns3:JMSInboundHeadersAndProperties/ns3:JMSInboundProperties/ns3:Property[10]/@name"/>
    <to variable="temp"/>
    </copy>
    <copy>
    <from variable="Variable_1" part="inboundHeader"
    query="/ns3:JMSInboundHeadersAndProperties/ns3:JMSInboundProperties/ns3:Property[10]/@value"/>
    <to variable="temp"/>
    </copy>
    <copy>
    <from variable="Variable_1" part="inboundHeader"
    query="/ns3:JMSInboundHeadersAndProperties/ns3:JMSInboundProperties/ns3:Property[12]/@name"/>
    <to variable="temp"/>
    </copy>
    <copy>
    <from variable="Variable_1" part="inboundHeader"
    query="/ns3:JMSInboundHeadersAndProperties/ns3:JMSInboundProperties/ns3:Property[12]/@value"/>
    <to variable="temp"/>
    </copy>
    </assign>
    Note that I do not try to read the "type" attribute, otherwise it will fail.
    Here is the JMS Header Message received:
    <inboundHeader>
    <JMSInboundHeadersAndProperties xmlns="http://xmlns.oracle.com/pcbpel/adapter/jms/">
    <JMSInboundHeaders>
    <JMSCorrelationID>
    bpel://localhost/pi_lms-c001e/BpelPiAtualizacaoC001E~1.0/3200025-BpInv0-BpSeq1.6-2
    </JMSCorrelationID>
    <JMSDeliveryMode>2</JMSDeliveryMode>
    <JMSExpiration>0</JMSExpiration>
    <JMSMessageID>ID:467DFA1FA1ED459EBF37F51F596C3F12</JMSMessageID>
    <JMSPriority>4</JMSPriority>
    <JMSRedelivered>false</JMSRedelivered>
    <JMSType>com.mercurio.lms.integration.c001eip.c001EIntegrationPoint</JMSType>
    <JMSTimestamp>1201552046253</JMSTimestamp>
    </JMSInboundHeaders>
    - <JMSInboundProperties>
    <Property name="JMSXDeliveryCount" type="integer" value="1"/>
    <Property name="JMSXRecvTimestamp" type="long" value="1201552046698"/>
    <Property name="JMSXUserID" value="lms_dev_int_v1_user"/>
    <Property name="JMS_OracleDeliveryMode" value="2"/>
    <Property name="JMS_OracleTimestamp" type="long" value="1201552046253"/>
    <Property name="JMS_OracleDelay" type="long" value="0"/>
    <Property name="JMSXState" type="integer" value="0"/>
    <Property name="IAS_VERSION" value="10.1.3"/>
    <Property name="JMS_OracleDeliveryMode" value="2"/>
    <Property name="name" value="value1"/> ("type" attribute was droped!!!)
    <Property name="JMS_OracleTimestamp" type="long" value="1201552046253"/>
    <Property name="name2" value="value2"/> ("type" attribute was droped!!!)
    </JMSInboundProperties>
    </JMSInboundHeadersAndProperties>
    </inboundHeader>
    Regards
    Marcelo

  • No SQL*Loader in Instant Client;  any alternatives?

    My Windows application uses SQL*Loader to bulk-load very large data files. Instant Client appears not to include SQL*Loader.
    Is there an alternative to SQL*Loader that my application should be using instead? And (getting greedy here) does the same alternative work in both Oracle 10 and Oracle 9?
    Thank you for any assistance,
    Brett

    Oracle XE has sqlldr. You can set it as the client environment unless you want to install the full Oracle client (of course can do custom installation) and then use for loader. You can configure your tnsnames.ora for the target database and that should work.

  • Internal API DCTaskFlowBinding.. any alternative to this.

    Hi All,
    -- Jdev: 11.1.1.4
    In a solution to get handle to the bindings inside a region from its parent I am using this API DCTaskFlowBinding.
    This is Internal api.. Is there any alternative api for this ?
    I know that we should avoid using internal api's but can use of DCTaskFlowBinding be seriously alarming.
    Please note that I am using this api's ONLY to get handles to internal attribute bindings to read values form it.
    Thanks
    Amit
    Edited by: Amit on Feb 7, 2012 10:16 AM
    Edited class name..

    The API I use for DCBindingContainer imports
    import oracle.adf.model.binding.DCBindingContainer;which doesnot look to me to be a internal class since it dosnot have internal anywhere in its package structure.
    What is the complete class path that your code refers to ?

Maybe you are looking for

  • Wireless print server with Mac G4 and Dell PC's

    I have a belkin wireless router and a linksys WPS54G print server. Hardwired by ethernet cables to the router are two computers 1) Dell 2400 and 2) Apple G4. I am trying to get the Apple to print to the printserver. the linksys software set the Dell

  • USB thumb drive crashes MBP and PowerBook G4

    Hi! I have a USB thumb drive. It mounts on the Desktop (as two drives, which is not strange because it has both an internal 6 MB of memory and a 2GB SD card) and I can open them. But if I attempt to copy a file either to or from the drive, the Finder

  • Messages Won't Send Image Files

    Messages no longer allows for the transfer of images files from user-to-user. Is there anyway to restore this function?

  • Packaged applications NOT COMPATIBLE

    Hy guys, I tried two apps with my newly installed oracle apex running in ubuntu server, no one running, i tried the customer tracker app and others but no one runnig. Any hint? Thanks a lot in advance! Maurizio Oracle Database 10g Express Edition Rel

  • VIP unread icons won't disappear

    This is getting ridicolous. I already spotted several discussions over this problem. To summarize, when I access iCloud Mail web service (icloud.com), in the VIP section on the left I constantly see unread badges showing random numbers (unread emails