Pretty print XML with Java
I have the following XML document all, in a single line: 3SUPERVISORRamu42SUPERVISORShyam45SUPERVISORRadhe38SUPERVISORJesse44SUPERVISORTECHNICIANSadhu22TECHNICIANYadav25TECHNICIANChris28TECHNICIANBill34TECHNICIANMANAGERSachin35MANAGERHamid32MANAGERNaresh34MANAGERManna36MANAGER All I need...
Posted by
{"name"=>"Palash Ray", "email"=>"paawak@gmail.com", "url"=>"https://www.linkedin.com/in/palash-ray/"}
on December 28, 2015 ·
1 min read
[Jackson] Json to Java Conversion with Ploymorphism
Converting Json String to Java Object is never straight forward, especially when polymorphism is involved....
Posted by
{"name"=>"Palash Ray", "email"=>"paawak@gmail.com", "url"=>"https://www.linkedin.com/in/palash-ray/"}
on December 27, 2015 ·
4 mins read
[Sorting] IllegalArgumentException in TimSort
Sometimes, simple things like sorting are not simple. We were doing a sorting on a...
Posted by
{"name"=>"Palash Ray", "email"=>"paawak@gmail.com", "url"=>"https://www.linkedin.com/in/palash-ray/"}
on December 27, 2015 ·
4 mins read
Example of WebSocket/STOMP using Java
WebSockets enable 2-way, duplex communication between client and server. All major browsers and all major...
Posted by
{"name"=>"Palash Ray", "email"=>"paawak@gmail.com", "url"=>"https://www.linkedin.com/in/palash-ray/"}
on October 20, 2015 ·
7 mins read
Maven appassembler plugin: How to deal with path too long issue in Windows
Windows sucks! We all know that. Recently, I had one more reason to crib. I...
Posted by
{"name"=>"Palash Ray", "email"=>"paawak@gmail.com", "url"=>"https://www.linkedin.com/in/palash-ray/"}
on September 09, 2015 ·
2 mins read
Demystifying JINI: Dynamic Code Download
In the 1st part of the Demystifying JINI series, we had explored how to write...
Posted by
{"name"=>"Palash Ray", "email"=>"paawak@gmail.com", "url"=>"https://www.linkedin.com/in/palash-ray/"}
on January 19, 2015 ·
9 mins read
Using Jaxb To Serialize Java-Objects To Xml
Recently, I had a requirement of serializing some Java objects to xml. Though I had...
Posted by
{"name"=>"Palash Ray", "email"=>"paawak@gmail.com", "url"=>"https://www.linkedin.com/in/palash-ray/"}
on January 11, 2015 ·
11 mins read
Using JXTreeTable to display grouped data
Let me start by ranting about Swing. Its a lame duck. It could never really...
Posted by
{"name"=>"Palash Ray", "email"=>"paawak@gmail.com", "url"=>"https://www.linkedin.com/in/palash-ray/"}
on December 25, 2014 ·
4 mins read
Using JDK 8 features to group data in a list
Use Case Sorting has always been supported by Java. Recently, I came across a requirement...
Posted by
{"name"=>"Palash Ray", "email"=>"paawak@gmail.com", "url"=>"https://www.linkedin.com/in/palash-ray/"}
on December 25, 2014 ·
4 mins read
Maven: Creating deployable distribution: Part 1: Using the Appassembler plugin
Context Often, we have a standalone Java application, from which we want to create a...
Posted by
{"name"=>"Palash Ray", "email"=>"paawak@gmail.com", "url"=>"https://www.linkedin.com/in/palash-ray/"}
on August 12, 2014 ·
2 mins read