This Login application uses the so called "JavaBeans" and "DAOs" page to step by step implement the example, or download its source code from here. . user name is " + username); System.out.println("Your password is " + password); .