Powered by Blogger.

Static Import in Java with an Example

>> Thursday, December 25, 2014

What is Static Import:
Static Import is a feature added in Java 1.5(released in Sep 30 2004 almost 10 years back!) along with Var-args,Auto-Boxing and Auto-Unboxing, Generics, Enhanced for-loop,Enums,Scanner Class and Annotations. Using this Static Import feature we can import static members of a class and as well we can access all non-private static members without using class name from other classes.

Core Java notes by Mr.Ratan from Durgasoft

>> Monday, December 1, 2014

Mr. Ratan is a faculty for Core Java from Durga Software Solutions. He covers all the topics in core java including AWT,Swings. He will give training for OCJP exam preparation tips in the Core Java class. This will be useful to write exam without preparing dumps. Mr.Ratan will explain the classes in slow manner to understand easily for beginners. You can watch a demo class of Mr.Ratan.
Core Java notes by Ratan_JavabynataraJ

Different type of Vararg rules in Java

>> Tuesday, November 25, 2014

While writing methods using variable arguments(var-args), we may confuse in different scenarios like where to put var-args in the parameters and how to place different type of arguments.Here we have given some rules with scenarios to understand easily. This will help you in the SCJP examination and as well, java interviews for freshers and experienced guys.
varargs rules JavabynataraJ

OCJP and Core Java class notes by RamiReddy sir

>> Monday, November 17, 2014

RamiReddy sir is a Oracle Certified Professional and OCJP(SCJP) trainer. He is a good faculty in java for the beginners. He gives more example programs on core java to understand core java in depth.Before going to the Class notes he has given some interview tips and how to improve communication skills with real time java interview questions. His java class will start with basics and anyone can understand easily.
SCJP and Core Java notes by RamiReddy sir_JavabynataraJ

Variable argument or varargs in Java

>> Thursday, November 6, 2014

The full form of var-args is variable length arguments and this one of the java 1.5 features.Also we have some important autoboxing, generics,for-each loop, static imports and some more. This feature is introduced to solve the problem in defining methods for taking '0' to 'n' number of arguments. These arguments should be of same types.  So, by using this feature we no need to define multiple overloaded methods for executing same logic with different no.of.values of same type.
java var-args explanation_JavabynataraJ

Download jQuery in Action Second Edition PDF by BEAR BIBEAULT and YEHUDA KATZ

>> Friday, October 31, 2014

jQuery: Do more with less.
Stated plainly and simply, that is the purpose of this book: to help you learn how to do more on your web application pages with less script. Your authors, one an avid and enthusiastic user, and the other a jQuery contributor and evangelist, believe that jQuery is the best library available today to help you do just that. Head First jQuery will guide you from very basic to learn for beginners. I will suggest you that book  if you are a beginner.
jQuery in Action SecondEdition_JavabynataraJ

EMC'S SAN(Storage Area Network) Training Classes

>> Sunday, October 19, 2014

Course Overview:
Storage Area Network(SAN) Technology training is to provide a great career  for the students in SAN and Data Storage domain. Professionals who undergo this intensive SAN training course would do extremely well in SAN certification exams and for professional career.This training starts with data storage, its importance and explosive growth of data and various topics such as DAS, NAS and SAN which were evolved to support the exponential growth in data.
Storage Area Network Course Training_JavabynataraJ

Program to Convert Decimal to Octal,Hexa and Binary values

>> Saturday, October 18, 2014

Binary, Hexa and Octal are the number formats to use in different mathematical calculations. In our real life we use numbers with decimals. It may be integer value or float value both are called as decimals. Let us know the number format examples given below:
Decimal format : A representation of a real number using the base ten and decimal notation.
program to convert decimal to octa-hexa-binary_JavabynataraJ

Hibernate notes by Sekhar sir from Naresh i Technologies

>> Thursday, October 9, 2014

Hibernate notes (material) by Mr.Sekhar sir is given in PDF file format to download. I have given many pdf materials of Sekhar sir like Spring , WebServices, and XML notes. He covered all the topics in Spring with different modules. Currently Sekhar sir is working with Sathya Technologies. In this Hibernate class notes he covered all the Hibernate interview Questions and differences between load and get methods and about lazy loading. I am sure that you can easily understand the hibernate class notes.
Hibernate notes by Mr.Sekhar -JavabynataraJ

