This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Other Application Frameworks and the fly likes spring javamil Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "spring javamil" Watch "spring javamil" New topic

spring javamil

hani Ibrahim
Ranch Hand

Joined: Sep 06, 2006
Posts: 182
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.
Vikas Kapoor
Ranch Hand

Joined: Aug 16, 2007
Posts: 1374
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 for more information.
I agree. Here's the link:
subject: spring javamil
Similar Threads
Cant Send html file through email
reading emails using spring framwork
DataSource in Spring wiht Hibernate
JSR 286/MVC Support in Spring 3.0
Facade design pattern in web services