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

  • Home
  • SEARCH
  • 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 845807
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T06:30:49+00:00 2026-05-15T06:30:49+00:00

Is there a good lightweight framework for java that provides the publish/subscribe pattern? Some

  • 0

Is there a good lightweight framework for java that provides the publish/subscribe pattern?

Some ideal features

  • Support for generics
  • Registration of multiple subscribers to a publisher
  • API primarily interfaces and some useful implementations
  • purely in-memory, persistence and transaction guarantees not required.

I know about JMS but that is overkill for my need. The publish/subscribed data are the result of scans of a file system, with scan results being fed to another component for processing, which are then processed before being fed to another and so on.

EDIT:
All within the same process. PropertyChangeListener from beans doesn’t quite cut it, since it’s reporting changes on properties, rather than publishing specific items. I could shoehorn ProprtyChangeListener to work by having a “last published object” property, and so published objects. PropertyChangeListeners don’t support generics, and are entrenched in property change semantics, rather than pure publish/subscribe. The java.util Observer/Observable pattern would be good, but Oberver is a concrete class.

  • 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-15T06:30:50+00:00Added an answer on May 15, 2026 at 6:30 am

    JMS is as light or heavy as you configure it. We use for example HornetQ in one project with an in memory queue. It is easy to setup, doesn’t need any JNDI based configuration and is really easy to use.

    I believe that JMS as an API for Message Pub/Sub is as easy as it gets. (And not easier 😉

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

Sidebar

Ask A Question

Stats

  • Questions 512k
  • Answers 512k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Zend Framework would actually be the best choice in my… May 16, 2026 at 5:37 pm
  • Editorial Team
    Editorial Team added an answer space is considered as character, then it will taken into… May 16, 2026 at 5:37 pm
  • Editorial Team
    Editorial Team added an answer Well I don't know about the winspool.drv, but you can… May 16, 2026 at 5:37 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

Is there a way to enforce/limit the types that are passed to primitives? (bool,
Are there good references teaching you how to send PUT/DELETE/POST/GET with ruby? I have
Are there good patterns for mapping solution configurations to environments and using MsDeploy for
Is there a good reason to use the strongly typed html helper... <%: Html.DisplayTextFor(model
Are there any good tutorials out there for using cucumber and rspec for testing
Is there a good, succinct/built-in way to see if all the values in an
Is there a down side? I feel almost dependent on it now. Whenever a
NHibernate is not really a good fit for our environment due to all the
While considering the JS framework for my next project, I can see the scale
I am in the process of developing a desktop application that needs a database.

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.