Web Services notes by Mr Sekhar from Naresh i Tecnologies

>> Wednesday, September 24, 2014

Web Services class notes by Sekhar sir from Naresh i Technologes. Sekhar sir's full name is SomaSekharReddy. He is a one of the best trainers in the Hyderabad ameerpet institutes. Also he had trained many students on XML technologies, and taken classes on all the modules of Spring and given good notes on Spring modules. Most of the topics covered on AOP &MVC, IOC and DAO, ORM modules. Present in the Web Services he covered messages exchanging patterns,Web Service Definition Language(WSDL),Java API for XML-Based Rmote Procedure Calls (JAX-RPC),Java API for RESTful Web Services(JAX-RS) and Apache AXIS.
Web Services notes by Sekhar sir_JavabynataraJ

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

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

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.

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

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.

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

4 Ways to Reverse an Array in Java

>> Wednesday, August 20, 2014

Explain 'different ways to reverse an array' is one of the famous java interview questions. Using an array in programming is common with primitive types like e.g. int, long, double and String arrays to perform some operations. But to understand quickly we are using integer array with numbers to reverse. Actually we should know different types of arrays and how to iterate them. The basic programs on adding two matrices and multiplication of matrices is important .
four ways to reverse an array in java_JavabynataraJ

Spring IOC & DAO notes by Sekhar sir

>> Friday, August 15, 2014

Spring IOC and DAO modules full notes by Mr.SomaSekhar Reddy from Naresh i Technologies, Opposite to Satyam Theatre,Ameerpeta, Hyderabad.Students used to call him as Sekhar sir and he is a java certified professional. He trained many students on Hibernate framework,XML,Webservices,Spring ORM,AOP,IOC and DAO modules and advanced java too.Now he is working with Sathya Technologies Hyderabad. You can also download XML class notes by Sekhar sir which will help you to learn quickly.
Spring IOC and DAO notes by Mr.Sekhar_JavabynataraJ
Topics covered under this material:

matrix multiplication using arrays in java

>> Tuesday, August 12, 2014

Matrix Multiplication using arrays is very basic practice to learn for beginners to understand the concept of multidimensional matrix.Before to this you can check different types of arrays in java and get to know how to declare and define the arrays and also get practice with adding two matrices. Let me explain the matrix multiplication to understand in mathematical way and then we do the programmatically in java. Here we have some rules to follow for matrix multiplication.
matrix multiplication using arrays in java_JavabynataraJ
 Principles to follow matrix multiplication:

XML notes by Mr.Sekhar from Hyderabad

>> Saturday, August 2, 2014

Mr.Sekhar Reddy sir explained in his own way the XML topics and also covered with little webservices part at the end of the classes.He has covered all the topics in XML with examples. This material is taken when he was working with Naresh i Technologies,Ameerpeta,Hyderabad. Now he is working with Sathya Technologies, Hyderabad. Currently he is taking classes on WebServices and Advanced Java classes in Sathya Technologies.
XML notes by Sekhar sir_JavabynataraJ

Different types of Arrays in Java

>> Sunday, July 27, 2014

What is  an Array: Array is a data structure which can store collection of elements with same data type.

Why to use Array: In Real time, if you want to store different marks of a student, you no need to declare all the variables to store the marks like, marks1,marks2,marks3,..e.t.c based on their subjects count. But Instead of declaring n variables simply you can declaring an array to store all these values of same datatype.
Types of Arrays in Java_JavabynataraJ

Advanced Java-(JEE) Notes by KVR sir pdf Download

>> Wednesday, July 23, 2014

Advanced Java (JEE) notes is given by Mr.K.Venkateswara Rao sir from Sathya Technologies, Ameerpeta, Hyderabad. All the students call him as KVR simply. He has given core java notes is well explained by him. His clean explanation can anyone can understand easily. The way of explanation is unique from others in the Ameerpeta even when compare to Durga sir. I did not find any information about KVR to publish here.If you guys find any info please leave a message as comment below.
Advanced Java(JEE) notes by KVR sir Download_JavabynataraJ

