Posts

Showing posts from December, 2016

Components of SOAP web service

Main components of SOAP web service UDDI ·         It stands for   Universal Description, Discovery and Integration ·         It is a directory service which is kind of   repository   of all the web services. ·         All the web services have to be registered with the   UDDI   and make them available for the discovery. ·         So anyone who wants to use the service will go and search the UDDI and then start using that service. Web service description language (WSDL) ·         It’s an   XML file   which describes the complete web service. ·         It includes the details like end point, port number, method names, arguments, data types, communication protocol, message format, security etc. ·         This is a standard provided by   W3C   consortium and widely accepted for web services description. ·         The   WSDL   file has to be published publicly so that it helps the consumers to understand the service and consume it. WSDL contains below elements

Use of Array Class's method toString() and deepToString() in Java

Image
You cannot print array elements directly in Java, you need to use  Arrays.toString()  or  Arrays.deepToString()  to print array elements. Use  toString()  if you want to print one-dimensional array and use  deepToString()  method if you want to print two-dimensional array. These methods are  overloaded , much like  System.out.println()  method to accept all primitive types, which means a different method is called if you pass boolean array, and a different one is called when you  print integer array . Same is true with  deepToString() , which is used to  print two dimensional array in Java . In this Java array tutorial, we will see examples of printing  string array , integer array, byte array and a two dimensional array in Java. Rest of them are like that, which means by following these examples, you should be able to print  boolean ,  char ,  short ,  float ,  double  and  long  array by your own. Program: import java.util.Arrays; /* * * Java Program to print arrays in

Hadoop Introduction

Image
Hadoop Hadoop is the popular open source implementation of MapReduce, a powerful tool designed for deep analysis and transformation of very large data sets. Hadoop enables you to explore complex data, using custom analyses tailored to your information and questions. Hadoop is the system that allows unstructured data to be distributed across hundreds or thousands of machines forming shared nothing clusters, and the execution of Map/Reduce routines to run on the data in that cluster. Hadoop has its own filesystem which replicates data to multiple nodes to ensure if one node holding data goes down, there are at least 2 other nodes from which to retrieve that piece of information. This protects the data availability from node failure, something which is critical when there are many nodes in a cluster (aka RAID at a server level). Hadoop has its origins in Apache Nutch, an open source web searchengine, itself a part of the Lucene project. Building a web search engine from scra

Big Data Introduction

Big Data Big data is a broad term for data sets so large or complex that traditional data processing applications are inadequate. Challenges include analysis, capture, data creation, search, sharing, storage, transfer, visualization, and information privacy. The term often refers simply to the use of predictive analytics or other certain advanced methods to extract value from data, and seldom to a particular size of data set. Accuracy in big data may lead to more confident decision making. And better decisions can mean greater operational efficiency, cost reductions and reduced risk. Analysis of data sets can find new correlations, to "spot business trends, prevent diseases, combat crime and so on." Scientists, practitioners of media and advertising and governments alike regularly meet difficulties with large data sets in areas including Internet search, finance and business informatics. Scientists encounter limitations in e-Science work, including meteorology,

OOP & Its Concept

Learning about Class, Object, Component, Encapsulation, Inheritance, Polymorphism & Object Creation and Instantiation all about Object Oriented Programming Concept. Class A class is a one kind of template, skeleton or we can say blueprint for creating an object. Object An Object is an entity that has Properties for identifying its State, Methods for Behavior and Events for depicting the Change of State. Data associated at any given instance of time is the state of an object. Every object will different from other objects either by state or behavior. Object has a lifetime – It’s created, used and destroyed. Object Oriented Application It’s a collection of related objects, communicating with each other, exchanging messages with each other in a controlled environment as per the rules of the business. Component A ready to use third party object can be called as a Component. It can be replaced without any changes in the application. A component is

What are JDK, JRE and JVM?

Image
JDK, JRE and JVM JDK, JRE and JVM   are most commonly heard in the   Java programming language . Many people get confused with these 3 terms or they think that they are one and the same, unfortunately they are not synonyms, and each one has got its own responsibility. What is JVM? 1.       It stands for   Java Virtual Machine 2.       JVM   is responsible for converting   byte code   into   machine specific code   because of which we have   different JVM   for   different Operating system , like different JVM for Windows, Linux or Solaris. 3.       But all the   JVMs   understand the   byte code   given to it no matter from which machine the byte code got created. This makes   Java platform independent . 4.       The   Java Virtual machine   (JVM) is the virtual machine that runs the Java bytecodes. The JVM doesn't understand Java source code, that's why you compile your   *.java   files to obtain   *.class files that contain the bytecodes understa