HowToDoInJava

  • Python
  • Java
  • Spring Boot
  • Dark Mode

About Us

I am Lokesh Gupta. I am working as a lead analyst with one of the biggest banks in the USA. I love to discuss things and that’s exactly why I am here.

In Java, I have around 10 Yrs of experience which has only increased my hunger for learning. In HowToDoInJava, I will be writing on different topics occasionally and would love to engage some meaningful serious discussions with you folks.

My other hobbies include playing Table Tennis, Badminton, and Carom. I also love watching all kinds of Hollywood movies. In fact, I am a big fan of Steven Spielberg, James Cameron, and Tom hanks.

Note: Neither any post nor part of it, neither any comment nor anything written in the blog should be linked to my employer. All expressed views are my own and I am the only one responsible for the content on this blog.

Happy Learning !!

Was this post helpful?

Let us know if you liked the post. That’s the only way we can improve.

Share this:

  • Twitter
  • Facebook
  • LinkedIn
  • Reddit

Feedback, Discussion and Comments

  1. HanDong

    December 30, 2019

    Hi Lokesh
    I am a Java developer from China. I really like your tutorial. I want to translate it into Chinese and put it on github. I hope to get your permission.

    • Lokesh Gupta

      December 30, 2019

      Please add a link to the original tutorial.

    • Alben Yuan

      February 27, 2020

      I want to join you. Can you give me a Github link?

  2. Kaush

    December 28, 2019

    Your blog is great start point for all beginner or advanced java programmers. Keep it up πŸ™‚

  3. Adarsh

    September 24, 2019

    Simply superb… really nice work lokesh. πŸ™‚

  4. Deepak Agrawal

    January 17, 2019

    Hi Lokesh

    Really appreciate with your bold articles, i love almost all.
    I am just practicing my self for microsevice example. so you have consolidate example, with gateway+ragistry+auth(Oauth 2)+Any service.

    If you had please share code with me
    If possible can you please share your whats app contact number.

  5. Ben

    November 9, 2018

    tks for share Java 8 Tutorial.
    πŸ™‚

  6. Salman Khan

    October 23, 2018

    Hello Sir,
    Really loved your blogs.
    Please share some good practical reading materials or your blog if any for Apache Kafka with Java and Docker complete example.

    Regards,
    Salman Khan

  7. Praval

    October 14, 2018

    Hi,
    Can you write an article about why method definition is now allowed in interfaces from Java 10?

    Thanks

  8. ivano

    August 2, 2016

    HI Lokesh, you explain this concurrency topics in a great way, but I cannot find synchronized volatile explained by you.

  9. aatish gupta

    September 28, 2015

    i want know to use apache library in our website it requires some licence if yes then how please reply fast

    • Lokesh Gupta

      September 28, 2015

      No license is needed.

      • aatish gupta

        October 5, 2015

        thank you

  10. reader

    June 11, 2015

    Hi Lokesh,
    for some reason your singleton page captcha is not working well, so I post my comment here.
    In your Lazy initialization part, you named the double checked version implenetation as EagerSingleton.

    public class EagerSingleton {
        private static volatile EagerSingleton instance = null;
     
        // private constructor
        private EagerSingleton() {
        }
     
        public static EagerSingleton getInstance() {
            if (instance == null) {
                synchronized (EagerSingleton.class) {
                    // Double check
                    if (instance == null) {
                        instance = new EagerSingleton();
                    }
                }
            }
            return instance;
        }
    }
    

    Since its not an Eager initialization i would recommand changing the class name. Apart from that I like very much your blog.

    • Lokesh Gupta

      June 11, 2015

      I will check it. And thanks for letting me know about captcha thing. I will fix it.

  11. swekha

    October 4, 2014

    hi lokesh..I want to uninstall oracle10gxe.while deleting msvcr71.dll and oci.dll it is showing an error msg that “the action can’t be completed because it is open in windows explorer”.please suggest me how i will delete msvcr71.dll and oci.dll??

    • Lokesh Gupta

      October 5, 2014

      Restart the system and kill all oracle processes from windows services or task manager. You should be able to delete all files now.

  12. Chitra

    September 4, 2014

    Just a feedback,… U r awesome! Its a great learning experience for all java developers.

    • Lokesh Gupta

      September 4, 2014

      Thanks !!

  13. riya

    April 4, 2014

    Hi Lokesh, I am trying to display ebills information when a click on view or pay bill. I am trying to do this using spring mvc hibernate jsp. Regarding this i need to send a detailed mail to your mail id inorder to fix some issues.

    • Lokesh Gupta

      April 4, 2014

      howtodoinjava[at]gmail[dot]com

  14. Imran

    March 13, 2014

    hi

    do you have any working examples of spring security using
    KeyBasedPersistenceTokenService?

    My requirement is to use json/rest architecture with Spring MVC 3 annotations, spring security with token exchange.

    thanks

    • Lokesh Gupta

      March 15, 2014

      I will work on it.

    • sarty

      June 9, 2014

      yeah,I also want a same example where spring security has been implemented with OAuth protocol.OAuth 2.0 is been used by all sites(FB,G+,ebay) to grant permission 3rd party users to use their data.

      I’m sure Lokesh will help on this.It would be helpful for him also.

  15. Surya

    September 24, 2013

    great job.. really good information.. all at one place..

  16. kammiti krishna

    September 5, 2013

    can u explain these problem clearly

    2) If the class contains members of any class type then only the object references to those members are copied and hence the member references in both the original object as well as the cloned object refer to the same object.

    • Lokesh Gupta

      September 5, 2013

      Read :: https://howtodoinjava.com/java/cloning/a-guide-to-object-cloning-in-java/

  17. anishsneh

    October 23, 2012

    keep it up mate…

    — Anish Sneh
    http://www.anishsneh.com

    • Admin

      October 28, 2012

      Thanks Anish for motivation.

Comments are closed on this article!

Search Tutorials

Meta Links

  • About Me
  • Contact Us
  • Privacy policy
  • Advertise
  • Guest and Sponsored Posts

Recommended Reading

  • 10 Life Lessons
  • Secure Hash Algorithms
  • How Web Servers work?
  • How Java I/O Works Internally?
  • Best Way to Learn Java
  • Java Best Practices Guide
  • Microservices Tutorial
  • REST API Tutorial
  • How to Start New Blog

Copyright © 2020 · HowToDoInjava.com · All Rights Reserved. | Sitemap

  • Java 15 New Features
  • Sealed Classes and Interfaces
  • EdDSA (Ed25519 / Ed448)