Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Blog Directory  >  Software Blogs  >  Programming Blogs  >  Devdummy programming Blog  >

Devdummy Blog


1
Tags:
Coding hacks, shared.
Kafka is a distributed streaming platform that is designed to handle high volumes of data in real-time. Like any other distributed system, Kafka may encounter several issues that can affect… Read More
What is Java? Java is a high-level, object-oriented programming language developed by Sun Microsystems. It is platform-independent and can run on any operating system that has a Java Virtual… Read More
Why String Is Immutable In Java?
In Java, a String object is immutable, meaning that its value cannot be changed once it is created. This design decision was made for several reasons, including:Security: Because String obje… Read More
MySQL : Drop All The Tables In A Schema
Drop all the tables in a schema in MySQL DatabaseIt is often required to delete tables from a MySQL schema. Following is a simple SQL guide that can be used for deleting the all or the speci… Read More
Hibernate L1 Cache
Hibernate Level 1 CacheHibernate contains a very sophisticated caching mechanism which increases the  performance of the data fetching. Level 1 caching mechanism is… Read More
AWS Guard Duty : 10 Minutes Guide
AWS Guard Duty : Intelligent Threat Detection ServiceAWS Guard Duty is a detection & shielding service that continuously monitor and detects various kind of malicious or unauthorize… Read More
How To Find MySQL Version
Is it often required to find the exact MySQL version running in a specific system. Specially it is required to check the version incompatibilities before executing any queries or the sc… Read More
Java SE 10 production ready release arrived unnoticed on 20th March 2018.Key Features Local-variable type inference: enhances the Java language to extend type inference to declarations… Read More
Convert Java ZonedDateTime To Date
ZonedDateTime can be converted to Java Date by converting it to an instance first,Date date = Date.from(ZonedDateTime.now().toInstant());https://docs.oracle.com/javase/8/docs/api/java/time/Z… Read More
SQL IN Operator
In Operator allows to specify multiple values in where clauseSELECT *FROM booksWHERE ISBN IN (123456, 456789, ...);It also smart enough to support nested queries as well,SELECT *FROM bo… Read More
MySQL : Execute Queries With Variables
Define the variable and set it in the server,SET @country = 'Sri Lanka';SET @section = 'Science Fiction';Now you can write the query with placeholders,SELECT book_name, isbn_number, author_i… Read More
Free Riding In P2P Networks
Free Riding in P2P NetworksFree riding is the process utilising the resources of the peer to peer network without reasonably contributing back to it.P2P system or a peer to peer communicatio… Read More
Linux Symlinks
Symbolic links, symlinks or soft links are a logical reference created from a file to another file or a folder.Creating a Simlink  ln -s   ln -s /opt/devdummy /data/devdummyThe abo… Read More
[Resolved] Tomcat Hangs While Stopping
When it is trying to stop Apache Tomcat gracefully, it is often noticed that it starts to hang throwing a error such as follows,org.apache.catalina.startup.HostConfig.deployWARs Error waitin… Read More
When it is trying to stop Apache Tomcat gracefully, it is often noticed that it starts to hang throwing a error such as follows,org.apache.catalina.startup.HostConfig.deployWARs Error waitin… Read More
Log4j Example
Apache Log4j is a Java-based logging utility. This is a comprehensive guide to integrate log4j in to a java project quickly & easily. Anyway it is a really… Read More
Linux : CPU And Memory Info Commands
1. List CPU Core Level Information cat /proc/cpuinfo[sdn@devdummy ~]$ cat /proc/cpuinfoprocessor : 0vendor_id : GenuineIntelcpu family : 6model : 58model name : Intel(R) Core(TM) i7-38… Read More
Google PageSpeed Insights is a website analytics tool which helps to optimize the performance and the quality of a web site. First it analyse the web site and then it generates suggestions t… Read More
Java 8: What Is A Functional Interface?
Functional Interfaces, What is that, seriously, in Java?Functional Interface is a new concept introduced from Java 8 which are more focused to towards the new features like Lambda Expression… Read More
Systemctl: Command Not Found
systemctl: command not foundImageWhen you are trying to start a service in Cent OS 6 environment with above command, you may have noticed that the above command is giving an error,$ systemct… Read More
Online Favicon Designer
Recently I was looking for an online Favicon designer tool for my devdummy site and fascinated by a simple yet super easy online tool, favicon.cc.Most of the other f… Read More
What Is Java String Pool ?
Quick & simple guide on String Pool concept in JavaImage CreditString Pool in Java corresponds to an allocation of memory in Java heap memory. It consists of a collection of String… Read More
Lazy Loading Vs Eager Loading
Lazy Loading vs Eager Loading Image CreditLazy LoadingLazy loading is a design pattern commonly used in computer programming to defer initialization of an object until the point at… Read More
Immutable Objects In Java
Image CreditWhat is an Immutable Object ?As per the Java Reference Documentation,"An object is considered immutable if its state cannot change after it is constructed"Simply an immutable cla… Read More
What is a marker interface ?Interface which does not contain any method to implement are called marker or the tag interfaces. Why marker interfaces ?The basic idea of having marker inte… Read More
UUIDs, Why & How ?
UUIDsAs per Wikipedia,A universally unique identifier (UUID) is an identifier standard used in software construction. A UUID is simply a 128-bit value. The meaning of each bit is defined by… Read More
Spring Bean Scope Examples
Spring framework provide enough flexibility to define the scope of the objects specifically. That means you can define the boundaries of the objects to behave at its creation.1.  … Read More
Static Binding Vs Dynamic Binding
Static BindingStatic Binding occurs at compile time. Compiler decides the type to be bound in compilation process.Private, final and static methods and variables uses static bindingStat… Read More
Bash Profile Vs Bashrc
The simple rule of thumb here is,".bash_profile is executed for login shells,.bashrc is executed for non-login shells"Login ShellsAs the name says, when you use a login, a username & pas… Read More