Want to become a Blockchain developer? Here are some online courses and documentation that will teach you how this blockchain technology works and help you become one.
There is no better way to learn than doing projects. Here is a list of iOS project ideas. These projects will help you learn both Swift and iOS development by yourself.
In this article, I'll share the best web development courses for beginners to learn essential skills both frontend and backend, and become professional web developers.
A developer shares five courses that can help you learn SQL and MySQL. Find the right online course to learn MySQL database concepts and commands in-depth.
If you want to learn Google Cloud Platform and looking for the best resources like courses, books, websites, and tutorials then you have come to the right place.
In this article, I will share my favorite online courses to learn essential data structure and algorithms in JavaScript with examples and explanations.
Crack your next coding interview by preparing these essential topics and skills like system design, algorithms, data structure, SQL, multithreading, etc.
List of frequently asked binary tree and BST-based coding interview problem programmers can practice before their programming job interviews with solutions.
If you are looking for the best Python libraries for data science, machine learning, data analysis, and deep learning then you have come to the right place.
If you are looking for creative React Native project ideas then you're at the right place. In this article, I will share with you cool projects to learn React Native.
If you want to become a Python web developer and wondering which Python frameworks, libraries, and packages you can learn then you have come to the right place.
In this article, I will share essential JavaScript features like arrow functions, let and const keywords, restructuring, spread operator, etc., to learn this year.
If you are thinking about Microservice and Cloud-native development in Java and exploring options to create next-gen Java applications then you're at the right place.
Read this tutorial to learn how to use JDK7 FileChannel.transferTo() method to copy files and directories in Java, as well as FileUtils from Apache Commons.
In this article, we discuss free Udemy courses to learn Python Programming from scratch as well as some essential Python libraries and Frameworks like Django.
10 of the best DevOps Courses for Programmers and developers from Udemy, Pluralsight, Coursera, and other online portals to learn DevOps tools and skills
Hello Robert, both of them are valid suggestions, and one way or another they are also included in this article. For example, the rule which says that "Encapsulate what changes" is exactly to hide your data. I really like your second suggestion because if there is a single rule to follow it must be good names for variable, methods, and classes
Not in this era of DevOps. But again, the choice is yours. Tools like Puppet or Chef are good for infra automation and help you to quickly build your evnvironemtn reliably, consistently and easily. .
Well, my take was that a developer who knows better tools and knows his tools better is a better developer than others. But, yes, that's my take on this quote and that's why I love to learn tools which help in development, testing etc.
I think the most important reason is the power of language and how easy it is to learn or do something on it. By power I mean, what can you do using that language without breaking stones and Python is great on that. It offers tons of library for doing virtually anything.
Not really, if someone has mugged how to reverse a singly linked list, he will fail as soon as you change the problem a little bit e.g. asking to use recursion or iteration or in place or just asking to reverse in pairs. These are good questions because you can do in a few lines if you are a good developer, shows the problem-solving skill of candidate, and also allows the interviewer to increase difficulty level slowly.
Modern Java in Action is the updated version of Manning's Java 8 in Action and contains changes from Java 9 and 10. I, agree on a good book to add to this list, but now that you have mentioned, people can take note of that.
While I agree that Scala and Haskel are very good programming language but they are not for average developers, otherwise it would have grown like Python or JavaScript. There is a reason why Java, Python, and JavaScript is ruling the world, they all are accepted by the mass. That acceptance is very important.
Hello Gautam, Yes, there are many useful machine learning libraries in Java like Weka and Deeplearning4j but most of the development is happening in Python and R where libraries like TensorFlow, Sci-kit, Keras, and Pandas are very active and popular.
This is just a blanket comment without any argument. Though I agree, it's opinionated, it makes smart choices and also gives you the tool to customize it.
yup, that's bad, but I mean books simply denote it's Book, yes there will be some situation where it's not clear and in that case, as you said, Stream<Book> will make sense.
Hello Kevin, I agree but most of the time name of the variable and type provide same information e.g. Books book = new Book() or Book book = getBook().;
Now that type is gone, the variable name becomes even more important because it has to indicate type as well.
Thanks Gunnar, that's very useful feedback and pinpoint the problem. I wrote this article keeping new developers and fresh computer science graduate in mind but then again I erred on SVN part. Though, I would be more than interested in what would have been your list, what tools or skills would you have liked to see on software developers?
Hello Gunnar, Software development is not just about writing code, it's much more than that. You need to get requirements, document them, develop, code, test, support and even educate people. Giving a presentation, creating diagrams to explain your system all are part of Software developer's day to day job. Though I agree that you might not have used PPT, you might have used any other tool e.g. Visio to create diagrams etc. The whole point is to have a tool which lets you do that and PPT is most commonly available.
Thanks for that, I know, SVN is dying and Git is going to take over all but in the real world, there are still a lot of projects which use SVN and that's why it's an important tool to learn.
Sorry, Guillermo that you are disappointed, but you clarify what was your expectation when you read the title? I use these tools daily and they are essential for any programmers, I don't really know why so many negative comments.
That's not true, these are excellent tools and I used them daily, don't you use Git or SQL or Linux commands? But, there is something which I missed because it generates same comments all over the internet, not just on Dzone but on Reddit as well. Is that title?
Thanks, Jim, some nice thoughts there. You also have point with programmer should not start with Android development but I have seen a trend that the Idea of developing apps are bringing many people to programming. but yes, they would do better to follow your advice.
Hello Mark, You may be right but the opportunity Java provides is unparalleled and Kotlin has a long way to catch that. Also learning Java is quite easy, though that's subjective and some people may find Kotlin easier to Java.
Hello Lee, I mean brand new developers that don't know how to code. If you already know Groovy/Grails and doing web development, you can start with kotlin. In fact, your Groovy knowledge will help you to learn Kotlin faster.
Hello Craig, Effective Java 3rd edition should be the first book, I didn't include on the list but I mention it specifically because I think it's must read for all developers.
Thanks Thai, yes doing every toy project in the language you want to learn is a great idea. I am thinking to write a file recon tool in Scala for one of my project, let's see how it goes.
I am almost done with Effective Java 3rd Edition :-) but High-performance in-memory computing with Apache Ignite seems interesting. Thanks for suggesting that.
When you have mutable object e.g. Date, you must return a copy of it instead of original reference. One of the thing people miss while creating an immutable class in Java.
Well, Certifications are globally recognized and definitely provide value in terms of Job and credibility. I am not saying that you definitely need certification to get the job but it adds value. Also, apart from recognition, it boosts your knowledge and makes you expert which indirectly help to do well on interview and day to day job.
Thanks for clear explanation. What is most important point with decorator is that it affect only individual object and not all object which itself a big control and flexibility inheritance doesn't offer. See here for another example of decorator pattern in Java
Thanks for clear explanation. What is most important point with decorator is that it affect only individual object and not all object which itself a big control and flexibility inheritance doesn't offer. See here for another example of decorator pattern in Java
Good post man you have covered the topic well. despite being fact WeakHashMap is good for garbage collection and allows reference to be garbage collected when they are only in cache its not yet gain popularity and most of the poepe are still not aware of this beautiful concept.
I think its not that Java doesn't need it , we have seen many example where operator overloading can make code more readable and fits naturally. but in my opinion Why Java doesn't support operator overloading because if you allow programmer to do operator overloading they will come up with multiple meanings for same operator which will make the learning curve of any developer hard and things more confusing and messing. Its been observed that there is increase in programming errors when language supports operator overloading which in turn increase the development and delivery time and since Java and JVM has taken most of developers responsibility in memory management by proving garbage collector it doesn't really make sense to left this feature to pollute the code and a loop hole for programming errors.
I think its not that Java doesn't need it , we have seen many example where operator overloading can make code more readable and fits naturally. but in my opinion Why Java doesn't support operator overloading because if you allow programmer to do operator overloading they will come up with multiple meanings for same operator which will make the learning curve of any developer hard and things more confusing and messing. Its been observed that there is increase in programming errors when language supports operator overloading which in turn increase the development and delivery time and since Java and JVM has taken most of developers responsibility in memory management by proving garbage collector it doesn't really make sense to left this feature to pollute the code and a loop hole for programming errors.
simply amazing , would have been much better if you could share experience how to deal with those day 2 day issue, that will really help many people or probably write how to effectively deal with your project manager etc
In my opinion its a usecase or scenario which decides what to use obviously if you have just one reader and one writer, synchronized is the best choice because of clean and simple approach while in case of multiple Reader and Single writer , Lock interface can provide much better performance.
In my opinion its a usecase or scenario which decides what to use obviously if you have just one reader and one writer, synchronized is the best choice because of clean and simple approach while in case of multiple Reader and Single writer , Lock interface can provide much better performance.
This one is new "-XX:+UseCompressedStrings" I was not aware of that though in most project I found String as major source of garbage and reducing string garbage and turing GC parameter to have fewer mjaor collection improves performance signifcantly.
>One can also use Void class in Generics to specify that you don't care about the specific type of object being used.
Anyone please Why do some one wants to do this , if type-saftey is not requirement then one can use collection class without generics ?? what do yo say
but this could be a interesting interview questions :)
>One can also use Void class in Generics to specify that you don't care about the specific type of object being used.
Anyone please Why do some one wants to do this , if type-saftey is not requirement then one can use collection class without generics ?? what do yo say
but this could be a interesting interview questions :)
I think JCP should be held responsible for being community. The fact that the Java community Process claims to be open but does not keep this promise affecting its image and people are losing trust over it It's a sad that the technology is moviing faster than the process itself.
1) Never allocate more than 70% of physical memory as JVM heap size instead of helping it acutally slows down and might create some more problem.
2) If you are running in 32 bit Machine I don't think more than 4GB can be allocated to single process , gurus correct me If I wrong , so beware of this anyway I think JVM itself will not be able to start if you give more than what he can accept.
3) do not forget to add "M" or "G" after specifiying JVM memory parameter e.g. -XMs 2G
great example. I have also read somewhere that by using Reentrant lock we can control Reader and Writer and can build cache which allows multiple concurrent read and block only write operation , something which is not possible with synchronized keyword in java which blocks both reader and writer mutual exclusively. I have also blogged some of my synchronization experience as How Synchronization works in Java , you may find useful.
based on my experience these quick fix lets to introduce big problem because what initally appear as quick fix just solves a face of problem and most of the time not well thought so leads to some other problem , I would suggest to think 4 times with 4 people before putting any quick fix.
Couldn't be agree more than this, without proper tool no language can survive. There are lots of example presents around like scala, and many other new JVM language but nothing is as popular and widely used as Java Why because java is established and lots of tools , resources and programmer community is available in Java , so even if a new language provides one or two benefit it won't be able to replace existing big like Java, C++ , C and Perl.
Interesting article , Thanks for all those related links , I really like Erik Petterson post . I think until you find your job interesting it would be hard to spend time, most of the developer I met they spent countless hours on learning and exploring technologies , reading blogs , reading articles etc. those are kind of interest you need in yourself to keep the passion going .
Agree with Ran, log4j does samething by using watchdog thread which monitors on change in log4j.xml but I think JMX is more flexible way of doing it , with indroduction of MX4j you can have JMX page open on your browser and can easily change logging level without restarting system. you can also put authentication on JMX page to avoid any unauthorized access.
Nice article but the best book I found on this topic is HFDP in there first or second chapter they have explained this topic beautifully and once you read that you won't forget for life. Indeed Composition is lot better than inheritence because it provides you runtime flexibility to change behavior of a class which Inheritance can not, code written using composition was more manageable than inheritance.
I read this article on your blog earlier , great article as I said earlier and something evey application developer dealing with database should aware of ,posting it on Dzone increased its value more , good work sandeep , keep it up man.
Excellent stuff man , you indeed covered the topic in details with some really good example. design pattern is little complex topic until you understand where to use and where not use and how to use it. I would prefer to give some don't also i.e. where not to use this pattern and also what is benefit of using it how it helps in maintenance etc. e.g Factory pattern helps a lot if you want to create new object because you only need to make change on Factory class ,why because Factory encapsulates logic of creating object , so it require to change in one class which means less testing, less chance of error and quick delivery. Anyway great stuff and keep it up.
I am wondering if Java 8 even remain open source , its now Oracle and Oracle is not a big fanof to giving something free or open source , they might ask for license of using Java going forward :)
My ultimate wish is Java remain Opensource as it is now .
I am wondering if Java 8 even remain open source , its now Oracle and Oracle is not a big fanof to giving something free or open source , they might ask for license of using Java going forward :)
My ultimate wish is Java remain Opensource as it is now .
I am wondering if Java 8 even remain open source , its now Oracle and Oracle is not a big fanof to giving something free or open source , they might ask for license of using Java going forward :)
My ultimate wish is Java remain Opensource as it is now .
This looks to me a nice series of tutorial which will really help programmer on programming and developement concept. I see web is full of article but genuine good article related to programming concept, best practices, experiences are really rare. with due course I found that while developing or programming its always better to discard the first way of solution because its most of the time it blocks thinking and contains bugs , think more and then decide. another important skill is think through process which is pretty important for maintennace and new dev.
Thanks a lot for making us aware of this library. A good matrix library can be quite useful for matrix related computation but as with other open source library how much testing has been done on this we are not sure and how good it is to use for production is still a question. I am sure it would get mature and accepted widely by other open source projects but it has long way to go.
Nice article , you have indeed covered topic in details with sample code and graphics and Test Case and provided an alternative of JmsTemplate in Spring. Though I have used JMS a while ago but I see your solution offers more flexiblity than spring JmsTemplate itself.
Nice article , you have indeed covered topic in details with sample code and graphics and Test Case and provided an alternative of JmsTemplate in Spring. Though I have used JMS a while ago but I see your solution offers more flexiblity than spring JmsTemplate itself.
Nice article , you have indeed covered topic in details with sample code, its indeed a topic which require a deeper understanding than many other java topics.
Nice article , you have indeed covered this topic in details. I have also blogged some of my experience as How Serialization works in Java hope it would be useful.
Indeed Nice article In my experiece Remote Debugging is very useful for troubleshooting production issues on large enterprise application, specially if your applicaiton is live and you don't have proper development environment setup in your dev box.
Indeed Nice article In my experiece Remote Debugging is very useful for troubleshooting production issues on large enterprise application, specially if your applicaiton is live and you don't have proper development environment setup in your dev box.
Indeed Nice article In my experiece Remote Debugging is very useful for troubleshooting production issues on large enterprise application, specially if your applicaiton is live and you don't have proper development environment setup in your dev box.
Indeed Nice article In my experiece Remote Debugging is very useful for troubleshooting production issues on large enterprise application, specially if your applicaiton is live and you don't have proper development environment setup in your dev box.
Indeed Nice article In my experiece Remote Debugging is very useful for troubleshooting production issues on large enterprise application, specially if your applicaiton is live and you don't have proper development environment setup in your dev box.
Indeed Nice article In my experiece Remote Debugging is very useful for troubleshooting production issues on large enterprise application, specially if your applicaiton is live and you don't have proper development environment setup in your dev box.
Indeed Nice article In my experiece Remote Debugging is very useful for troubleshooting production issues on large enterprise application, specially if your applicaiton is live and you don't have proper development environment setup in your dev box.
Indeed Nice article In my experiece Remote Debugging is very useful for troubleshooting production issues on large enterprise application, specially if your applicaiton is live and you don't have proper development environment setup in your dev box.
Conditional breakpoint is really powerful feature eclipse offered and i have used it a lot during my project particularly useful if you want to stop execution only for a particluar thread or a particular condition. See my blog post Java and eclipse remote deubgging for more debugging tips.
here is my list of Top 20 eclipse keyboard shortcuts I would rather say very useful and practical eclipse shortcut :) and I used it on day to day basis.
here is my list of Top 20 eclipse keyboard shortcuts I would rather say very useful and practical eclipse shortcut :) and I used it on day to day basis.
Nice article. Just to add You need to ensure that you run the same code base in eclipse which is deployed in your remote machine so that what you debug and see in eclipse is true and real. you also need to ensure that your code is compile with debug option "-g" so that eclipse can easily gather debug info. I have also written a blog post about eclipse remote debugging which talks about setting up eclipse for remote debugging and issues faced during remote debugging, you may find it interesting.
I completely agree your point "JavaScript may look like Java, smell like Java and even taste a little like Java, but it does not behave like Java" . Java is such a gem languare and it gives you pleasure of coding while Javascript is give feels more of scripting than programming. anyway both are important in there place but I must say Java is Java :)
Comments
May 26, 2020 · Javin Paul
Hello Robert, both of them are valid suggestions, and one way or another they are also included in this article. For example, the rule which says that "Encapsulate what changes" is exactly to hide your data. I really like your second suggestion because if there is a single rule to follow it must be good names for variable, methods, and classes
Apr 18, 2019 · Javin Paul
I think you are right. My first introduction with Uncle Bob was with Clean Code, that was remarkable but this book is at par of that.
Apr 18, 2019 · Javin Paul
I think you are right. My first introduction with Uncle Bob was with Clean Code, that was remarkable but this book is at par of that.
Apr 18, 2019 · Javin Paul
Yes :-)
Apr 10, 2019 · Javin Paul
Yup, that's a great book and updated version of Java 8 in Action.
Apr 10, 2019 · Javin Paul
You seems to die-hard Scala fan :-)
Apr 09, 2019 · Javin Paul
Do you mean even Effective Java?
Mar 06, 2019 · Javin Paul
yeah, agree, I need to add few more Java 8 questions on this list. thanks for feedback.
Mar 06, 2019 · Javin Paul
Not really, it can be tough for beginners but yes if you have decent Java experience, you should know all the answers.
Feb 21, 2019 · Sibanjan Das
Not in this era of DevOps. But again, the choice is yours. Tools like Puppet or Chef are good for infra automation and help you to quickly build your evnvironemtn reliably, consistently and easily. .
Feb 21, 2019 · Sibanjan Das
If you want to learn just one, choose Maven. Even Gradle is better and latest, Maven is still most widely used.
Feb 21, 2019 · Sibanjan Das
It's a good tool but you can ignore if you are no interested on monitroring and your organization is not investing on that.
Feb 21, 2019 · Sibanjan Das
Well, my take was that a developer who knows better tools and knows his tools better is a better developer than others. But, yes, that's my take on this quote and that's why I love to learn tools which help in development, testing etc.
Jan 29, 2019 · Javin Paul
That's true but it's not the easiest book out there because topic itself is complex. A course will help you better.
Jan 25, 2019 · Javin Paul
Yes, these are also good resources. Thanks for sharing them here.
Jan 17, 2019 · Javin Paul
Thanks
Jan 17, 2019 · Javin Paul
I think the most important reason is the power of language and how easy it is to learn or do something on it. By power I mean, what can you do using that language without breaking stones and Python is great on that. It offers tons of library for doing virtually anything.
Jan 09, 2019 · Javin Paul
If you need an easier book on Algorithms then try Grokking Algorithms by Aditya Bhargava
Dec 19, 2018 · Javin Paul
Thanks for pointing guys, the missing link is http://www.java67.com/2018/02/5-free-react-courses-for-web-developers.html
Dec 19, 2018 · Javin Paul
you are most welcome Henry.
Nov 27, 2018 · Duncan Brown
Indeed.
Nov 27, 2018 · Duncan Brown
Beginning Scala Programming
Scala and Functional Programming for Beginners
Read more: https://javarevisited.blogspot.com/2018/01/10-reasons-to-learn-scala-programming.html#ixzz5Y3sQZHIN
Nov 14, 2018 · Lauren Forbes
Thanks Josh.
Nov 13, 2018 · Lauren Forbes
Thanks
Oct 27, 2018 · Javin Paul
Not really, if someone has mugged how to reverse a singly linked list, he will fail as soon as you change the problem a little bit e.g. asking to use recursion or iteration or in place or just asking to reverse in pairs. These are good questions because you can do in a few lines if you are a good developer, shows the problem-solving skill of candidate, and also allows the interviewer to increase difficulty level slowly.
Oct 23, 2018 · Javin Paul
Well, you always need a bit of brush up and practice before going into an interview.
Oct 23, 2018 · Javin Paul
Thanks Calvin
Oct 18, 2018 · Duncan Brown
Yes, that's again a great book and I could have included in this list but I left it as a general programming best practices book.
Oct 18, 2018 · Duncan Brown
Modern Java in Action is the updated version of Manning's Java 8 in Action and contains changes from Java 9 and 10. I, agree on a good book to add to this list, but now that you have mentioned, people can take note of that.
Oct 06, 2018 · Duncan Brown
While I agree that Scala and Haskel are very good programming language but they are not for average developers, otherwise it would have grown like Python or JavaScript. There is a reason why Java, Python, and JavaScript is ruling the world, they all are accepted by the mass. That acceptance is very important.
Oct 05, 2018 · Duncan Brown
But, In most organization it doesn't work like that, you have to wear many hats at the same time.
Oct 05, 2018 · Duncan Brown
Why Serge? I think Java, Python, and JavaScript is the only three language which is going great at the moment.
Aug 14, 2018 · Lindsay Burk
I think you can use jConsole to check deadlock in realtime.
Aug 14, 2018 · Lindsay Burk
yes, by using this coding technique you can avoid deadlock.
Jul 27, 2018 · Javin Paul
Hello Gautam, Yes, there are many useful machine learning libraries in Java like Weka and Deeplearning4j but most of the development is happening in Python and R where libraries like TensorFlow, Sci-kit, Keras, and Pandas are very active and popular.
Jul 27, 2018 · Javin Paul
Definitely Log4j2 is faster but still abstracting your logging library by using SLF4j is not a bad option.
Jul 27, 2018 · Javin Paul
Yes, Spock is a good framework but you need to know Groovy, which is also not bad if you can.
Jun 30, 2018 · Duncan Brown
not the best, but yes, good books.
Jun 30, 2018 · Duncan Brown
Hello Phil, I haven't read that yet but looks a good book to learn JavaFX, thanks for the suggestion.
Jun 30, 2018 · Duncan Brown
Thanks, that's a good book.
Jun 13, 2018 · Duncan Brown
This is just a blanket comment without any argument. Though I agree, it's opinionated, it makes smart choices and also gives you the tool to customize it.
May 23, 2018 · Duncan Brown
I second, unit testing/automation/integration testing is the single most important thing for Java developers. There is a lot to learn on that space.
Mar 30, 2018 · Mike Gates
yup, that's bad, but I mean books simply denote it's Book, yes there will be some situation where it's not clear and in that case, as you said, Stream<Book> will make sense.
Mar 30, 2018 · Mike Gates
Hello Kevin, I agree but most of the time name of the variable and type provide same information e.g. Books book = new Book() or Book book = getBook().;
Now that type is gone, the variable name becomes even more important because it has to indicate type as well.
Mar 24, 2018 · Javin Paul
Yup, you are correct. In some cases, though Enum as Singleton is also an easier option.
Mar 22, 2018 · Javin Paul
That's not true.
Mar 10, 2018 · Javin Paul
Thanks Gunnar, that's very useful feedback and pinpoint the problem. I wrote this article keeping new developers and fresh computer science graduate in mind but then again I erred on SVN part. Though, I would be more than interested in what would have been your list, what tools or skills would you have liked to see on software developers?
Mar 10, 2018 · Javin Paul
I have to agree with you on this point, the Cobol example just killed the argument.
Mar 10, 2018 · Javin Paul
Hello Gunnar, Software development is not just about writing code, it's much more than that. You need to get requirements, document them, develop, code, test, support and even educate people. Giving a presentation, creating diagrams to explain your system all are part of Software developer's day to day job. Though I agree that you might not have used PPT, you might have used any other tool e.g. Visio to create diagrams etc. The whole point is to have a tool which lets you do that and PPT is most commonly available.
Mar 09, 2018 · Javin Paul
Well, Confluence is good for documentation, I have hardly seen any software requirement document written over there.
Mar 09, 2018 · Javin Paul
Thanks for that, I know, SVN is dying and Git is going to take over all but in the real world, there are still a lot of projects which use SVN and that's why it's an important tool to learn.
Mar 09, 2018 · Javin Paul
Sorry, Guillermo that you are disappointed, but you clarify what was your expectation when you read the title? I use these tools daily and they are essential for any programmers, I don't really know why so many negative comments.
Mar 09, 2018 · Javin Paul
That's not true, these are excellent tools and I used them daily, don't you use Git or SQL or Linux commands? But, there is something which I missed because it generates same comments all over the internet, not just on Dzone but on Reddit as well. Is that title?
Mar 09, 2018 · Javin Paul
Sorry, but can you clarify. These are the tools I used daily and they are useful, not sure why this article is sparking so many negative comments.
Mar 08, 2018 · Javin Paul
Well, I have mentioned Linux commands but yes they are awesome tools
Mar 08, 2018 · Javin Paul
Not really, if you also write requirement specification as part of your development, you need to know the MS Word. same goes for PPT.
Mar 03, 2018 · Javin Paul
Well, kind of yes, particularly for this example, but we don't always use Arrays.asList(), especially if arguments are not String and Integer.
Feb 22, 2018 · Javin Paul
Thanks, Jim, some nice thoughts there. You also have point with programmer should not start with Android development but I have seen a trend that the Idea of developing apps are bringing many people to programming. but yes, they would do better to follow your advice.
Feb 17, 2018 · Javin Paul
Hello Mark, You may be right but the opportunity Java provides is unparalleled and Kotlin has a long way to catch that. Also learning Java is quite easy, though that's subjective and some people may find Kotlin easier to Java.
Feb 16, 2018 · Javin Paul
Hello Lee, I mean brand new developers that don't know how to code. If you already know Groovy/Grails and doing web development, you can start with kotlin. In fact, your Groovy knowledge will help you to learn Kotlin faster.
Feb 07, 2018 · Javin Paul
Hello Craig, Effective Java 3rd edition should be the first book, I didn't include on the list but I mention it specifically because I think it's must read for all developers.
Feb 05, 2018 · Javin Paul
Thanks Thai, yes doing every toy project in the language you want to learn is a great idea. I am thinking to write a file recon tool in Scala for one of my project, let's see how it goes.
I am almost done with Effective Java 3rd Edition :-) but High-performance in-memory computing with Apache Ignite seems interesting. Thanks for suggesting that.
Dec 20, 2017 · Hussein Terek
When you have mutable object e.g. Date, you must return a copy of it instead of original reference. One of the thing people miss while creating an immutable class in Java.
Jun 21, 2017 · Javin Paul
Well, Certifications are globally recognized and definitely provide value in terms of Job and credibility. I am not saying that you definitely need certification to get the job but it adds value. Also, apart from recognition, it boosts your knowledge and makes you expert which indirectly help to do well on interview and day to day job.
May 04, 2017 · Serdar Mustaoglu
Thanks for sharing your experience. Here are my 5 tips to prepare well for Java certification Exam
Nov 19, 2011 · Gerd Storm
Nov 19, 2011 · James Sugrue
Oct 05, 2011 · valraven xrest
Good post man you have covered the topic well. despite being fact WeakHashMap is good for garbage collection and allows reference to be garbage collected when they are only in cache its not yet gain popularity and most of the poepe are still not aware of this beautiful concept.
Thanks
Javin
How HashMap works in Java
Aug 29, 2011 · Mr B Loid
I think its not that Java doesn't need it , we have seen many example where operator overloading can make code more readable and fits naturally. but in my opinion Why Java doesn't support operator overloading because if you allow programmer to do operator overloading they will come up with multiple meanings for same operator which will make the learning curve of any developer hard and things more confusing and messing. Its been observed that there is increase in programming errors when language supports operator overloading which in turn increase the development and delivery time and since Java and JVM has taken most of developers responsibility in memory management by proving garbage collector it doesn't really make sense to left this feature to pollute the code and a loop hole for programming errors.
Thanks
Javin
How HashMap works in Java
Aug 29, 2011 · Cedric Beust
I think its not that Java doesn't need it , we have seen many example where operator overloading can make code more readable and fits naturally. but in my opinion Why Java doesn't support operator overloading because if you allow programmer to do operator overloading they will come up with multiple meanings for same operator which will make the learning curve of any developer hard and things more confusing and messing. Its been observed that there is increase in programming errors when language supports operator overloading which in turn increase the development and delivery time and since Java and JVM has taken most of developers responsibility in memory management by proving garbage collector it doesn't really make sense to left this feature to pollute the code and a loop hole for programming errors.
Thanks
Javin
How HashMap works in Java
Aug 25, 2011 · valraven xrest
simply amazing , would have been much better if you could share experience how to deal with those day 2 day issue, that will really help many people or probably write how to effectively deal with your project manager etc
Thanks
10 example of find command in Unix
Aug 25, 2011 · herval freire
This is just amazing but every IDE provides your code feature to automatically creat getter, setter, equal, hashcode and toString method.
Thanks
How HashMap works in Java
Aug 08, 2011 · Mr B Loid
In my opinion its a usecase or scenario which decides what to use obviously if you have just one reader and one writer, synchronized is the best choice because of clean and simple approach while in case of multiple Reader and Single writer , Lock interface can provide much better performance.
Thanks
Javin
20 points about synchronization in Java
Aug 08, 2011 · James Sugrue
In my opinion its a usecase or scenario which decides what to use obviously if you have just one reader and one writer, synchronized is the best choice because of clean and simple approach while in case of multiple Reader and Single writer , Lock interface can provide much better performance.
Thanks
Javin
20 points about synchronization in Java
Jul 21, 2011 · Mr B Loid
This one is new "-XX:+UseCompressedStrings" I was not aware of that though in most project I found String as major source of garbage and reducing string garbage and turing GC parameter to have fewer mjaor collection improves performance signifcantly.
Javin
How Garbage collection works in Java
Jul 18, 2011 · Shekhar Gulati
I must say great post , never know these details about generic. Thank a lot for bringing these to us.
Javin
How volatile keyword works in Java with example
Jul 09, 2011 · Mr B Loid
>One can also use Void class in Generics to specify that you don't care about the specific type of object being used.
Anyone please Why do some one wants to do this , if type-saftey is not requirement then one can use collection class without generics ?? what do yo say
but this could be a interesting interview questions :)
Javin
Top 20 Core Java Interview question answers
Jul 09, 2011 · James Sugrue
>One can also use Void class in Generics to specify that you don't care about the specific type of object being used.
Anyone please Why do some one wants to do this , if type-saftey is not requirement then one can use collection class without generics ?? what do yo say
but this could be a interesting interview questions :)
Javin
Top 20 Core Java Interview question answers
Jun 17, 2011 · Alexander Kitaev
I think JCP should be held responsible for being community. The fact that the Java community Process claims to be open but does not keep this promise affecting its image and people are losing trust over it It's a sad that the technology is moviing faster than the process itself.
Thanks
How HashMap in Java works
May 23, 2011 · Gerd Storm
Something to add:
1) Never allocate more than 70% of physical memory as JVM heap size instead of helping it acutally slows down and might create some more problem.
2) If you are running in 32 bit Machine I don't think more than 4GB can be allocated to single process , gurus correct me If I wrong , so beware of this anyway I think JVM itself will not be able to start if you give more than what he can accept.
3) do not forget to add "M" or "G" after specifiying JVM memory parameter e.g. -XMs 2G
I have also blogged on java heap as 10 point about Heap space in Java , see if it helps.
May 10, 2011 · admin
great example. I have also read somewhere that by using Reentrant lock we can control Reader and Writer and can build cache which allows multiple concurrent read and block only write operation , something which is not possible with synchronized keyword in java which blocks both reader and writer mutual exclusively. I have also blogged some of my synchronization experience as How Synchronization works in Java , you may find useful.
May 08, 2011 · Mr B Loid
based on my experience these quick fix lets to introduce big problem because what initally appear as quick fix just solves a face of problem and most of the time not well thought so leads to some other problem , I would suggest to think 4 times with 4 people before putting any quick fix.
Javin
How Classpath works in Java
May 06, 2011 · Mr B Loid
May 06, 2011 · Mr B Loid
May 06, 2011 · Mr B Loid
May 06, 2011 · Mr B Loid
May 04, 2011 · Mr B Loid
Couldn't be agree more than this, without proper tool no language can survive. There are lots of example presents around like scala, and many other new JVM language but nothing is as popular and widely used as Java Why because java is established and lots of tools , resources and programmer community is available in Java , so even if a new language provides one or two benefit it won't be able to replace existing big like Java, C++ , C and Perl.
Javin
Top 20 Core Java Interview question
May 03, 2011 · Gerd Storm
Interesting article , Thanks for all those related links , I really like Erik Petterson post . I think until you find your job interesting it would be hard to spend time, most of the developer I met they spent countless hours on learning and exploring technologies , reading blogs , reading articles etc. those are kind of interest you need in yourself to keep the passion going .
Javin
10 example of using find command in Unix
May 02, 2011 · Andy Peters
Agree with Ran, log4j does samething by using watchdog thread which monitors on change in log4j.xml but I think JMX is more flexible way of doing it , with indroduction of MX4j you can have JMX page open on your browser and can easily change logging level without restarting system. you can also put authentication on JMX page to avoid any unauthorized access.
Javin
10 tips on logging in Java
May 02, 2011 · Payton Byrd
Nice article but the best book I found on this topic is HFDP in there first or second chapter they have explained this topic beautifully and once you read that you won't forget for life. Indeed Composition is lot better than inheritence because it provides you runtime flexibility to change behavior of a class which Inheritance can not, code written using composition was more manageable than inheritance.
Javin
How HashMap works in Java
Apr 30, 2011 · James Sugrue
I read this article on your blog earlier , great article as I said earlier and something evey application developer dealing with database should aware of ,posting it on Dzone increased its value more , good work sandeep , keep it up man.
Javin
10 basic mysql commands to remember
Apr 28, 2011 · Nick Landry
Excellent stuff man , you indeed covered the topic in details with some really good example. design pattern is little complex topic until you understand where to use and where not use and how to use it. I would prefer to give some don't also i.e. where not to use this pattern and also what is benefit of using it how it helps in maintenance etc. e.g Factory pattern helps a lot if you want to create new object because you only need to make change on Factory class ,why because Factory encapsulates logic of creating object , so it require to change in one class which means less testing, less chance of error and quick delivery. Anyway great stuff and keep it up.
Javin
Why String is immutable in Java
Apr 27, 2011 · prashant.jalasutram
I am wondering if Java 8 even remain open source , its now Oracle and Oracle is not a big fanof to giving something free or open source , they might ask for license of using Java going forward :)
My ultimate wish is Java remain Opensource as it is now .
Javin
How HashMap works in Java
Apr 27, 2011 · prashant.jalasutram
I am wondering if Java 8 even remain open source , its now Oracle and Oracle is not a big fanof to giving something free or open source , they might ask for license of using Java going forward :)
My ultimate wish is Java remain Opensource as it is now .
Javin
How HashMap works in Java
Apr 27, 2011 · prashant.jalasutram
I am wondering if Java 8 even remain open source , its now Oracle and Oracle is not a big fanof to giving something free or open source , they might ask for license of using Java going forward :)
My ultimate wish is Java remain Opensource as it is now .
Javin
How HashMap works in Java
Apr 26, 2011 · Gerd Storm
This looks to me a nice series of tutorial which will really help programmer on programming and developement concept. I see web is full of article but genuine good article related to programming concept, best practices, experiences are really rare. with due course I found that while developing or programming its always better to discard the first way of solution because its most of the time it blocks thinking and contains bugs , think more and then decide. another important skill is think through process which is pretty important for maintennace and new dev.
Javin
Why String is immutable in Java
Apr 25, 2011 · Gerd Storm
Thanks a lot for making us aware of this library. A good matrix library can be quite useful for matrix related computation but as with other open source library how much testing has been done on this we are not sure and how good it is to use for production is still a question. I am sure it would get mature and accepted widely by other open source projects but it has long way to go.
Javin
Why String is immutable in Java
Apr 23, 2011 · Mr B Loid
Javin
Tibco Rendezvous messaging Tutorial
Apr 23, 2011 · James Sugrue
Javin
Tibco Rendezvous messaging Tutorial
Apr 19, 2011 · Vincent Stoessel
Thanks
Javin
Top 10 Java Serialization Interview Question
Apr 19, 2011 · Clinton Forbes
Thanks
Javin
Apr 16, 2011 · Mr B Loid
Thanks
Javin
Top 10 Java Serialization Interview Question
Apr 16, 2011 · James Sugrue
Thanks
Javin
Top 10 Java Serialization Interview Question
Apr 11, 2011 · Jorge Garifuna
Indeed Nice article In my experiece Remote Debugging is very useful for troubleshooting production issues on large enterprise application, specially if your applicaiton is live and you don't have proper development environment setup in your dev box.
Thanks
Javin
Java remote debugging in Eclipse Tips
Apr 11, 2011 · Jorge Garifuna
Indeed Nice article In my experiece Remote Debugging is very useful for troubleshooting production issues on large enterprise application, specially if your applicaiton is live and you don't have proper development environment setup in your dev box.
Thanks
Javin
Java remote debugging in Eclipse Tips
Apr 11, 2011 · Jorge Garifuna
Indeed Nice article In my experiece Remote Debugging is very useful for troubleshooting production issues on large enterprise application, specially if your applicaiton is live and you don't have proper development environment setup in your dev box.
Thanks
Javin
Java remote debugging in Eclipse Tips
Apr 11, 2011 · Jorge Garifuna
Indeed Nice article In my experiece Remote Debugging is very useful for troubleshooting production issues on large enterprise application, specially if your applicaiton is live and you don't have proper development environment setup in your dev box.
Thanks
Javin
Java remote debugging in Eclipse Tips
Apr 11, 2011 · .
Indeed Nice article In my experiece Remote Debugging is very useful for troubleshooting production issues on large enterprise application, specially if your applicaiton is live and you don't have proper development environment setup in your dev box.
Thanks
Javin
Java remote debugging in Eclipse Tips
Apr 11, 2011 · .
Indeed Nice article In my experiece Remote Debugging is very useful for troubleshooting production issues on large enterprise application, specially if your applicaiton is live and you don't have proper development environment setup in your dev box.
Thanks
Javin
Java remote debugging in Eclipse Tips
Apr 11, 2011 · .
Indeed Nice article In my experiece Remote Debugging is very useful for troubleshooting production issues on large enterprise application, specially if your applicaiton is live and you don't have proper development environment setup in your dev box.
Thanks
Javin
Java remote debugging in Eclipse Tips
Apr 11, 2011 · .
Indeed Nice article In my experiece Remote Debugging is very useful for troubleshooting production issues on large enterprise application, specially if your applicaiton is live and you don't have proper development environment setup in your dev box.
Thanks
Javin
Java remote debugging in Eclipse Tips
Apr 08, 2011 · Gerd Storm
Conditional breakpoint is really powerful feature eclipse offered and i have used it a lot during my project particularly useful if you want to stop execution only for a particluar thread or a particular condition. See my blog post Java and eclipse remote deubgging for more debugging tips.
Apr 08, 2011 · Steven Hargrove
here is my list of Top 20 eclipse keyboard shortcuts I would rather say very useful and practical eclipse shortcut :) and I used it on day to day basis.
Apr 08, 2011 · Tomas Kramar
here is my list of Top 20 eclipse keyboard shortcuts I would rather say very useful and practical eclipse shortcut :) and I used it on day to day basis.
Apr 08, 2011 · Mr B Loid
Jan 17, 2011 · Binny V A
Hi,
I completely agree your point "JavaScript may look like Java, smell like Java and even taste a little like Java, but it does not behave like Java" . Java is such a gem languare and it gives you pleasure of coding while Javascript is give feels more of scripting than programming. anyway both are important in there place but I must say Java is Java :)
Thanks
Javin