Java Tutorials

How to make code Thread safe in JavaHow to make code Thread safe in Java
javarevisited.blogspot.com - Making code thread-safe in java is bit of challenge in Java, you need to be expert in multi-threading in order to write correct concurrent code in java. finding and fixing race conditions in java are very costly and result is some very frustrating subtle
Java » Best Practices 4 views
how to check if file is hidden in Javahow to check if file is hidden in Java
javarevisited.blogspot.com - Java tutorial to find out if any file is hidden or not. while writing file system code its easy to become platform dependent, in order to avoid that use File API from JDK. it provides isHidden() method to check if file is hidden in java.
Java » File Management 4 views
What is Assertion in Java with ExampleWhat is Assertion in Java with Example
javarevisited.blogspot.com - Java tutorial on what is assertion in java and why should you use assertion to improve code quality. Also Assertion in java is fairly underused feature but if used carefully can complement both Unit Testing and Exception handling. Since Assertion sits on
Java » Basics 7 views
How to improve performance of Java database applicationsHow to improve performance of Java database applications
javarevisited.blogspot.com - Java tutorial of quick practical tips to improve performance of Java application which has database in back end. database is main source of slowness and by minimizing database calls, improving query performance by introducing indexes, using preparedStatem
Java » Performance 5 views
How to find memory usage inside JVMHow to find memory usage inside JVM
javarevisited.blogspot.com - Java tutorial on how to find memory usage in java with example. step by step guide to get free memory, max memory and total memory from JVM by using various utility method provided in Runtime class. accuracy of those method are also discussed in order to
Java » Basics 7 views
10 best practices to follow while logging in Java10 best practices to follow while logging in Java
javarevisited.blogspot.com - This article is about how to do logging in Java, how to use log4j and some practical logging tips in Java. this is more a collection of experience, best practices and provides a developers view on java logging. Its critical to use correct logging level,
Java » Best Practices 5 views
20 Points of Synchronization in Java20 Points of Synchronization in Java
javarevisited.blogspot.com - Comprehensive Synchronization tutorial in Java. synchronized keyword is used to provide mutual exclusion and visibility guarantee in mufti-threaded environment. In order to use synchronized keyword properly you need to remember which object your code is l
Java » Basics 5 views
Difference between ConcurrentHashMap and Hashtable in JavaDifference between ConcurrentHashMap and Hashtable in Java
javarevisited.blogspot.com - ConcurrentHashMap is indeed best choice in case of multithreaded environment if numbers of reader is much greater than number of writer to avoid contention and to increase throughput and performance but deciding between SynchronizedHashMap and ConcurrentH
Java » Best Practices 7 views
How to use blocking method in JavaHow to use blocking method in Java
javarevisited.blogspot.com - Java API has several blocking methods in IO, Swing and Threading which can hung the program if not used properly. its quick guide on blocking method in java.
Java » Basics 12 views
Why wait and notify method is in Object ClassWhy wait and notify method is in Object Class
javarevisited.blogspot.com - Its bee a classic Java interview questions from long time "Why wait and notify methods are in Object Class in Java" here are few reasons which make sense.
Java » Basics 11 views
How to compare Dates in Java with 3 ExamplesHow to compare Dates in Java with 3 Examples
javarevisited.blogspot.com - Java provides multiple ways to compare two Dates in Java. here we will see 3 simple example to convert two dates in Java and find out whether one date is before, after or in between two dates.
Java » Basics 12 views
Difference between Class, member and local variable in JavaDifference between Class, member and local variable in Java
javarevisited.blogspot.com - Java provides different kinds of variable e.g. Class variable or Static variable, Instance variable or non static variable, Local variable. In this article we will see some difference between Class variable also called static variable and Instance variabl
Java » Basics 12 views
how to reverse string in using recursion in Javahow to reverse string in using recursion in Java
javarevisited.blogspot.com - This is also a very popular java interview questions mostly asked as how to reverse string in Java without using Stringbuffer reverse but There are many different ways to solve this problem using recursion and in this article we discuss one of those way t
Java » Basics 12 views
Writing Heroku Addons in JavaWriting Heroku Addons in Java
jeroennouws.x10.mx - An introduction tutorial in how to write your first Heroku addon in Java
Java » OS-Specific 17 views
Building a Custom Fancy ListView in AndroidBuilding a Custom Fancy ListView in Android
androidresearch.wordpress.com - In this tutorial we will walk through the process of building a custom ListView with alternate background colors and an image icon set to every row.
Java » Basics 22 views
 1 2 3 4 5 ...»   (7 pages)
View 1 to 15 of 96 | First | Previous | Next | Last





Site Meter