Pages - Menu

Friday, August 5, 2016

Java Mail using Java Thread For better performance | Oracle ADF

Hi,

Today i decided to show New Challenge and How to fix specially when we are speaking about Tuning Options in Java / ADF Applications.




While Building MEITS E-Portal | Middle East Information Technology Services, we discovered one issue related to JavaMail Performance, we are using Standard JavaMail to Send Emails from MEITS Domain, but the problem is, it takes about 15sec to send and receive a confirmation.

I Think this is Normal as we are using Low Level of Security in Google Security Rules and may Google try to put our Requests under some Security / Verification before Sending Emails.


We tried to improve Java Mail Code, but no Change in performance, and so we tried to improve Email Sending Process using Java Threads as it is independent of our main Process and then we can convert Single Thread Process to Multiple Thread Process.





Any Now,  our Main Process takes Less than 1sec and Sending Mail Process is working in Background.

Regards !


42 comments:

  1. Hi Wael very good post,
    but can you post all java code.

    thank's giovanni

    ReplyDelete
  2. I am sorry giovanni,

    MEITS is not public source, i will try to develop one sample and publish ASAP.

    Regards,

    ReplyDelete
  3. Thanks Wael,

    I think explain Ideas with sample code it will be better for all audience

    Regards!

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete
  5. Hi Wael, Very useful and nice article.

    Thanks
    Ankur

    ReplyDelete
  6. This is a good post. This post give truly quality information. I’m definitely going to look into it. Really very useful tips are provided here. thank you so much. Keep up the good works.
    Data Science training in Chennai
    Data science training in Bangalore
    Data science training in pune
    Data science online training
    Data Science Interview questions and answers
    Data Science Tutorial

    ReplyDelete
  7. This comment has been removed by the author.

    ReplyDelete
  8. Hello, I read your blog occasionally, and I own a similar one, and I was just wondering if you get a lot of spam remarks? If so how do you stop it, any plugin or anything you can advise? I get so much lately it’s driving me insane, so any assistance is very much appreciated.
    AWS Training in Chennai | Best AWS Training in Chennai
    Best Data Science Training in Chennai
    Best Python Training in Chennai
    Best RPA Training in Chennai
    Digital Marketing Training in Chennai
    Matlab Training in Chennai
    Best AWS Course Training in Chennai
    Best Devops Course Training in Chennai

    ReplyDelete
  9. I feel really happy to have seen your webpage and look forward to so many more entertaining times reading here. Thanks once more for all the details.

    Best PHP Training Institute in Chennai|PHP Course in chennai
    Best .Net Training Institute in Chennai
    Dotnet Training in Chennai
    Dotnet Training in Chennai

    ReplyDelete
  10. Excellent blog with lots of information, keep sharing. I am waiting for your more posts like this or related to any other informative topic.Amazing web journal I visit this blog it's extremely marvelous. Interestingly, in this blog content composed plainly and reasonable. The substance of data is educationalData Science Training In Chennai

    Data Science Online Training In Chennai

    Data Science Training In Bangalore

    Data Science Training In Hyderabad

    Data Science Training In Coimbatore

    Data Science Training

    Data Science Online Training

    ReplyDelete
  11. Thanks For sharing a nice post about all Course.It is very helpful and for us.
    Oracle ADF training in bangalore

    ReplyDelete
  12. This post is so interactive and informative.keep update more information...
    DevOps course in Tambaram
    DevOps Training in Chennai

    ReplyDelete
  13. Great Information sharing .. I am very happy to read this article .. thanks for giving us go through info.Fantastic nice. I appreciate this post. business analytics course in surat

    ReplyDelete
  14. This comment has been removed by the author.

    ReplyDelete