DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Zones

Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Last call! Secure your stack and shape the future! Help dev teams across the globe navigate their software supply chain security challenges.

Modernize your data layer. Learn how to design cloud-native database architectures to meet the evolving demands of AI and GenAI workloads.

Releasing software shouldn't be stressful or risky. Learn how to leverage progressive delivery techniques to ensure safer deployments.

Avoid machine learning mistakes and boost model performance! Discover key ML patterns, anti-patterns, data strategies, and more.

Core Badge
Avatar

Tarun Telang

DZone Core CORE

Jakarta EE Ambassador, Engineering Leader

Hyderabad, IN

Joined Jan 2010

https://taruntelang.me

About

Hi! My name is Tarun Telang. I am a software professional with more around two decades of programming experience. I have been presenting in conferences related to software technology, writing technical articles and blogs since more than 15 years now. I am writing these blogs to enable software engineers to quickly learn and follow best practices to become more productive while programming using latest Java language features and frameworks. https://twitter.com/taruntelang https://www.linkedin.com/in/taruntelang/ Please feel free to share your feedback on Twitter or LinkedIn by mention me @taruntelang and include #java in your tweet.

Stats

Reputation: 761
Pageviews: 235.6K
Articles: 8
Comments: 35
  • Articles
  • Comments

Articles

article thumbnail
Getting Started With Gradle on MacOS: A Step-By-Step Guide Using Homebrew
Learn how to install Gradle on macOS using Homebrew. Follow simple commands to set up Gradle (a powerful build automation tool).
April 24, 2023
· 15,899 Views · 1 Like
article thumbnail
How To Do Unit Testing Using JUnit4 on Netbeans IDE
Developers and testers can learn how to use the JUnit testing framework for unit testing with the NetBeans IDE to improve code quality in this tutorial.
Updated August 5, 2022
· 25,742 Views · 4 Likes
article thumbnail
Popular Tools Supporting YAML Data Format
Learning about YAML is very beneficial for today's software engineers. This article includes a list, and a description, of ten tools that support YAML.
Updated August 21, 2021
· 21,826 Views · 4 Likes
article thumbnail
How to Find the Optimal Solution for Single Number LeetCode Problem?
Java solution for the single number problem using different approaches in Java and their analysis.
Updated August 13, 2021
· 21,253 Views · 3 Likes
article thumbnail
Threads in Java
A sequence or flow of execution in a Java program is called Thread. Threads are also known as lightweight process as they share the same data and process address space.
January 22, 2021
· 8,874 Views · 19 Likes
article thumbnail
ArrayList or LinkedList?
Learn everything you need to know to choose your sequential data structure.
Updated December 14, 2020
· 39,113 Views · 13 Likes
article thumbnail
Top 10 Most Useful Websites for Java Developers
List of most effective and trustworthy resources about Java Technology.
Updated November 19, 2020
· 19,699 Views · 7 Likes
article thumbnail
Mocking With the Mockito Framework and Testing REST APIs [Video]
This video tutorial covers the Mockito framework and testing REST APIs/services.
October 30, 2018
· 37,995 Views · 6 Likes

Comments

An Overview of JDK Vendors

Nov 14, 2021 · Ardit Ymeri

As of November 2021, Oracle JDK 17 is the newest Long Term Support (LTS) version.

Popular Tools Supporting YAML Data Format

Jul 29, 2021 · Tarun Telang

In addition, these tools/technologies also leverage YAML data serialization format:

- AWS Lambda & Serverless

- GitLab

- GitHub Actions & Workflows

- OpenShift

- HELM

- Istio

- Google Cloud

- SonarCloud

- SAP Hana

- Mule 4

- Vert.x

- Hyperledger Fabric 2.x

- Pivotal Cloud Foundry

- Jaeger

I am sure I would have missed many tools and technologies. Feel free to add to this list in the comments section.




ArrayList or LinkedList?

Jun 27, 2021 · Tarun Telang

Another Practical Application of Linked Lists is playlist in a music player.

ArrayList or LinkedList?

Jun 27, 2021 · Tarun Telang

LRU Cache implementation is one of the use cases where we may find using a (doubly) LinkedList critical. Proves they are really useful in some practical scenarios.

