Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8779953
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T19:55:30+00:00 2026-06-13T19:55:30+00:00

Currently we are working on a project and we are in design and architecture

  • 0

Currently we are working on a project and we are in design and architecture phase of the project following are main points of projects.

  • There are switches which are generating real time data
  • We have two components in to be made in Java/Java EE, call it CompA and CompB
  • CompA apply some process based on input record from switch without contacting to any databases, CompA does not have DB access.
  • CompB takes process record of CompA and apply processing also, this involves business database
  • CompA and CompB have multiple instances in system for scalability and fault tolerance.
  • Record is text record having multiple fields
  • Record is transactional , On record is considered processed if it is process from both CompA and CompB , other wise it will be roll backed and resend again

Now the problem is what is best way for communication between CompA adn Comp B

One way is

 1. CompA--------> CompB
 2. CompA-------->Messaging Server(JMS)------> CompB

Requirment: There will be more than one CompA and CompB is the system and if any component fails it load will be shared by other peers e.g if CompA fails its load will be shared by other CompA instances in the system. For that we are going for second option with JMS so that CompA is not tightly bound with CompB. But as new Component (Messaging Server)is introduced this may cause performance degradation as the record processing is transactional the system is real time.
Your suggestions and expert advices will be highly appriciated

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T19:55:32+00:00Added an answer on June 13, 2026 at 7:55 pm

    JMS is the way to go – http://docs.oracle.com/javaee/6/tutorial/doc/bnceh.html

    It is very reliable, you can do things like set message expirations and enforce priorities and it is perfect for your model which is basically a “Multiple producer/multiple consumer” over the network.

    JMS supports transactions and it is built for reliability – by far it is the most reliable mechanism available. Performance-wise, you should talk about “scalability” more than “raw performances”. Provided your hardware can cope, JMS will.

    Wikipedia has a very good list of available JMS implementations:
    http://en.wikipedia.org/wiki/Java_Message_Service#Provider_implementations

    I have used Apache ActiveMQ, Open Message Queue and OpenJMS and, even if I have no experience of deployment of JMS servers on a clustered environment, I agree ActiveMQ is the most reliable solution I used.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am currently working on a project which allows users to design a small
I'm currently working on a project with a one page design that'll slide up
I am currently working on a project about calculations.I have done the main part
I am currently working on a project where I have to design / implement
I'm currently working on a project in which I'd like to define a generic
I am currently working on an iPhone project in which all labels/text views etc.
Currently I am working on the design of my degree project. Some days ago
I'm currently working of a project where my part is to design a Design
I'm currently working on a large BPM project at work which uses the Global
I am currently working on a project where in which I need to package

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.