aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes How to build Messaging function in Swing application? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How to build Messaging function in Swing application?" Watch "How to build Messaging function in Swing application?" New topic
Author

How to build Messaging function in Swing application?

Yingie Pitts
Ranch Hand

Joined: Oct 10, 2002
Posts: 37
My swing application uses JDBC to access backend Oracle9i database. Different clients within the same intranet have seperate excutable in their local machine. I want to build a function that enables clients to send messages to each other. The messages should be like emails, i.e., they also can be CCed to multiple recipients, be saved in inbox and outbox etc. etc..All of the messages should also be saved into the database.
I am considering using Java API for XML Messaging or Socket technology. But I don't have experience of either of them. Do any of you have similar experience or have ideas of how to implement this messaging function on Swing applications? Any input would be highly appreciated.


"To err is human, but to really foul things up you need a computer." Paul Ehrlich.
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Why don't you use the JavaMail API and just use a Real mail server? You can then build your own Mail Client embedded in your application with all the requirements you requested.


GenRocket - Experts at Building Test Data
Yingie Pitts
Ranch Hand

Joined: Oct 10, 2002
Posts: 37
Gregg,
Thanks for your suggestion.
I guess JavaMail requires senders and recipients have email addresses, while my users want new messages pop up on their screen, without using emails. Something like Instant Messenger but not for chatting. Or maybe I am wrong, and there is a way of using JavaMail to send messages without using emails?
Yingie
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

Maybe JMS then... from what I've seen of it, it would be pretty simple to get what you want...


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to build Messaging function in Swing application?