javaJun 131 min readJDK 27 Rampdown Begins: G1 as Default GC, Post-Quantum TLS, and the OpenJDK AI Code BanJDK 27 locked its feature set in June 2026 with G1 as the default GC, post-quantum TLS 1.3, and a controversial ban on AI-generated code contributions.Hhemant-kumar0
securityJun 121 min readPost-Quantum Cryptography Is No Longer Optional: A Developer's Migration Guide for 2026NIST finalized three post-quantum standards in 2024 and adversaries are already stockpiling your encrypted traffic. Here's how to start migrating your apps now.Hhemant-kumar0
JavaMay 151 min readMongoDB Sharding: The Mistake That Cost Us a WeekendWe sharded on the wrong key and spent a weekend firefighting. Here's exactly what went wrong and how we picked a better shard key.Hhemant-kumar0
JavaMay 151 min readHibernate Was Slowing Us Down. Here's What We Did About It.We had N+1 queries everywhere and didn't know it until production fell over. Switching wasn't the answer — understanding the ORM was.Hhemant-kumar0
JavaApr 131 min readLombok – Reduce Boilerplate in JavaLombok – Reduce Boilerplate in Java body { font-family: Arial, sans-serif; line-height: 1.6; margin: 2rem auto; padding: 0 1rem; background-color: #f9f9f9; color: #333; } h1, h2 { color: #2c3e50; } prHhemant-kumar0
JavaApr 131 min readBuilding a Recommendation System in Spring BootBuilding a Recommendation System in Spring Boot body { font-family: 'Segoe UI', sans-serif; margin: 2rem auto; padding: 0 1.5rem; color: #2d3748; } h1, h2 { color: #1a202c; } pre { background: #2d2d2dHhemant-kumar0
JavaApr 131 min readJava Records in Functional ProgrammingJava Records in Functional Programming body { font-family: Arial, sans-serif; line-height: 1.6; margin: 2rem auto; padding: 0 1rem; background-color: #f9f9f9; color: #333; } h1, h2 { color: #2c3e50; }Hhemant-kumar0
JavaApr 131 min readJava 25 Features (Preview) – What’s New in the Upcoming LTS ReleaseJava 25 Features (Preview) – What’s New in the Upcoming LTS Release body { font-family: Arial, sans-serif; line-height: 1.6; margin: 2rem auto; padding: 0 1rem; background-color: #f9f9f9; color: #333;Hhemant-kumar0
JavaApr 131 min readJava 21 FeaturesJava 21 Features: The Complete Guide for Developers body { font-family: Arial, sans-serif; line-height: 1.6; margin: 2rem auto; padding: 0 1rem; background-color: #f9f9f9; color: #333; } h1, h2 { coloHhemant-kumar0
JavaApr 131 min readLombok vs Records: When to Use What?Lombok vs Records: When to Use What? body { font-family: Arial, sans-serif; line-height: 1.6; margin: 2rem auto; padding: 0 1rem; background-color: #f9f9f9; color: #333; } h1, h2 { color: #2c3e50; } pHhemant-kumar0
JavaApr 131 min readJava Streams: A Modern Way to Process DataJava Streams: A Modern Way to Process Data body { font-family: Arial, sans-serif; line-height: 1.6; margin: 2rem auto; padding: 0 1rem; background-color: #f9f9f9; color: #333; } h1, h2 { color: #2c3e5Hhemant-kumar0
JavaApr 131 min readJBang – Scripting with Java Like Never BeforeJBang – Scripting with Java Like Never Before body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: #fdfdfd; color: #333; line-height: 1.7; margin: 2rem auto; padding: 0 1.5Hhemant-kumar0
JavaApr 131 min readJBang vs JShell vs Kotlin ScriptingJBang vs JShell vs Kotlin Scripting body { font-family: 'Segoe UI', sans-serif; margin: 2rem auto; line-height: 1.7; color: #333; background: #fefefe; padding: 0 1.5rem; } h1, h2, h3 { color: #2c3e50;Hhemant-kumar0
JavaApr 131 min readJava Streams: map() vs flatMap()Java Streams: map() vs flatMap() body { font-family: Arial, sans-serif; line-height: 1.6; margin: 2rem auto; padding: 0 1rem; background-color: #f9f9f9; color: #333; } h1, h2 { color: #2c3e50; } pre {Hhemant-kumar0
JavaApr 131 min readJava 17 FeaturesJava 17 Features: A Complete Guide for Developers body { font-family: Arial, sans-serif; line-height: 1.6; margin: 2rem auto; padding: 0 1rem; background-color: #f9f9f9; color: #333; } h1, h2 { color:Hhemant-kumar0
JavaApr 131 min readUsing OpenAI API in Spring BootUsing OpenAI API in Spring Boot – Multi-Step Conversation body { font-family: 'Segoe UI', sans-serif; margin: 2rem auto; padding: 0 1.5rem; color: #2c3e50; line-height: 1.6; } h1, h2, h3 { color: #1a2Hhemant-kumar0
JavaApr 131 min readJava with AIJava with AI – How Java Developers Can Leverage Artificial Intelligence body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; margin: 2rem auto; padding: 0 1.5rem; color: #333; line-heiHhemant-kumar0
JavaApr 131 min readJava 8 Features: The Evolution of Modern JavaJava 8 Features: The Evolution of Modern Java body { font-family: Arial, sans-serif; line-height: 1.6; margin: 2rem auto; padding: 0 1rem; background-color: #f9f9f9; color: #333; } h1, h2 { color: #2cHhemant-kumar0
JavaApr 131 min readReactive Programming – with Project Reactor or RxJavaReactive Programming – with Project Reactor or RxJava body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; margin: 2rem auto; padding: 0 1.5rem; color: #333; line-height: 1.6; } h1, h2Hhemant-kumar0
JavaApr 131 min readJava 11 Features: What Every Developer Should KnowJava 11 Features: What Every Developer Should Know body { font-family: Arial, sans-serif; line-height: 1.6; margin: 2rem auto; padding: 0 1rem; background-color: #f9f9f9; color: #333; } h1, h2 { colorHhemant-kumar0
JavaApr 131 min readBuilding a Reactive REST API with Spring WebFlux and Project ReactorBuilding a Reactive REST API with Spring WebFlux and Project Reactor body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; margin: 2rem auto; padding: 0 1.5rem; color: #333; line-heightHhemant-kumar0
JavaApr 131 min readSpring Boot with AISpring Boot with AI – Bringing Intelligence to Your Backend body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; margin: 2rem auto; padding: 0 1.5rem; color: #333; line-height: 1.6; } Hhemant-kumar0
JavaApr 131 min readVirtual Threads (Project Loom)Virtual Threads (Project Loom) – Lightweight Concurrency in Java body { font-family: 'Segoe UI', sans-serif; margin: 2rem auto; padding: 0 1.5rem; color: #2d3748; } h1, h2 { color: #1a202c; } pre { baHhemant-kumar0
JavaApr 131 min readSentiment Analysis Using Hugging Face API in Spring BootSentiment Analysis Using Hugging Face API in Spring Boot body { font-family: 'Segoe UI', sans-serif; margin: 2rem auto; padding: 0 1.5rem; color: #2d3748; } h1, h2 { color: #1a202c; } pre { backgroundHhemant-kumar0
JavaApr 131 min readVoice & Chatbots – AI-Assisted Conversational AppsVoice & Chatbots – AI-Assisted Conversational Apps body { font-family: 'Segoe UI', sans-serif; margin: 2rem auto; padding: 0 1.5rem; color: #2d3748; } h1, h2 { color: #1a202c; } pre { background: #2d2Hhemant-kumar0
JavaApr 131 min readReal-Time Camera Input for Image RecognitionReal-Time Camera Input for Image Recognition body { font-family: 'Segoe UI', sans-serif; margin: 2rem auto; padding: 0 1.5rem; color: #2d3748; } h1, h2 { color: #1a202c; } pre { background: #2d2d2d; cHhemant-kumar0
JavaApr 131 min readImage Recognition with Deep Learning FrameworksImage Recognition with Deep Learning Frameworks body { font-family: 'Segoe UI', sans-serif; margin: 2rem auto; padding: 0 1.5rem; color: #2d3748; } h1, h2 { color: #1a202c; } pre { background: #2d2d2dHhemant-kumar0
JavaApr 131 min readTesting Lombok-based Classes in JavaTesting Lombok-based Classes in Java body { font-family: Arial, sans-serif; line-height: 1.6; margin: 2rem auto; padding: 0 1rem; background-color: #f9f9f9; color: #333; } h1, h2 { color: #2c3e50; } pHhemant-kumar0
JavaFeb 251 min readIndex MySQL datadase table in Solr.well { min-height: 20px; padding: 19px; margin-bottom: 20px; background-color: #f5f5f5; border: 1px solid #e3e3e3; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; -webkit-box-shadow: inset 0…Hhemant-kumar0
JavaJun 261 min readChange MYSQL Database Directory Path in Linux.well { min-height: 20px; padding: 19px; margin-bottom: 20px; background-color: #f5f5f5; border: 1px solid #e3e3e3; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; -webkit-box-shadow: inset 0…Hhemant-kumar0
JavaDec 71 min readDeep Copy.well { min-height: 20px; padding: 19px; margin-bottom: 20px; background-color: #f5f5f5; border: 1px solid #e3e3e3; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; -webkit-box-shadow: inset 0…Hhemant-kumar0
JavaDec 71 min readShallow Copy.well { min-height: 20px; padding: 19px; margin-bottom: 20px; background-color: #f5f5f5; border: 1px solid #e3e3e3; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; -webkit-box-shadow: inset 0…Hhemant-kumar0
JavaApr 81 min readMatch Rating Algorithm (Phonetic Match).well { min-height: 20px; padding: 19px; margin-bottom: 20px; background-color: #f5f5f5; border: 1px solid #e3e3e3; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; -webkit-box-shadow: inset 0…Hhemant-kumar0
JavaSep 71 min readSerializable.well { min-height: 20px; padding: 19px; margin-bottom: 20px; background-color: #f5f5f5; border: 1px solid #e3e3e3; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; -webkit-box-shadow: inset 0…Hhemant-kumar0
JavaSep 61 min readMarker Interface.well { min-height: 20px; padding: 19px; margin-bottom: 20px; background-color: #f5f5f5; border: 1px solid #e3e3e3; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; -webkit-box-shadow: inset 0…Hhemant-kumar0
JavaSep 61 min readCloneable.well { min-height: 20px; padding: 19px; margin-bottom: 20px; background-color: #f5f5f5; border: 1px solid #e3e3e3; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; -webkit-box-shadow: inset 0…Hhemant-kumar0
JavaSep 61 min readSingleton.well { min-height: 20px; padding: 19px; margin-bottom: 20px; background-color: #f5f5f5; border: 1px solid #e3e3e3; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; -webkit-box-shadow: inset 0…Hhemant-kumar0
JavaSep 51 min readHibernate Demo Annotation Example.well { min-height: 20px; padding: 19px; margin-bottom: 20px; background-color: #f5f5f5; border: 1px solid #e3e3e3; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; -webkit-box-shadow: inset 0…Hhemant-kumar0
JavaSep 51 min readHibernate Demo Example.well { min-height: 20px; padding: 19px; margin-bottom: 20px; background-color: #f5f5f5; border: 1px solid #e3e3e3; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; -webkit-box-shadow: inset 0…Hhemant-kumar0
JavaSep 51 min readShallow Copy vs Deep Copy.well { min-height: 20px; padding: 19px; margin-bottom: 20px; background-color: #f5f5f5; border: 1px solid #e3e3e3; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; -webkit-box-shadow: inset 0…Hhemant-kumar0
JavaSep 41 min readSerialization.well { min-height: 20px; padding: 19px; margin-bottom: 20px; background-color: #f5f5f5; border: 1px solid #e3e3e3; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; -webkit-box-shadow: inset 0…Hhemant-kumar0
JavaSep 41 min readComparable vs Comparator.well { min-height: 20px; padding: 19px; margin-bottom: 20px; background-color: #f5f5f5; border: 1px solid #e3e3e3; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; -webkit-box-shadow: inset 0…Hhemant-kumar0
JavaSep 21 min readHibernate Many to Many Annotation MappingRelationship Diagram Project Structure File Name Use Language.java Pojo class with mapping for Language. Person.java Pojo class with mapping for Person. hibernate.cfg.xml Hibernate Configuration File. Main.java It will…Hhemant-kumar0
JavaSep 21 min readHibernate Many to Many MappingRelationship Diagram Project Structure File Name Use Language.java Pojo class for Language. Person.java Pojo class for Person. Language.hbm.xml Mappings file for Language class. Person.hbm.xml Mappings file for Person…Hhemant-kumar0
JavaAug 221 min readFile Upload (Using Struts)Project Structure web.xml <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee"…Hhemant-kumar0
JavaAug 221 min readSpring AOP ExampleIt’s a simple implementation of Spring AOP. Project Contents: File Name Use service.xml Configuration File. ServiceClass Target Class on which we will apply AOP. AdviceClass Advisor class which will be applied on target…Hhemant-kumar0
JavaAug 221 min readMongoDB ShardingHere A, B and C are shards respectively running on port no 20000, 20001 and 20002. mongod --shardsvr --dbpath E:\Mongo\A --port 20000 mongod --shardsvr --dbpath E:\Mongo\B --port 20001 mongod --shardsvr --dbpath…Hhemant-kumar0
JavaAug 211 min readSecurity Algorithms (JAVA)Encryption: It is the process of transforming human readable plaintext to unreadable cipher text. RSA Encryption\Decryption package asymmetric; import java.io.BufferedReader; import java.io.File; import…Hhemant-kumar0
JavaAug 211 min readExcel Writer (JAVA)package writer; import java.io.File; import jxl.Workbook; import jxl.format.Alignment; import jxl.format.Colour; import jxl.format.UnderlineStyle; import jxl.write.Label; import jxl.write.WritableCellFormat; import…Hhemant-kumar0
JavaAug 211 min readExcel Reader (JAVA)package reader; import java.io.File; import java.io.IOException; import java.util.HashMap; import jxl.Sheet; import jxl.Workbook; import jxl.read.biff.BiffException; public class ExcelReader { public…Hhemant-kumar0
JavaAug 201 min readBootable USB for Windows 7Requirements: USB flash drive (4GB or above) & Windows 7 Setup. Step 1 : Plug-in your USB drive and open Command Prompt with administrator rights. Step 2: Now type followig commands: DISKPART LIST DISK SELECT DISK 1…Hhemant-kumar0
JavaJul 301 min readMongo DB ViewerFeatures of Mongo DB viewer: Tabular view of mongo db data. Text view of mongo db data. Tree view (Document view) of mongo db data. Refine option for filtering our search. Paging facility to limit no of records shown…Hhemant-kumar0
JavaJul 241 min readHibernate Sharding ExampleIt is a simple implementation of Hibernate Sharding in java. In this we are using two databases i.e. shard1 and shard2. All data related to "India" goes to shard1 where as others go to shard2. Project Contents: File…Hhemant-kumar0
JavaJul 231 min readImage Scaler...By Hemant KumarIt is a software for scaling of the images. Using this software images can be scaled up or down in terms of their width, height and quality. Download Link: http://www.4shared.com/file/7uL7ILHa/ImageScaler.html Retain…Hhemant-kumar0
JavaJul 231 min readCURD Operations in Mongo DBSyntax and exampless in Interactive shell with its equivalent code in java. Use Database In order to operate over a database we first have to connect to that database. Type : use <database name> Suppose we have to…Hhemant-kumar0
JavaJul 231 min readConnecting to Mongo DBStarting up Database Server (mongod.exe) Step 1: Download the “mongod.exe” binary. Step 2: Extract it. Step 3: Open Command prompt. Step 4: Traverse to the folder containing the “mongod.exe” binary. Step 5: Now type…Hhemant-kumar0
JavaJul 231 min readIntroduction to Mongo DBMongo DB is an open source document-oriented No SQL database system. No SQL Database System 1. It does not use SQL as its query language. 2. It may not give full ACID guarantees. RDBMS vs. Mongo RDBMS Mongo Table, View…Hhemant-kumar0
JavaJul 201 min readLarge Scale Deployment Scenario of MongoDBHere in this example we will use Mongo DB for large scale deployment scenario. In this example if the primary node of any shard will go down then it would be automatically replaced by its secondary node (now secondary…Hhemant-kumar0