Monday, February 4, 2013

Valentine Greetings -Part1













Address Proof for Applying Passport at PSK

The easiest and the best way of submitting an application form for the Passport is through Passport Seva Kendra (aka PSK) with the help of a simple internet application (developed by Tata Consultancy Services aka TCS) by just registering a user account http://www.passportindia.gov.in website, filling an application form online (without any errors), booking a suitable / available time slot (sharp at evening 6 PM) and finally visiting the nearest Passport Seva Kendra. You will actually have a choice of selecting the nearest PSK at the time of booking your time slot for an in person application submission process for documents verification and next steps. 

However, I found a very few (but very important) hindrances faced by few applicants at the Begumpet PSK and thought of helping all my friends and followers to avoid wasting their precious time by sharing some important tips / information / suggestions.

As per the government circular, the invalid and valid address proof document(s) are:
1) Voter ID Card is not acceptable as valid address proof document (unless all the details mentioned in the card are true and correct and also if it is issued at least one year before the date of passport application) as valid address proof.
2) Ration cards are not acceptable as address proofs.
3) Water Bills, Electricity Bills, Telephone Bills, Gas Connection Documents are valid address proofs (provided the name of the applicant should match with the name on these bills/documents, also applicant should have these bills from the past one year, at the same address without any change in it). 

But the best valid address proof document(s) are:
1) Updated Bank Passbook from last one year (for Nationalized Bank account holders) / Bank Statement for the last one year, along with a covering letter (if the applicant is having an account with a Private Scheduled bank such as Axis, ICICI etc.,). Where the covering letter should contain the correct name and address details (of course even in the statement) including the date since the applicant is holding the account with their bank. The letter should not contain any word called "risk" but bank authorities may use the word "for the purpose of passport" in it.

Note:We can change account details with the help of the bank authorities in a span of just about 15 to 20 Minutes. We need to produce PAN CARD or voter card or Aadhar card as proof of name change and also wrote a small letter requesting for a covering letter along with the Statement of Account (apart from submitting a request for Account Statement form for the last one year), mentioning the purpose as "for applying passport".

2) If your spouse is already having a valid passport then by enclosing your marriage certificate, you can use it as a valid address proof.

3) Minors can use their Parent's Passport Copy as a proof of address.

Copy Elements from one ArrayList to Another ArrayList

Here is the Program to copy the values from one ArrayList to another ArrayList.

?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package collect;
  
import java.util.ArrayList;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
  
  
public class ListClas {
 public static void main(String[] args) {
  
  List <STRING>l1=new ArrayList<STRING>(); 
    
  l1.add("hi");
  l1.add("brother");
    
  ArrayList<STRING> al=new ArrayList<STRING>(); 
  al.add("hello");  
  al.add("guru");   
    
  Collections.copy(al,l1);   
  Iterator i= al.iterator();  
    
  while(i.hasNext()){ 
   i.hasNext();  
   System.out.print(" "+i.next()); 
   //System.out.println(al);  
  }   
 }  
}

This is the procedure to copying the objects from one list to another.

How to Copy properties from one Bean OtherBean

As we know the Bean class containing the variables with setters and getters methods. We can access through the getXxx and setXxx methods by different properties. To copy the properties form one bean to another they should have same datatypes.

To Run our program the requirements are:

As per shown in the below image you can create the files in Eclipse.



Person.java


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package blog.sbollam;
public class Person {
  
 private String name;
    private int age;
      
 public String getName() {
  return name;
 }
 public void setName(String name) {
  this.name = name;
 }
 public int getAge() {
  return age;
 }
 public void setAge(int age) {
  this.age = age;
 }
}
CopyPerson.java


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package blog.sbollam;
public class CopyPerson {
  
 private String name;
    private int age;
      
 public String getName() {
  return name;
 }
 public void setName(String name) {
  this.name = name;
 }
 public int getAge() {
  return age;
 }
 public void setAge(int age) {
  this.age = age;
 }
  
}

The TestCopyProperties class will let us test copying properties from one bean to another. First, it creates a person object(fromBean) and a copyPerson(toBean) object. It outputs these objects to the console. Then, it call the BeanUtils.copyProperties() method with toBean as the first parameter and fromBean as the second parameter. Notice that the object that is copied to is the first parameter and the object that is copied from is the second parameter.

In the below program we are copying the properties from person object to copyPerson object using BeanUtils.copyProperties(targer,source) method.

TestCopyProperties.java

?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
package blog.sbollam;
import org.apache.commons.beanutils.BeanUtils;
  
public class TestCopyProperties {
   
 public static void main(String[] args) throws Exception{
    
  Person person = new Person();
  person.setName("Ramu");
  person.setAge(24);
    
  CopyPerson copyPerson = new CopyPerson();
  copyPerson.setName("Krishna");
  copyPerson.setAge(22);
    
  System.out.println("----Before copying the properties----");
  System.out.println("--Person Proerpties--");
  System.out.println(person.getName());
  System.out.println(person.getAge());
  System.out.println("--copyPerson Proerpties--");
  System.out.println(copyPerson.getName());
  System.out.println(copyPerson.getAge());
    
  //BeanUtils.copyProperties(destination,source);
  BeanUtils.copyProperties(copyPerson,person);
    
  System.out.println("----Person to CopyPerson----");
  //the Person bean properties copied to CopyProperties bean
  System.out.println(copyPerson.getName());
  System.out.println(copyPerson.getAge());
 }
}

Output:

Friday, February 1, 2013

SBI Recruitment-2013

SBI PO Recruitment 2013 for 1500 Probationary officer vacancies.Apply online from 30-01-2013.This is the current and the latest notification from the state bank of India.
There are totally 1500 SBI PO Jobs 2013 available for various communities in India, these reservations splits as per the government order .Eligible Indian citizens may apply online at www.sbi.co.in.Get more information on SBI PO Recruitment 2013 notification,syllabus 2013 pdf, Challan form download 2013 and SBI PO online application form 2013.

Who are eligible for SBI PO Recruitment 2013?

Any graduation degree from the affiliated or recognized by the Indian government is should  need to apply for these posts.This SBI PO eligibility measures in terms of age and education qualifications.
Candidates age must not more than 30 years.

How to Apply for SBI PO Recruitment 2013?

Log on to www.sbi.co.in >Recruitment>SBI PO Recruitment 2013>Apply online,follow this structure after visiting the state bank of India official website.

The last date for applying online is 23-02-2013.

Important dates for SBI PO Recruitment 2013?

SBI PO online registration starts from:30-01-2013
Last date for sbi po online registration:23-02-2013
SBI PO Exam date: 28-04-2013
How to download SBI PO Recruitment 2013/Notification in PDF ?
http://sbi-recruitment.com/wp-content/uploads/2013/01/SBI-PO-Recruitment-2013-Advertisement.pdf or simply you log on to www.sbi.co.in ,then recruitment.This is the official SBI PO Notification 2013 available to download in PDF

Monday, December 31, 2012

Valentine Quotes

I love now.tomorrow and tody,
and if God give me the time...
i'll love you till end of my life...