Replacing web.xml with Java config
Post Servlet 3.0, web.xml has become redundant. It can now be replaced with pure Java...
Posted by
{"name"=>"Palash Ray", "email"=>"paawak@gmail.com", "url"=>"https://www.linkedin.com/in/palash-ray/"}
on April 07, 2016 ·
1 min read
Running Jetty 9 with Maven
Running Jetty through Maven is super simple. The only problem is lot of configurations were...
Posted by
{"name"=>"Palash Ray", "email"=>"paawak@gmail.com", "url"=>"https://www.linkedin.com/in/palash-ray/"}
on April 07, 2016 ·
1 min read
Running Jetty 9 with Ant
We have a simple web application written in Spring MVC. Today, we will demo how...
Posted by
{"name"=>"Palash Ray", "email"=>"paawak@gmail.com", "url"=>"https://www.linkedin.com/in/palash-ray/"}
on April 07, 2016 ·
1 min read
[jackson] Handle LocalDate for json
Post Java 8, LocalDate has become mainstream. Of course, Joda Time, from which LocalDate derives,...
Posted by
{"name"=>"Palash Ray", "email"=>"paawak@gmail.com", "url"=>"https://www.linkedin.com/in/palash-ray/"}
on January 23, 2016 ·
4 mins read
Using SwingWorker to update Swing Components asynchronously
I have a JList, the contents of which are updated asynchronously by a different thread....
Posted by
{"name"=>"Palash Ray", "email"=>"paawak@gmail.com", "url"=>"https://www.linkedin.com/in/palash-ray/"}
on January 03, 2016 ·
3 mins read
Data streaming with Jini
Lets take a simple example of how we can stream data from a Jini Server...
Posted by
{"name"=>"Palash Ray", "email"=>"paawak@gmail.com", "url"=>"https://www.linkedin.com/in/palash-ray/"}
on January 03, 2016 ·
5 mins read
Maven: Creating deployable distribution: Part 2: creating fat jar
In the Part 1 of this, we had seen how to use the appassembler plugin...
Posted by
{"name"=>"Palash Ray", "email"=>"paawak@gmail.com", "url"=>"https://www.linkedin.com/in/palash-ray/"}
on December 29, 2015 ·
1 min read
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