Archive

Author Archive

Installing Darwin Streaming Server on Linux

March 2nd, 2010 Hitesh Agrawal No comments

Video Streaming has gained lot of popularity these days and there are very few Open Source Streaming server available that can give Audio/Video Streaming. Once such streaming server is Apple based Darwin Streaming Server. The advantage that Darwin gives you it can stream 3gp files that is one of widely video format used that to over RTSP protocol. In this article we will learn how to install Darwin Streaming Server on linux.
Read more…

Categories: Linux Tags:

Check Unread Emails using Java

January 20th, 2010 Hitesh Agrawal 2 comments

Sometimes we only want to check new emails received, we commonly see this functionality in email client where in we open the email client in morning and we see few emails in black bold text denoting new emails received. In this articles we will learn on how we can identify new emails received in our mailbox using java.
Read more…

Categories: Java Tags:

Check Image Resolution in Java

November 26th, 2009 Hitesh Agrawal No comments

At first we might tempted to use any 3rd party software for checking image resolution using JAVA. But JAVA has already provided an set of APIs that allows Image Manipulations. This APIs is called Java Advanced Imaging also called JAI. In this article we will learn how we can check the image resolution using Java Advanced Imaging APIs.
Read more…

Categories: Java Tags:

Prototype Design Pattern in Java

October 21st, 2009 Hitesh Agrawal No comments

As the same suggest prototype means some form of cloning and in this design pattern we will understand how we can achieve cloning of an java object. Normally we create an object using “new” operator but with new operator we are creating the whole new object from scratch and so all the necessary operation performed while creating that object will be processed again. To ensure that we don’t want to perform that expensive task again we create an clone of that object. There are 2 types of cloning “Shallow Copy” and “Deep Copy”.
Read more…

Categories: Java Tags:

BackUp and Restore Mysql Database

October 7th, 2009 Hitesh Agrawal 4 comments

In this article we will learn on how we can perform following operations using MySQL.
* Backup Database using MySQL
* Backup specific tables using MySQL
* Backup Multiple Database using MySQL
* Backup Database Structure using MySQL
* Restoring Backup using MySQL
Read more…

Categories: Mysql Tags:

Column count doesn’t match value count in MySql

October 6th, 2009 Hitesh Agrawal No comments

When we try to insert/update data that exceeds column length, the default behavior should be to truncate the value and insert/update the column; though this was there in MySQL 4 by default but strangely in MySQL 5.x this feature is disabled by default. In this article will highlight how we can resolve this problem.
Read more…

Categories: Mysql Tags: