Powered by Blogger.

Java - Synchronized block and method in detail

>> Saturday, September 20, 2014

Java is a multi-threaded programming language. So in every program multiple threads run in parallel to complete the program execution.At this point of time the results may differ or order of execution will change. To prevent the inaccuracy or inconsistency of data results, Java has provided 'synchronized' keyword to implement in 'synchronized block' and 'synchronized method'. The synchronized object won't allow two threads to access at the same time. So that one thread can't be reading while another updates it.The Second Thread should wait until the first is done.
Synchronized keyword in Java_JavabynataraJ

Read more..

Spring AOP & MVC notes by Mr.Sekhar sir

>> Sunday, September 14, 2014

Spring AOP and MVC notes(material) by Mr.SomaSekhar Reddy sir from NareshiTechnologies, Ameerpeta, Hyderabad.AOP(Aspect Oriented Programming) and MVC(Model View Controller) are come on top of the Spring Core module. Mr.Sekhar sir has explained all the topics in AOP including with annotations and diagrams.Also he has given in detail notes on MVC and XML. Go through the other modules Spring ORM notes and IOC and DAO notes by Sekhar sir.These will give you more knowledge on Spring framework.
Spring AOP and MVC notes Download_JavabynataraJ

Read more..

java.util.HashMap in detail with a program

>> Friday, September 12, 2014

HashMap is a class from java.util package and extends AbstractMap, implements Map,Cloneable and Serializable interfaces. HashMap contains Key,Value parameters we can denote it as HashMap<Key,Value> or HashMap<k,v>.Map allows only one null key and many null values and all the methods in HashMap are not synchronized. HashMap is an unordered collection , means the keys and values will not maintain insertion order.
An instance of HashMap has two parameters that affect its performance: initial capacity and load factor.
Let us know the terminology used in HashMap.

Read more..

program to read/find emails from the given text file

>> Sunday, September 7, 2014

Today morning i need to collect some emails of java guys from the java fourms or websites. So i started copying emails in this page by slecting the email and copying using Ctrl+C, i have done 20 emails copied. Then i lose my patience to copy. Immediately i got an idea, why can't i write a program to read all the emails from the page. Then i copied all the text from the page and pasted in a text file named as emails.txt. Now the java program came in to the picture and we should use java.io package to write or read file operations. In addition i am taking java.util.HashSet and java.util.regex packages to start our program. Here we are reading a text file containing emails with text and writing into another text file this is called deserialization and serialization.
find emails from the given text file_JavabynataraJ

Read more..

Download Spring ORM notes by Sekhar sir

>> Friday, September 5, 2014

Spring ORM module notes by Mr.Somasekhar Reddy from Naresh i Technologies,Opposite to Satyam Theatre, Ameerpeta,Hyderabad.Sekhar sir is very good faculty for Spring and Advanced java. His way of teaching is clear to understand the topics. Currently he is working with Sathya Technologies in Hyderabad. Spring IOC & DAO notes and XML classes notes are also given by Mr.Sekhar.I have to collect other Spring materials and class notes given by Sekhar sir. Once i will collect remaining spring AOP and MVC modules notes i will post here.

Read more..

Download Thinking in Java 4th Edition by Bruce Eckel

>> Saturday, August 23, 2014

Thinking in java is writtern by +Bruce Eckel and this book got Jolt Award winner. He also gives frequent lectures and seminars for Java programming and Reinventing Business.This is one of the best Java book to practice with interlligetn examples.Fourth edition of this book will cover java 5 concepts as well. But for reading this book in paperback is very comfortable to note the points whlie thinking.You can find this in flipkart if you are interested. Bruce Eckel is also author fo Using C++, C++ Inside & Out,Blackbelt C++,Thinking in C++: Introduction to Standard C++ and Thinking in C++, Vol. 2: Practical Programming, 2nd Edition.
Download Thinking in Java 4th Edition by Bruce Eckel_JavabynataraJ

Read more..

About Author

My Photo
Muralidhar Nayani
Hi this is Muralidhar, i am living in Chennai. I have been working in Java and JEE technologies. I like to share the java programs and materials from different institutes and free eBooks to download.
View my complete profile

Random Posts

© javabynataraj.blogspot.com from 2009 - 2014. All rights reserved.