Guidelines to be followed by a Java Developer

>> Saturday, July 19, 2014

Every java developer has to follow some standards to develop a good quality-software. In the Coding standards Oracle(Sun) has given some set of rules in java  and the developers must follow.Standards lead to consistency and help software engineers avoid common problems. A development environment that uses Java standards has the following advantages:
Guidelines to be followed by a Java Developer_JavabynataraJ
  1. Developers can view any Java software and quickly figure out what is going on.
  2. Developers new to Java are spared the need to develop a personal style.
  3. Developers make fewer mistakes in consistent environments.
  4. Discussions about the appropriateness of a language feature are reduced at code reviews.

DurgaSoft OCJP(SCJP) Notes Part-II Download

>> Wednesday, July 16, 2014

DurgaSoft is a software training and development company. Mr. Durga is one of the trainer for OCJP Certification course for the students who are interested to write the exam. Before going to download the second part of this material you can download the first part of OCJP part-I notes. He covered almost all the core java and exam topics in this class notes. No other faculty or trainee in the Hyderabad can't beat Durga sir in explaining the core concepts and giving in the exam questions. 

Durgasoft OCJP Notes Part-II_JavabynataraJ

DurgaSoft SCJP Notes Part-I Download

>> Thursday, July 10, 2014

Mr.Durga is a famous faculty in Hyderabad. He teaches the core java for the beginners and also will give the training for the OCJP(SCJP) exam. The way of explaining core java any one can understand clearly. If you see the java videos from YouTube he explains each line three times to understand the trainee and to make them write notes. This PDF material Part-I contains all the basic concepts up to Type Casting.
The Introduction part covers the below topics.
DurgaSoft SCJP Notes by Durga Sir_JavabynataraJ

Head First Design Patterns eBook Download

>> Saturday, June 28, 2014

Normally Computer Science Academic text books are written in highfalutin language. But there is nothing wrong in that to have that type of languge. Here O'Reilly's Head First series breaks the textbook mold with verve.The most successful Head First effort, introducing the point of design patterns, the families of design patterns, and a selection of specific patterns with ease and elegance. 
Head First Design Patterns Download_JavabynataraJ

Head First Design Patterns is a great way to get a good overview (and some meat) about design patterns.

How to Iterate or Traverse a Map in Java

>> Sunday, June 22, 2014

Iterating a Map is not like a List Iteration. Map is having key-value pair to store the elements. Based on key,we can retrieve mapped value.To Iterate or loop a map we have 3 ways using with the help of Map.Entry, keySet() and entrySet()methods.
How to Iterate or Traverse a Map_Javabynataraj
Explanation about Map.Entry,keySet() and entrySet()

Head First HTML5 Programming eBook Download

>> Saturday, June 14, 2014

You want to create web pages that are dynamic, interactive, data-rich,connected. Wait, web pages? Why not use HTML5 to create full-blown web applications? And, why not do it using modern techniques that apply as easily to your desktop browser as they do to mobile devices? And, of-course, you want to do it with all the newest HTML5 technologies, like Geo location, video, 2D drawing, web storage, web workers and more.
Head First HTML5 Programming eBook Download_JavabynataraJ

myeclipse not responding while opening jsp page

>> Friday, June 6, 2014

While working on MyEclipse, when you try to open jsp page in default MyEclipse Visual Jsp Designer it won't respond quickly or will crash sometimes. To avoid this problem we have two solutions.. follow the steps below given.
myeclipse not responding while opening jsp page_JavabynataraJ
Solution #1:
Open your MyEclipse, then go to Window menu then select Preferences

Head First JavaScript eBook Download

>> Saturday, May 24, 2014

Who ever want to become a web developer and the designer, those should go through the JavaScript. This will provide you good knowledge on web pages.
Head First JavaScript eBook Download_JavabynataraJ
you learn from the Head First JavaScript:
  • The basics of programming, from variables to types to looping
  • How the web browser runs your code, and how you can talk to the browser with your code

Why public static void main(String args[])

>> Thursday, May 1, 2014

In most of the java interviews either for freshers or experience guys frequently facing this question. This will be easy when you have full idea about access specifiers and modifiers in java. Lets discuss about our mantra
public static void main(String args[]).
why public static void main in java_JavabynataraJ
What is the Importance of the public static void main(String args[ ])
Whether a class contains main( ) or not and whether the main( ) is declared based on  requirement, these all are things are won't be checked by compiler,these things are checked by JVM at Runtime.

Maven The Definitive Guide pdf Download

>> Wednesday, April 23, 2014

What is Maven? Maven is a “build tool”, used to build deployable artifacts from source code.I think you may got an idea about Ant. Ant also a build tool then What is the difference?
Maven The Definitive Guide Download_JavabynataraJ
The difference is ..A build tool such as Ant is focused solely on preprocessing, compilation, packaging, testing, and distribution. A project management tool such as Maven provides a superset of features found in a build tool. In addition to providing build capabilities, Maven can also run reports, generate a web site, and facilitate communication among members of a working team.

Download Struts Hand Book by Santosh Kumar K

>> Saturday, March 29, 2014

In this book you will learn an open source web-application framework from Apache group for simplifying the web application framework from apache group for simplifying the web application development.
Download Struts Hand Book by SantoshKumarK_JavabynataraJ
Mr. Santosh Kumar K is having great teaching experience with Santosh Technologies. This book was released when he is working in his own Company Santosh Technologies. He has written a book on Spirng and Hibernate technologies as well.The Book contains the below index on Struts Framework.

Spring and Hibernate by Santosh from Santosh Technologies

>> Monday, March 17, 2014

Santosh Kumar K has been associated with training and development on java and its related Technologies since 2001.
Spring and Hibernate by Santosh_JavabynataraJ

He has conducted training programs for the Corporate Sector involved in enterprise application developments on the J2EE technologies and other frameworks like Struts,JSF,Spring and Hibernate. His seminars and workshops are well known for their high quality content backed by his unique style of delivery.

Core Java notes by KVR from Sathya Technologies

>> Sunday, February 9, 2014

MR K.Venkateswara Rao (KVR) is a famous core java faculty from Sathya Technologies, Ameerpeta, Hyderabad. Mr.KVR is having more followers and good name in students. You can watch this video, how the class room will be.
Core Java Notes by KVR from SathyaTechnologies_JavabynataraJ
Actually i didn't find any of the KVR sir image to post here. If you find any image or link to the KVR please leave a comment below. So that i can update with latest information. This PDF file(Core Java Notes) contains all the topics given below.

How to change Context-root of an application in MyEclipse

>> Sunday, January 19, 2014

Before going to develop a web application, make sure all the settings and properties of MyEclipse, java and tomcat settings. If you have any doubts while Configuring java in MyEclipse or Installing and configuring Tomcat in your local machine or Configure the Tomcat in your MyEclipse to develop your web application take a look at my previous posts.

How to change Context-root of an application_JavabynataraJ
Normally we work on the same project most of the time with the same application name(context-root). When ever we take a new workspace in our local machines we may confuse while deploying the application in Tomcat or any other server. Other wise we have to remove the old deployed project and deploy the latest project. To overcome this problem, we can change the Context-root of our application. So that we can deploy the same web application with different names.

When to use ensureCapacity method in java

>> Sunday, January 5, 2014

In java Colleciton framework ArrayList and Vector classes contains ensureCapacity(int minCapacity) method to reduce or manage the amount of incremental memory allocation.
When to use ensureCapacity method in java_javabynataraj
Each ArrayList instance has a capacity. The capacity is the size of the array used to store the elements in the list. It is always at least as large as the list size. As elements are added to an ArrayList, its capacity grows automatically.

An application can increase the capacity of an ArrayList instance before adding a large number of elements using the ensureCapacity operation. This may reduce the amount of incremental reallocation.

Related Posts Plugin for WordPress, Blogger...
© javabynataraj.blogspot.com from 2009 - 2014. All rights reserved.