File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes Database Synchronization... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Database Synchronization..." Watch "Database Synchronization..." New topic

Database Synchronization...

shikhar singh
Ranch Hand

Joined: Oct 02, 2000
Posts: 31
Hi all,
I'm not sure whether this is the right forum to place this problem.
I have developed a mail management system. In this the mail coming from the customer can be routed to different agents(employees), by the mail administrator(or by some service). Agents have to give reply to these mails. So customer emails will be routed to the different agents.
According to my design, while loading my application on agents machine (client), I use to get the 'from', 'subject,'date' field of all the emails in the mailbox(just a microsoft outlook).
Agent(user) can click on any email to see the details of a mail.
So in brief, While loading the application I gets the summary of all the emails and I use this summary till the user logs-in again or presses 'refresh button again.
But the problem is, more then one agent can work on a same mailbox. So the agent can be working on the email which is alredy replied by the other agent.
My question is:
Is there any way to intimate the client that something is changed in the 'mailbox' table in the database. I don't know much about DB, but can the concept of triggers help here.
Thanks in advance
I agree. Here's the link:
subject: Database Synchronization...
It's not a secret anymore!