Spring Boot or Jakarta EE – What’s Better?

Jun 06, 2021 · Ralph Soika

Waiting eagerly to see them converge, with Spring Framework 6 moving to Jakarta EE 9+ planned Q3 2021.

Top 10 Most Useful Websites for Java Developers

Dec 16, 2020 · Tarun Telang

Definitely, I assumed readers are visiting this site already as they are going through this article. Thanks for pointing this, would include it in my next update.

DZone Java Zone for tools, tutorials and news on Java technology.

Top 10 Most Useful Websites for Java Developers

Dec 09, 2020 · Tarun Telang

In my perspective, they were separate sites contained with a portal Oracle.com. However, I understand the exact terminology and its common usage could be different. Thanks for pointing this out.

Top 10 Most Useful Websites for Java Developers

Dec 08, 2020 · Tarun Telang

To get News related Follow @java on Twitter by visiting this URL- https://twitter.com/java and join r/java channel on https://www.reddit.com/r/java/.

Top 10 Most Useful Websites for Java Developers

Dec 08, 2020 · Tarun Telang

Below are a few community-curated lists of Java tutorials:

- https://gitconnected.com/learn/java

- https://hackr.io/tutorials/learn-java

Top 10 Most Useful Websites for Java Developers

Dec 08, 2020 · Tarun Telang

Thanks, Rossitsa for your comments. The idea was to point to the exact resource so a naive user is not lost in overwhelming content from Oracle. Java developers might want to bookmark these separately in their browser to save time as they would need to access these frequently.

Introduction to Codenvy

Dec 06, 2020 · Ted Vinke

