Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Batch mailing

 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.
Consider the following scenario :
I'm a company and I'm developing a new product, when is product is available, I want to send emails to all subscribed developers (each mail should be customized -the reciever name for example-).
How to do this batch mailing ?
Any available tools or frameworks ?
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So you need two things: something to send emails and something to generate customaized messages based on some sort of template. Have you considered JavaMail and Velocity?
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it ok to get the data from the database as objects (Yes, I use Hibernate)and then the loop is responsible for sending an email for each object ?
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sure. Why not?
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Performance issues ?
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, given what we know about your requirements, its very difficult to say much about how the application may perform. That part is up to you. There is nothing inherent in any of the technology choices before you that will definately cause performance issues.
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is Apache JAMES helpful in my case ?
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
James is a mail server, so it might be helpful if you don't have any other mail server that you could use.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic