• Post Reply Bookmark Topic Watch Topic
  • New Topic

are EJB necessary in my case ?  RSS feed

 
ludo delavaux
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello,

i have to build an application in order to handle bounced emails (massive emailing).
a java thread is supposed to scan on mail servers (PostFix) all bounced emails (emails returned in errors such as 'user unknown'...).
all scans params (filter headers messages, constants actions...) are stored in a database (SQL Server).

do I have to implement EJB on SQL Server database : this database only contains datas required by the thread (Filters to apply...).
Theses datas won't be updated nor deleted (or once at month).

Thanks for reply, i'm stuck with it.

bobinan
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 36446
454
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ludo,
No. You don't need EJBs. In fact, I recommend against them. EJBs don't mix well with threads. (The Timer service does, but it is only in more recent versions of J2EE.)

Threads and JDBC are enough here. And of course JavaMail.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!