It now supports the following list of frameworks for developing applications by default. NodeJS, Angular, Apache Camel K, Spring Boot, Mainframe, C/C++, .NET Core, ASP.NET, Go, Java, Gradle, Maven, MongoDB, MySQL, Express, React, Yarn, Laravel, PHP, Symfony, Rust, Scala, Quarkus (https://en.wikipedia.org/wiki/Eclipse_Che#Supported_Languages_and_Frameworks).

Introduction to Codenvy

Dec 06, 2020 · Ted Vinke

Currently Condenvy redirects you to https://che.openshift.io/.. As RedHat is acquiring codenvy.

Top 10 Most Useful Websites for Java Developers

Nov 27, 2020 · Tarun Telang

Below is 10 more unofficial links with good Java tutorials, they might not be updated as per the latest Java versions but still contains valuable information:
- W3Schools - Java Home
- Tutorialspoint - Java 8
- javatpoint.com | Lean Java
- Programiz - Learn Java Programming
- guru99 - Java Tutorial for Beginners
- LearnJavaOnline.org Interactive Java Tutorial.
- geeksforgeeks.org | Java Programming Language
- vogella.com | Java Tutorials
- baeldung.com | https://www.baeldung.com/java-tutorial
- RoseIndia.net | Java Example Code and Tutorials

Top 10 Most Useful Websites for Java Developers

Nov 25, 2020 · Tarun Telang

Thanks for sharing about this resource. In addition to Java Programming articles, It also contains good resources on the Spring framework.

Top 10 Most Useful Websites for Java Developers

Nov 24, 2020 · Tarun Telang

Thanks Luca, for sharing about roseindia.net. The tutorials here are updated with Java 7.

Top 10 Most Useful Websites for Java Developers

Nov 20, 2020 · Tarun Telang

It's still active --> https://coderanch.com/c/java check this out. I am pretty sure Many readers might still found useful resources here.

Top 10 Most Useful Websites for Java Developers

Nov 20, 2020 · Tarun Telang

For getting your queries on Java programming answered quickly by experts from the community, you should post it over stackoverflow.com with java tag at this URL --> https://stackoverflow.com/questions/tagged/java.

ArrayList or LinkedList?

Feb 14, 2019 · Tarun Telang

For shrinking scenario, we can use trimToSize() method provided to reduce wastage of memory in ArrayList.

ArrayList or LinkedList?

Feb 14, 2019 · Tarun Telang

LinkedLists would also have a higher overhead for smaller lists due to L2 cache misses of the processor. This could be higher than call to System.arraycopy() within internal array of an ArrayList.

ArrayList or LinkedList?

Feb 13, 2019 · Tarun Telang

Great point Dieter, There are some scenarios involving concurrent access to elements were LinkedList is better suited. Also if you perform multiple operations on multiple items in a single iteration then the overhead of iterations can lesser than that of copying array element multiple times.

ArrayList or LinkedList?

Feb 13, 2019 · Tarun Telang

And here is a complete session discussion over this conversation -> https://www.youtube.com/watch?v=Y4XkWSAm2XU.

ArrayList or LinkedList?

Feb 13, 2019 · Tarun Telang

When you cannot assume the size still making a rough estimate and passing the initial capacity in the constructor while instantiating a list is a good idea.

ArrayList or LinkedList?

Feb 12, 2019 · Tarun Telang

Thanks for sharing a real-world scenario where LinkedList would be preferred over ArrayList.

ArrayList or LinkedList?

Feb 12, 2019 · Tarun Telang

Hi Dang, thanks for sharing about your performance issue. It would be great inputs for others if you can also elaborate more about your list size and item type for the data it contained and frequency of add/remove of items etc. ?

ArrayList or LinkedList?

Feb 12, 2019 · Tarun Telang

Thanks Ivan for sharing these insights from the JVM memory management perspective.

ArrayList or LinkedList?

Feb 12, 2019 · Tarun Telang

As it is also rare in the real-world situation that we need to add items frequently in the middle of the list. It's could be worth listing scenarios where frequent addition of items in the middle is required.

ArrayList or LinkedList?

Feb 12, 2019 · Tarun Telang

Here's a great discussion on whether LinkedList should be deprecated, -> https://twitter.com/drdeprecator/status/668447303481495552?lang=en. It also contains some pointers to other efficient implementation worth considering like GlueList, Optimized ObjectLayout data structure and Linked arraylet.

ArrayList or LinkedList?

Feb 11, 2019 · Tarun Telang

Thanks, Federico for sharing insights from your experiences.

ArrayList or LinkedList?

Feb 06, 2019 · Tarun Telang

Have updated the table in this article mentioning the fixed cost for these special cases of accessing a first and last element in Linked List.

ArrayList or LinkedList?

Feb 02, 2019 · Tarun Telang

Thanks, Michael for sharing this post containing performance benchmarks, definitely seeing real numbers would further help readers get the most out of this article.

ArrayList or LinkedList?

Feb 02, 2019 · Tarun Telang

Great point. For a LinkedList with large number of items spread out all over the heap, the time taken could be higher as it is more likely to encounter cache misses (involving cache swip in / out using virtual memory).

ArrayList or LinkedList?

Feb 02, 2019 · Tarun Telang

Correct adding/removing items takes O(n) time on the average case. Adding and removing items in LinkedList in Java would take constant time as it maintains references to the first and last element. Thanks Michael for sharing more insights.

Picture Perfect: Choosing Your Featured Image

Dec 25, 2018 · Kristen Pagan

Looks it was a temporary/occasional error, trying again worked. The link for pre-approved photos is correct.

Picture Perfect: Choosing Your Featured Image

Dec 25, 2018 · Kristen Pagan

I am getting "502 Bad Gateway" error on clicking the link of pre-approved photos here. Can you please update the correct link. Thanks

Fixing Sonar Violations Automatically With Walkmod

Nov 15, 2016 · Raquel Pau

>> walkmod add -R sonar:DeclarationsShouldUseCollectionInterfaces

On executing the command above the following error below is encountered.

Please advice how can i resolve this

INFO [main] - Java version: 1.8.0_91 INFO [main] - Java Home: C:\Program Files\Java\jdk1.8.0_91\jre INFO [main] - OS: Windows 7, Vesion: 6.1 ERROR [main] - The content of element type "walkmod" must match "(param*,modules?,plugins?,conf-providers?,merge-policies?,(chain*|transformation*))". at (null:12:11) INFO [main] - Plugin installations fails. 

Best Regards

User has been successfully modified

Failed to modify user

ABOUT US

  • About DZone
  • Support and feedback
  • Community research
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends: