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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T12:34:59+00:00 2026-05-13T12:34:59+00:00

Based on the question ( How to create a client notification service for a

  • 0

Based on the question (How to create a client notification service for a webapp or should I use an Observer Pattern?) I will like to know.

I have a fully implemented DAO with Entity beans containing only getters and setters method. Each entity is mapped to an EntityManager.

Currently there are no way of notifying users of any changes added/deleted/updated to a persistent storage such as a database.

I want to know, how will I implement the Publish-Subscribe pattern (also known as Observer pattern) such that I don’t have to extend my current DAO architecture. I don’t want my entities to inherit the Publisher because not all entities are update-able.

If there are any tools/frameworks/libraries that I can use for my situation, please let me know. Also, I’m not using any persistent framework at all (framework such as Hibernate), the DAO manager and Factory was completely written from scratch by me.

Regards,

  • 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-13T12:34:59+00:00Added an answer on May 13, 2026 at 12:34 pm

    I am building a similar concept… I don’t care about all events and within projects we want to care about different events. So, we are building a pattern where all DAO operations are submitted to DROOLS Fusion and based on rules and some temporal reasoning, it notifies listeners via a notification architecture. Depending on your needs, the architecture could be simple listeners or JMS or email… whatever. If you have no criteria, just care about a callback for DAO events, then have your DAO insert, update, delete operations submit the object to listeners or some type of JMS queue.

    Hope that was clear…

    Paul

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

Sidebar

Related Questions

Sorry for this based question. I am fresh to jqplot and would like to
I have a three part question based on a dataframe (df is example rows)
This question is based on the thread . I have the shell function function
I have a service based architecture where a web farm full of asp clients
I have an old WSDL file and I want to create a server based
I would like to have a client-server application written in .NET which would do
I have a question about updating table through t-sql. The client may want to
Clarification: this question was about GZIPping an JAX-WS-based REST service, but I've decided to
a conceptual question: I have a global system which sales agents use to write
So I have, what would seem like a common question that I can't seem

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.