Sample connector class in here and a Card JavaBean