• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

spring javamil

 
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all,
I write 2 classes for send emails.One using javamial api pure and other using spring api which also depends on mail.jar.
Is it advantage for spring send email that make it significant such as performance .
Please answer.
 
Ranch Hand
Posts: 1374
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Hani,

hani Ibrahim wrote:Is it advantage for spring send email that make it significant such as performance .


I don't think so. Infact Spring classes wrap up JavaMail API classes only. So internally it uses Java Mail.

Actually, Spring provides more abstract way configuring email. Spring also provides integration with various template technology for email like FreeMaker and Velocity. So Spring gives ease in development. Refer http://static.springframework.org/spring/docs/2.0.x/reference/mail.html for more information.
 
Die Fledermaus does not fear such a tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!