Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to build Messaging function in Swing application?

 
Yingie Pitts
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Yingie Pitts
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe JMS then... from what I've seen of it, it would be pretty simple to get what you want...
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic