Send Emails to your App users ||Spring MVC || Design the Service Layer with 7 best coding practices.

preview_player
Показать описание
In this video, We will code the service layer of our application. We will be developing two service methods from scratch. We will integrate the spring mail API with one of our service methods, which will help us to send emails to our application users.

In this video, We will wrap up the spring MVC intermediate series. The remaining topics will be covered with a new course. Hense, Naming the current series as Spring MVC Intermediate || Chapter 1.

Video Highlights :

Introduction 00:00
Spring MVC Application Requirement 02:05
JavaMailSender/ JavaMailSenderImpl theory 07:03
Configuring the spring Mail API with Spring MVC app 13:22
Turning on the Gmail less Secure App 20:48
develop a service to send emails 22:40
@Service annotation in spring example 36:34
Send Emails in Spring MVC/Boot: Testing 42:18
Bugfix: UnstatisfiedDependancyException 42:23

Spring MVC: Loading the properties value 51:41
Using the Spring Environment Interface 54:21
reading string/Integer values from properties file 59:00
Writing Readable code 01:02:02
Handling exception in the service layer 01:19:27
Writing an efficient method signature 01:23:30

@PropertySource vs @ProeprtySources/ Loading multiple proeprtis file :01:17:37

Design Spring MVC service Layer
Writing service for application result calculation 01:29:07
Logic Building (Quiz) 01:33:16
Developing service code for result calculation 01:40:42

Understanding a problem Scenario: 01:57:40
Using @SessionAttribute and @ModelAttributes together 02:05:55
How to do form validation when there is no @ModelAttribute 02:08:55

Assignment One: Develop a feedback form
Research SimpleMailMessage vs MimeMessage

Spring MVC Session Management
Assignment Two: Handel Users with cookies disabled 02:20:05
Hint 1: Check if the HttpSession returns null 02:23:10
Hint 2: Url Encoding/ Url rewriting 02:28:40
Tracking the jsessionid from the URL 02:29:30

New Course Alert: 02:38:40

#SpringMVC #SpringMailAPI #SpringMVCServiceLayer
==============

Any time you are getting stuck with issues, Feel free to ask for support.

you can ping me on my Facebook page

Make sure to join my private Facebook page (Ask me here)

“SeleniumExpress - Support"

you can ask for support in my website forum

Subscribe to my youtube channel

Follow me on Insta

Music :

-----------

credits : -

(channel intro)

Creative Commons — Attribution 3.0 Unported— CC BY 3.0

Рекомендации по теме
Комментарии
Автор

Hai Abhilash sir
I got placed to MNC by watching your videos sir
In interview I just explained love calculator project techinical hr was very impressed and asked how u learnt this much I told by watching selenium express YouTube channel tomorrow is my joining tq so much sir and plz continue ur valuable videos sir once again tq so much sir

puneethhp
Автор

This kind of tutorials &
This kind of lecturer (#Abhilash❤️😎)😀
Neverrrr before - everrrr

sudheerbommisetti
Автор

till I know many YouTubers just writing the code and saying bye-bye, but you explaining the things very depth and clarity. thanks, Abhilash

dharanivelvicky
Автор

Your course is really amazing. Loving it. Your way of explaining is very clear and leave no doubts normally. amazing course. really thanks for making this course available to us.

devendrayadav
Автор

Thank you Abhilash, greetings of the Philippines.

lunatichigh
Автор

hi sir please make videos on spring boot i want to learn that .your teaching skill is fabulous 🙌

jaiyaduvanshi
Автор

You are great sir. I have never seen this kind of ow some teaching Requesting you if possible please make video series for Boot and micro services.

gangashankar
Автор

Exactly, I am waiting for this concept only. Thanks alot from Tamilnadu.I m Able to do spring/spring MVC projects, your course is really helpful for me.

balakrishnan-ipeh
Автор

Hello Abhi sir I am so much satisfied with this course as i know it is the best course I had find ever.
Nobody explain in so detail. So expecting next video very soon. Love and support from Nepal.

rupeshdulal
Автор

Your videos gave me immense confidence. I spend more than ₹ 35000 but your sessions are faaar better. Thanks a lot. Please cover Spring Boot + Microservices. Most of us are waiting for this. Please do it asap. 🙏🙏🙏

harishb
Автор

Hello sir, your video is very useful with clear concept...
please make vidoe on the file upload to the database || resources/image folder

nikunjpatel
Автор

Tq soo much my sir, waiting to get more stuff through your tutorials like spring boot & microservices . Surely u gonna reach to much more heights . Once again tq so much sir !!🥰

bobby
Автор

Please make videos on spring security also.your videos really helpful.

jiniamitra
Автор

Finally abhi u lessons like a medication, please do not be absent for a long time

alphaselenium
Автор

Superb Abhilash..🙏 it is really helpful for me or others also. 🙏

deeptigupta
Автор

Thank you sir for your service. These lessons are really superb

nayanajain
Автор

Can you please explain how to handle exceptions centrally using @ExceptionHandler and @ControllerAdvice? I think that is most common use case which is missing in this entire series. If possible create new video for the same.

sachinaherrao
Автор

Thanks, Sir you are really awesome ...could you please cover Spring Boot + Microservices also

amankaushik
Автор

For me, @ModelAttribute is working absolutely fine with @SessionAttributes

smurfaccount
Автор

Previous video said @SessionAttributes is used for one controller. Should't we use permanent session attribute instead of @SessionAttributes when sending eamil? because two controllers are involved.

tuberhsieh