JMS implementation of P2P protocol: need for statefulness!

Hello!
I have to implement the Chord peer-to-peer protocol using JMS. I'm thinking of using a message-driven bean per node in order to manage asynchronous communication (and I've been able to make this work).
The problem is that the protocol requires that every node keep some information about its neighbours, about the data it manages, etc.
This means I have to keep a state of the node, which doesn't seem to be possible if I use EJBs.
I think that a possible solution might be to couple the message-driven JMS bean with a session bean, and instruct the message-driven been to forward to the session bean the messages it receives. This should allow the session bean to manage the state of the node, while leaving the communication stuff to the message-driven bean.
My doubts are:
- How can the message-driven bean find and contact the associated session bean?
- Is this design practical?
Thank you!

You are accessing the runtime mbean of a JMS destination. The JNID name of a destination is not available on the runtime destination MBean.
If you are using jms-system-resource to deploy your JMS module, you should be able to access the deployment mbean of the destination. The starting MBean for JMS is JMSSystemResourceMBean in this case.

Similar Messages

  • License for jms  implementation

    Hi, I am planning to implement a light-weight JMS implementation to suit my work. I want to know whom to contact for getting a go-ahead regarding the license for specification. Could anyone from Sun team if they have seen this post respond OR anyone who knows the process to be followed.
    Thanks
    ~Venkat

    Hi v.
    I do not think u need any license for the specification.

  • Enviornment needed for jms

    hi,
    i am new in jms.i want to know what s/w i need to run jms examples? had jdk1.3 and working with win98/nt. what i need to download for jms?
    thanx.
    sibu

    You need jms.jar and jndi.jar and then you have to get a jms implementation somewhere. You may try with open source implementations like OpenJMS
    http://www.exolab.org/
    or with Open3
    http://www.open3.org/home/home.po
    -Raine-

  • Need for implementing Objects By Filter (OBF) method in ACE

    Hi All,
    i wanted to understand the significance of the OBF method in ACE. Can i implement my logic only using Actor from User (AFU) and Actor from objects (AFO). Does it impact the performace if OBF is not implemented. Please provide you inputs on this.
    Regards,
    Sudha

    Hi Nithish.,
    Thanks for explanation. Yes i understood the purpose of OBF. Let me tyr explain my doubt with an example.
    I have to determine acces for one-order objects having a specific custom  transaction type say ZABC.
    In OBF i will fetch all the one order objects where the transaction type is ZABC. This output of OBF will serve as input to my AFO.
    In AFO, i willl again fetch the same objects. I will loop through the output of OBF method for every object and check if the object fetched in AFO is present in output table of OBF. If yes then proceed further in determinig the actor for that objec. Repeat this process in a loop for every object in OBF.
    If my above understanding is correct, what is need for having specific  OBF method when I can directly write the logic of fetching one order object of transaction type ZABC in my AFO and dertermine the actors for them. without having to loop thourgh the outpu of OBF.
    Regards,
    Sudha

  • Just bought a new iPod touch 16G - I think it's a 5th gen. - I used my old iPod to record rehearsals.  The new one is stating that my Belken mic is not compatible.  Can I record with this new one?  If so, what do I need for a mic?

    Just bought a new iPod Touch 16G - (I think it's a 5th gen.).   I used my old iPod to record music rehearsals.  This new iPod is stating that my old Belken mic (with new adaptor) is not compatible.  Does this new iPod Touch have ability to record audio?     If so, what do I need for a mic??

    Thanks very much!   I found the app, tested it, and it sounds fairly lifelike.    Big help!!

  • Besides CAPWAP, what other ports/protocols needs to be allowed for FlexConnect

    Well the title says it for itself.
    Besides CAPWAP, what other ports/protocols needs to be allowed for FlexConnect?
    To clear things out, I am MOSTLY concerned between the communication of the FlexConnect AP to the WLC. Besides CAPWAP what do i need to consider? I need this list since most our clients have a firewall, and of course, i need to allow certain protocols and/or ports on the firewall so that the AP and the WLC can see each other.
    Any one knows?
    As far as I know, I would allow:
    1. CAPWAP
    2. ICMP         -For reachability testing 
    on the firewall, to/fro the devices.
    Inputs would be helpful! ^_^
    Thanks in Advance.

    Thanks Scott,
    Verifies what I need or rather request clients on what ports to allow on their firewall, since this is VPN connections, ICMP, telnet, SSH wouldn't hurt to be enabled xD
    A. CAPWAP
        PORTS:
        5246/UDP      -Control Channel
        5247/UDP      -Data Channel
    B. ICMP(Ping)                        -OPTIONAL/Reachability verification
    C. AP Remote Access          -OPTIONAL
        PORTS:
        22/TCP               -SSH
        23/TCP               -Telnet

  • IS JMS implementation available for BMQ?

    Hi,
              I have an exposure to BMQ middleware and we have been accessing this thru the C libraries and now since we are moving to java, i would like to know if there is JMS support for BMQ and if so where can i find/download the JMS implementation
              

    Hi Dheepak,
              I think you are referring to MessageQ. There is a pure
              java client, although it is not a JMS client. I'm not sure
              how it is packaged or licensed. Contact BEA sales and they
              should be able to track it down for you. If they have trouble,
              feel free to give them my name.
              Tom, BEA
              Dheepak wrote:
              > Hi,
              > I have an exposure to BMQ middleware and we have been accessing this thru the C libraries and now since we are moving to java, i would like to know if there is JMS support for BMQ and if so where can i find/download the JMS implementation
              

  • Oracle 8i vs 9i JMS implementation?

    Hi,
    We are thinking about using 9i instead of 8i.
    We know that 8i is not 100% JMS compliant but the question is - is 9i?
    In short, does it support the onMessage method, more than one session per connection and JNDI lookup? Oh, and do you still need to downcast to subscribe to topics?
    If anyone out there knows the answers you could save us some time and effort.
    Any other comments would also be welcome.
    Many Thanks
    Kevin.

    Hi,
    I was wondering what you have learned about this issue, Oracle 9i JMS implementation. My specifics are that I am trying to learn whether or not Message driven beans are supported, and if not, what the recommended method is for managing many Async message listeners to a topic. I think that 9i only supports J2EE 1.1 which would imply no MDB support.
    Thanks,
    Peter

  • Difference between EDN-DB and EDN-JMS implementation

    Experts,
    Looking for a difference between EDN-DB and EDN-JMS implementation. We have EDN implementation going on, where multiple source systems will be publishing business events. Events can be published using SOA Suite or JMS Bridge from AQ and MQ. In this scenario which implementation approach is suited better ?

    Oracle Apps Adapter can be used for many other products other than E-Business Suite (JD Edwards E1, OTM, and others).  The apps adapter was mainly used in ERP systems and was strong when you needed have added functionality other than just polling a db for a status / calling a stored procedure...  It could connect out to other business services, xml gateways and so-on.
    From a technical aspect / development perspective I always thought of that the Oracle Apps Adapter simplifies the development but, may is not flexible. The App Adapter's strength is the services that are difficult to integrate with (business services, xml gateway). If you need to hook in to these types of services, use the APPS adapter. (Again like it is named the "Apps Adapter" its for interacting w/ other applications to enable real-time processing / functionality. 
    That being said the dbAdapter can be very powerful but, like it is named is database focused (to poll some table to know when to kick off other logic and enable real-time functionality through database interaction.
    Looking at the Oracle 12C Roadmap I had heard that there is more planned for the Oracle Apps Adapter moving forward, especially as Anuj said in the "Financial Apps" side of the isle at Oracle. Who knows what is real and what isn't though =]
    Hope this helps!
    -Luke

  • Products needed for X12

    Hi
    Could someone advice on the products required for outbound and inbound X12 messaging using AS904 EE.
    I'm unsure if InterConnect, ProcessConnect, BPEL are what I need to model and deploy X12 messaging.
    On the Integration pages there is mention of a B2B Adapter - is this included in any of the above ? if not where can I download it ?
    Thanks
    Pete

    Firstly forget about ProcessConnect, not sure if it has officially been scrapped but there are very few clients using it and it was so complicated to use that they are pushing BPEL instead.
    Oracle did release an add-on for Interconnect called PartnerConnect which I understand provided another set of adapters that implemented various B2B protocols such as RossettaNet and ebXML. I'm not sure what the full list was but search through OTN and i'm sure you will get some info.
    If you have Java experience then you always the option of writing your own custom adapter for Interconnect that called WebServices that implement the X12 protocol (if WebServices can do that, not sure??)...
    Regards
    Stuart.

  • How can I implement a new protocol over IP

    Hi,
    I want to implement a new protocol (my customized one) in solaris 8. This protocol will be something like UDP and will be using IP for communication.
    So how can i use IP stream module for that?
    thankx
    prasenjit

    I can give you some pointers regarding this. Although, I implemented protocol below IP.
    - Look for information on ipsecah and ipsecesp. These are pseudo devices on top of IP for Solaris 8.0.
    - Check how the protocol stack is built while booting.
    - If you intend to implement a module, rather than a driver then things might be little easy. You can push your module on top of IP. See man for "sad" and "autopush" mechanism
    - Sample drivers and modules from SUN are of great
    help. I came to know about the sample drivers very late.
    Otherwise, I would have saved some time.
    - Unix System V network programming by Rago is a very good reference.
    I hope this helps.
    -Ashutosh

  • I am able to get color images in the continues shot but when i try to snap a color image which i need for my processing i get only a monocrome image

    I have been using lv_vfw.llb VI's for grabbing images from a CREATIVE WEB CAM ,i am able to get color images in the continues shot but when i try to snap a color image which i need for my processing i get only a monocrome image ,i have been trying to play around with the RGB weightings but i am unable to get a color iamge,it shall be of great help if you could help me in doing this as it is urgent for me.Thanks for your help.

    vicky,
    I am unfamiliar with the lv_vfw.llb, and have not used it before. However, I noticed that you stated that you are able to grab in color, just not snap in color. If this is the case, why not just perform a grab and then extract a single buffer from this grabbed data, which would likely be in color? This seems like a possible solution to the issue that you are seeing.
    Other than that, I really don't know enough about the lv_vfw.llb to be of much help on this issue. Hopefully another member of this forum will be able to assist you with this software.
    Regards,
    Jed R.
    Applications Engineer
    National Instruments

  • Software needed for the USB device, "USB Interface Controller TEST2.0"

    My mother recently acquired a digital camera. She acquired it from a second-hand store, which did not include an interface cable or software. The manual (and the USB port on the camera) indicates that a male-male USB cable is necessary for photos to be copied to the hard drive.
    I was not successful in locating such a cable at any local electronics store (I assume such a cable is now out-of-date). I purchased one from a seller on eBay. The brand is "e circuit electronics".
    Upon powering up the camera with the cable connected to it and the computer, the following message appeared:
    "Software needed for the USB device "USB Interface Controller TEST2.0" is not available. Would you like to look for the software on the Internet?"
    I clicked "Yes". After an approximate two-minute wait, another message appeared stating:
    "Software Update is not able to connect to the Internet. Please check your configuration and try again."
    I deleted, "Software Update Preferences" in the Preferences folder inside the System Folder, without solving the problem. How do I solve the issue of allowing Software Update to connect to the Internet?

    Thank you for your continued assistance, BDAqua. Unfortunately, the driver you linked to does not seem to be compatible with the camera. It is a driver for the V20 model, whereas my model would correspond to be a V2755, as referenced from a list of other Vivicam models when during a search at the Open Drivers web site.
    From the system requirement about the card reader you gave me, it will not work, as this system is running 9.1. I am hesistant to upgrade this computer to 9.2, as I have experienced system unstability with that version, with even the 9.2.2 update applied.
    In the mean time, I have e-mailed Vivitar regarding this issue, but have as of yet received a reply.
    I am not certain as to other specifics to give you, in order to solve the Software Update problem. Please elaborate.
    Yes eww, the computer in question is able to fully connect to the Internet for all that I need. I am fully aware of the difference between a computer connecting to the Internet, and a computer connecting to a digital camera. I have 15 years of Macintosh experience.

  • What is the need for setting property data inside the JMSMesage

    Hi
    Could anybody please let me know
    *What is the need for setting property data inside the JMSMesage??
    For example i have a seen a similar example as shown ??
    I have seen a
    Message.setStringProperty("Sport","Basketball");
    and also please tell me how can the MDB recievies this property data ??
    Thanks in advance .

    raviprivate wrote:
    Could anybody please let me know
    *What is the need for setting property data inside the JMSMesage??
    For example i have a seen a similar example as shown ??
    I have seen a
    Message.setStringProperty("Sport","Basketball"); Look at the detail JMS documentation on [Message Properties|http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/jms/Message.html] .
    >
    and also please tell me how can the MDB recievies this property data ?? MDB onMessage method argument is the Message object and if you look at the documentation, Message interface has getter methods to retrieve the properties.

  • Mac OS X 10.6.8 disc needed for bootcamp?

    I am currently running OS X10.6.8 and would like to install windows XP via boot camp.  The installation instructions require the Mac OS X installation disc.  I only have the disc from Mac OS X 10.4.8.  Will this suffice or will I need the more recent install disc?

    What happens when you highlight or select text and control + click on the same?
    You should be able to copy to clipboard; search and look up phrase in Google, Bing, Wikipedia.
    I like Wikipedia to get ideas on things
    http://en.wikipedia.org/wiki/VirtualBox
    But there is little need to actually ask, we all learned to use a dictionary growing up to look up words in books we needed to understand,, and encyclopedia for more in-depth.
    Answering just enables this, why do any research when I can just get others to do so.
    If you want to know what a virtual machine is and how a VM works as a guest OS under OS X, fine.
    Of course download the softwae, read the pdf guide, follow the instructions.
    You can find write ups on how to use VirtualBox (to install Windows 7 or 8) on a Mac, even.
    Probably even pull up a youtube video.
    10.6 is only needed for Windows 7 support.
    10.6.6+ was suppose to allow download of Boot Camp support software too (test phase for Lion) but DL Boot Camp Drivers 600MB is often hours long slow,, broken, poorly implemented and a true PITA to use - should take 8 minutes and be done.
    XP is fraught iwth EOL security issues, and no more patches for all the bugs and issues that exist hence a poor product choice, and will not support Macs built in the last two years.

Maybe you are looking for