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 6747989
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T12:30:42+00:00 2026-05-26T12:30:42+00:00

I am building a Java EE web application, which also has a JAX-RS API

  • 0

I am building a Java EE web application, which also has a JAX-RS API so that plugins at other web sites can send data to it, think of it like an analytics server which receives data from various client sites and has its own admin interface where one can view the stats.

The data that the clients send is currently saved in a temporary table in the database; and is supposed to be further processed afterwards, and saved into the real table holding the statistic data.

How should I implement the background processing of that data afterwards? Should I create threads myself, or should I use a message queue system (I have looked at RabbitMQ and it seems promising, however I’m not sure if it is appropriate for embedding in a Java EE application)

Also, should I be saving the temporary data (one chunk of information from the user, as a JSON/XML string) in my current database, or would you think that saving in another temporary database is more appropriate, for example I have again heard of nosql datas like Redis, mongodb etc., however cannot decide whether they are suitable for this.

Finally, if I should use a message queue, should the requests be handled by the message queue, or again JAX-RS? My concern with JAX-RS would be that it may not be as performant as queues and as I said, I don’t really need an API, I just want to get a single base-64 encoded string (that contains various statistical info) from the client web sites.

  • 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-05-26T12:30:43+00:00Added an answer on May 26, 2026 at 12:30 pm

    Lots of questions here 🙂 I’ll try to answer in order:

    • You won’t be able to embed RabbitMQ in your JavaEE application because it runs on Erlang. If embedding the message broker in the JavaEE application is a requirement for you, you’d rather look at ActiveMQ or HornetQ.
    • If you use the durable storage feature of a messaging system, you won’t need to store the incoming messages in a temporary database. This approach would work fine for you if your incoming messages are small (KBs not MBs).
    • Using a messaging system as the main keeper of incoming messages will also provide an answer to your threads question: use 1-n concurrent consumers (ie concurrent consumers for the particular messaging system you’ve selected) on the message queue to process the messages and write the results in the statistics database.
    • Finally, think twice about exposing your messaging system directly instead of behind an HTTP facade (JAX-RS in your case), as not all your clients may have the capacity to speak the right protocol (if you go for RabbitMQ, AMQP has excellent cross-platform support though). Also, it might be a security concern to expose it directly.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am currently building a java-servlet-based web application that should offer its service to
We're in the process of building an internal, Java-based RESTful web services application that
I'm building a java web media-scraping application for extracting content from a variety of
I'm building a java/spring application, and i may need to incorporate a stateful web
I'm building a java application which works in a LAN environment, every computer on
I'm currently working on a project that is building a java-based desktop application to
Hello I'm building a Spring MVC web application that runs on Tomcat 6.0.20 and
I'm working on a Java web application in which files will be stored in
I'm building a Java Web Application using Java EE 6 and JSF-2.0, using the
I want to assemble a web module which looks like the following: src/main/java (has

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.