Quantcast
Channel: Techie Stuffs - Blogs on technology
Browsing latest articles
Browse All 28 View Live

Sorting an XML Document

Sorting an XML based on a date field. I came across a need to sort an XML based on the date field.I have my code in Java, I could have done the sorting in the Java code via a collection sort...

View Article



Java Interview Questions

 Few of questions that can ask from you at Interview... 1. What is the most important feature of Java? Java is a platform independent language. 2. What do you mean by platform independence? Platform...

View Article

Notes 1 - Object Oriented Programming (OOPL)

Quick notes on OOPL in JavaOOP- Directly represents real time objectsPIE (Polymorphism, Inheritance, Encapsulation) - are the 3 pillars of OOPLPolymorphism It is the capability of an action or method...

View Article

Aggregation Vs Composition

Just for people who got the same question in their Java interview.. I  got this question from many people during interview.. I don't ask the same to any one in an interview though, I wanted to share...

View Article

Endorsed Standards Override Mechanism

An endorsed standard is a Java API  defined through a standard process other than the Java Community Process (JCP). Because endorsed standards are defined outside the JCP, it is anticipated that such...

View Article


Microsoft Baseline Security Analyzer

MBSA is pretty good free tool from Microsoft which helps to determine the security state of windows machines. I was just playing around with MBSA 2.0 today and thought would share with you guys......

View Article

JDBC driver types

Here are some good notes on the JDBC Drivers, I found some where!JDBC driver types A JDBC driver is needed for a Java application to communicate with a database using JDBC. JDBC drivers are categorized...

View Article

AutoCloseable - try with resources block

Java 7 introduces a new feature to close any resources which is open and missed to close int the code. If a file is opened and we don't really need to worry about closing that any more. The...

View Article


Subversion revision number and build time with Maven

I had this requirement to add the latest build revision from Subversion and the build time to the manifest of the war created using Maven.As I am new to Maven like any other developer I googled for a...

View Article


AD vs LDAP vs ADAM

Most of my projects use Active Directory (AD) for storing and retrieving the user authentication information. We interchangeably uses AD and LDAP etc for the same. This caused confusion for some people...

View Article

SOAP Quick Tutorial

SOAP (Simple Object Access Protocol) What is SOAP?  SOAP is a simple XML based protocol used to exchange information between applications. SOAP is a communication protocol, W3C recommended and it...

View Article

Image may be NSFW.
Clik here to view.

XML Schema document parsing using XSOM

XSOM stands for XML Schema Object Model and is a java library used to parse XSD's and retrieve the information inside. To get started down load the xom.jar and add to your classpath or use the below...

View Article

Memcached Stats Explained

Memcached Stats can be collected using "stats" command in a Linux machine. telnet "localhost"/host name  11211(or the port used)  then type stats.Name Type Meaning ----------------------------------...

View Article


Production Issues

Database Connection Maxed This is one of the common issues I have seen in production systems.  Most of the major issues I have seen started with DB connections maxing out.Maxing out( using all the...

View Article

Image may be NSFW.
Clik here to view.

Cloud Computing Overview

Over the past few years, Cloud computing technology drawn the attention of IT world and is the changing the focus of enterprises. Like Steve Jobs said “some people think the cloud is just the hard...

View Article


MongoDB - A quick tutorial

MongoDB is a scalable, high-performance, open source, schema-free, document-oriented database and is one of the interesting non-relational databases available today.It is written in C++ and supported...

View Article

WSDL2JAVA tool(Axis)

WSDL2Java is a command line tool for generating server-side implementation skeletons in addition to client side proxies. Steps :- 1. Download Axis  2. Run wsdl2java as below...

View Article


Software Design Principles

Software Design Principles I was reading another blog and looked good to me. Just for a reference I am copy pasting that here!Keep It Simple Stupid (KISS) The main goal here is keep things simple....

View Article

Socket accept failed java.net.SocketException: Too many open files

(JIoEndpoint.java:364) - Socket accept failed java.net.SocketException: Too many open filesWe have come across this error recently in production and I am just sharing the issue we faced here. From the...

View Article

Image may be NSFW.
Clik here to view.

Useful Tools/Technologies

These are list of useful technologies, each of them are linked to the source pages.JSONP : "JSON with padding" is a complement to the base JSON data format. It provides a method to request data from a...

View Article

Comparison of RabbitMQ, ActiveMQ, and ZeroMQ Message Brokers

Just got this good comparison from dzone. Added here for my reference :)RabbitMQ is one of the leading implementation of the AMQP protocol (along with Apache Qpid). Therefore, it implements a broker...

View Article


JDK 7 Features

Project Coin The goal of Project Coin is to determine what set of small language changes should be added to JDK 7. That list is: Strings in switch Binary integral literals and underscores in numeric...

View Article


RabbitMQ - Setting up a local cluster

1. Make sure the ERLAND and RabbitMQ version is same on all nodes.2. Copy over the erlang.cookie from one of the node to to all the nodes. The erlang.cookie must be same across all nodes.In windows you...

View Article

Central Authentication Service (CAS) - A quick tutorial

The Central Authentication Service (CAS) is a single-sign-on / single-sign-off protocol for the web. It permits a user to access multiple applications while providing their credentials (such as userid...

View Article

Coding Interview - Check for Pangram

A Pangram ("every letter") or holoalphabetic sentence for a given alphabet is a sentence using every letter of the alphabet at least once.down vote import java.io.; import java.util.; public class...

View Article

Browsing latest articles
Browse All 28 View Live




Latest Images