Profile

Scrapbook photo 1
Scrapbook photo 2
Scrapbook photo 3
Scrapbook photo 4
Javin Paul
Lived in Mumbai
56,523,206 views
AboutPostsPhotosYouTube

Stream

Javin Paul

Core Java  - 
 
 
How to format JSON String in Java - Example Tutorial
You can format JSON String in Java using Jackson API's pretty print feature. As you might have noticed in the my previous JSON tutorials that the output of the programs is not properly formatted, which makes them hard to read, especially in large log files ...
View original post
1
Add a comment...

Javin Paul

Java Core  - 
 
 
Top 10 Java Multithreading and Concurrency Best Practices
Writing concurrent code is hard and and testing correctness with concurrency is even harder. Though Java programming language provides lots of synchronization and concurrency support from language to API level, it's eventually comes to individual's diligent...
Writing concurrent code is hard and and testing correctness with concurrency is even harder. Though Java programming language provides lots of synchronization and concurrency support from language to API level, it's eventually comes to individual's diligent and expertise to write bug free Java ...
View original post
1
Add a comment...

Javin Paul

Java SE  - 
 
 
What is difference between synchronized and lock interface in Java?
Prior to Java 1.5, synchronized and volatile keyword were only way to coordinate access to shared variable, but Java 5 provides another alternative in terms of ReentrantLock. ReentrantLock offers features, which synchronized keyword lacks and which are essential to building non blocking algorithm, such as trying for lock without getting blocked, trying for lock interruptibly and trying lock with timeout. Though ReentrantLock offer same ordering and visibility guarantee, it comes with a danger, programmer need to take care of acquisition and release of lock, which if not difficult but can lead to subtle bugs if programmer forget to release lock in finally block.
http://javarevisited.blogspot.com/2013/03/reentrantlock-example-in-java-synchronized-difference-vs-lock.html
#Java   #Programming  
View original post
1
1
Reji M Mohan's profile photo
Add a comment...

Javin Paul

Shared publicly  - 
 
In this tutorial, you will learn the right way to convert byte array to String in Java. It's easy but many developer make mistake of ignoring character encoding while converting bytes to text data and not paying attention on platform's default character encoding. #Java   #Programming  
1
Add a comment...

Javin Paul

Shared publicly  - 
 
 
What is difference between synchronized and lock interface in Java?
Prior to Java 1.5, synchronized and volatile keyword were only way to coordinate access to shared variable, but Java 5 provides another alternative in terms of ReentrantLock. ReentrantLock offers features, which synchronized keyword lacks and which are essential to building non blocking algorithm, such as trying for lock without getting blocked, trying for lock interruptibly and trying lock with timeout. Though ReentrantLock offer same ordering and visibility guarantee, it comes with a danger, programmer need to take care of acquisition and release of lock, which if not difficult but can lead to subtle bugs if programmer forget to release lock in finally block.
http://javarevisited.blogspot.com/2013/03/reentrantlock-example-in-java-synchronized-difference-vs-lock.html
#Java   #Programming  
View original post
1
Add a comment...

Javin Paul

How-To/Tutorials  - 
 
 
How to parse HTML files in Java using Jsoup?
JSoup is an excellent Open Source Java Library which allows you to parse and modify HTML document right from your Java application. It's robust and able to handle bot good and bad HTML, something which you can validate or which will fail validation. In this tutorial, we will learn how to parse HTML files in from three different source.
http://javarevisited.blogspot.sg/2014/09/how-to-parse-html-file-in-java-jsoup-example.html #Java   #Jsoup  
2 comments on original post
1
Add a comment...

Javin Paul

Shared publicly  - 
 
In this Java JSON tutorial you will learn how to format JSON String by using Jackson's pretty print feature. When you just print JSON text from Java program it will output in one line, but if you use pretty print function, you will see JSON String nicely formatted in multiple line. 
#Java   #JSON  
1
Add a comment...
 
 
Top 10 Java Multithreading and Concurrency Best Practices
Writing concurrent code is hard and and testing correctness with concurrency is even harder. Though Java programming language provides lots of synchronization and concurrency support from language to API level, it's eventually comes to individual's diligent...
Writing concurrent code is hard and and testing correctness with concurrency is even harder. Though Java programming language provides lots of synchronization and concurrency support from language to API level, it's eventually comes to individual's diligent and expertise to write bug free Java ...
View original post
1
Add a comment...

Javin Paul

Core Java  - 
 
 
How to Convert Byte array to String in Java with Example
There are multiple ways to convert a byte array to String in Java but most straight forward way is to use the String constructor which accepts a byte array i.e. new String(byte []) , but key thing to remember is character encoding. Since bytes are binary da...
View original post
1
Add a comment...
 
 
Top 10 Java Multithreading and Concurrency Best Practices
Writing concurrent code is hard and and testing correctness with concurrency is even harder. Though Java programming language provides lots of synchronization and concurrency support from language to API level, it's eventually comes to individual's diligent...
Writing concurrent code is hard and and testing correctness with concurrency is even harder. Though Java programming language provides lots of synchronization and concurrency support from language to API level, it's eventually comes to individual's diligent and expertise to write bug free Java ...
View original post
1
Add a comment...
 
 
How to use Thread pool in Java?
Thread pool was introduced in Java API in JDK 1.5 by introducing Executor Framework. This is very rich framework and supports different kinds of thread pools e.g. single thread pool, fixed thread pool and cached thread pool, which adjust number of thread depending upon load and suitable for Java application with large number of small tasks. This article gives nice little overview of thread pool and executor framework in Java. 
http://javarevisited.blogspot.sg/2013/07/how-to-create-thread-pools-in-java-executors-framework-example-tutorial.html
#Java   #Multithreading  
View original post
1
Add a comment...

Javin Paul

Shared publicly  - 
 
Writing concurrent code is not easy but following these best practices can help you to avoid common mistakes made by Java programmers. Spread the word, let every Senior Java developers know about these multi-threading best practices. #Java   #Multithreading  
Writing concurrent code is hard and and testing correctness with concurrency is even harder. Though Java programming language provides lots of synchronization and concurrency support from language to API level, it's eventually comes to individual's diligent and expertise to write bug free Java ...
1
Add a comment...
People
Work
Occupation
Software Architect
Skills
Java, Programming, Linux, SQL, Spring, FIX Prtocol, Tibco Rendezvous, Oracle, JMS, J2EE, XML, XSLT, UNIX
Basic Information
Gender
Male
Looking for
Friends, Dating, A relationship, Networking
Story
Tagline
Hi, I am Javin Paul, I have been working in Java, Unix, MySQL, FIX Tutorial and TIbco RV messaging technology .
Introduction
Hi, I am Javin Paul. I have been working in Java, FIX Tutorial and TIbco RV messaging technology from past 7 years. I am interested in writing and meeting people, reading and learning about new subjects and I have my own website Java, Unix , MySQL, TIBCO RV and FIX Protocol Tutorial   and Savingfunda: Saving and Investment Tips that takes up most of my time and is a labour of love for me. If you have a page I should visit then please let me know
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Previously
Mumbai
Contact Information
Work
Email