Skip to content

Yet another programming solutions log

Sample bits from programming for the future generations.

Technologies Technologies
  • Algorithms and Data Structures
  • Java Tutorials
  • JUnit Tutorial
  • MongoDB Tutorial
  • Quartz Scheduler Tutorial
  • Spock Framework Tutorial
  • Spring Framework
  • Bash Tutorial
  • Clojure Tutorial
  • Design Patterns
  • Developer’s Tools
  • Productivity
  • About
Expand Search Form

Initialize Spring bean after construction

farenda 2017-05-06 0

Sometimes there is a need to initialize Spring bean after construction. Basically there are two ways to do that, which we will cover here.

Share with the World!
Continue reading Initialize Spring bean after construction
Categories Spring Framework Tags spring-core

Palindrome detector in Java

farenda 2017-05-05 0

Palindrome is a sequence of chars which reads the same backward and forward. Detecting palindrome is a common job interview task therefore we’ll show how to implement that.

Share with the World!
Continue reading Palindrome detector in Java
Categories Algorithms Tags algorithms, interview, strings

Shuffle Algorithm in Java

farenda 2017-04-22 0

Shuffling of arrays/lists sounds like a trivial task, but in reality it’s full of subtle traps. Here we show how to implement Fisher-Yates Shuffle Algorithm in Java.

Share with the World!
Continue reading Shuffle Algorithm in Java
Categories Algorithms Tags algorithms, java, shuffling

MD5 hash in Java

farenda 2017-04-21 0

To calculate MD5 hash in Java we can use pure Java approach or use libraries. In this post we’re going to show how to calculate Message Digest in different ways.

Share with the World!
Continue reading MD5 hash in Java
Categories Java Tags java, security

MongoDB join collections

farenda 2017-04-14 0

For long time MongoDB didn’t have any means to join collections, but since version 3.2 there is a way to do simple left outer join of two collections.

Share with the World!
Continue reading MongoDB join collections
Categories MongoDB Tags mongodb

MongoDB JSON to Document/DBObject

farenda 2017-04-13 0

MongoDB integrates with JSON very well, but how to convert JSON to Document/DBObject using MongoDB API? In this post we show two solutions.

Share with the World!
Continue reading MongoDB JSON to Document/DBObject
Categories MongoDB Tags json, mongodb

How to generate random test data in MongoDB

farenda 2017-04-09 0

A common problem when starting with MongoDB is how to generate random test data in MongoDB. A large data set is especially needed for MongoDB performance tuning.

Share with the World!
Continue reading How to generate random test data in MongoDB
Categories MongoDB Tags mongodb

Spring Locale from Request

farenda 2017-04-07 0

Spring Framework is really great when it comes to i18n. It applies different strategies to get user’s locale from request. In this post we’ll show how apply that!

Share with the World!
Continue reading Spring Locale from Request
Categories Spring Framework Tags java, rest, spring

MongoDB import/export data

farenda 2017-03-31 0

MongoDB import/export data can be performed using many different tools. In this post we show how to use them to move MongoDB data around!

Share with the World!
Continue reading MongoDB import/export data
Categories MongoDB Tags mongodb

Parallel Merge Sort in Java

farenda 2017-03-30 0

Divide and Conquer algorithms are great subject for parallelism. Here we present Parallel Merge Sort implemented using Java ForkJoin Framework.

Share with the World!
Continue reading Parallel Merge Sort in Java
Categories Algorithms Tags algorithms, java, java-concurrency
Previous 1 2 3 4 5 … 30 31 32 Next

Recent Posts

  • Java 8 Date Time concepts
  • Maven dependency to local JAR
  • Caesar cipher in Java
  • Java casting trick
  • Java 8 flatMap practical example
  • Linked List – remove element
  • Linked List – insert element at position
  • Linked List add element at the end
  • Create Java Streams
  • Floyd Cycle detection in Java

Pages

  • About Farenda
  • Algorithms and Data Structures
  • Bash Tutorial
  • Bean Validation Tutorial
  • Clojure Tutorial
  • Design Patterns
  • Java 8 Streams and Lambda Expressions Tutorial
  • Java Basics Tutorial
  • Java Collections Tutorial
  • Java Concurrency Tutorial
  • Java IO Tutorial
  • Java Tutorials
  • Java Util Tutorial
  • Java XML Tutorial
  • JUnit Tutorial
  • MongoDB Tutorial
  • Quartz Scheduler Tutorial
  • Software Developer’s Tools
  • Spock Framework Tutorial
  • Spring Framework

Tags

algorithms bash bean-validation books clojure design-patterns embedmongo exercises git gof gradle groovy hateoas hsqldb i18n java java-basics java-collections java-concurrency java-io java-lang java-time java-util java-xml java8 java8-files junit linux lists log4j logging maven mongodb performance quartz refactoring regex rest slf4j solid spring spring-boot spring-core sql unit-tests

Yet another programming solutions log © 2021

sponsored
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok