Tag: jdbc

  • Implementing Login functionality in JDBC using MVC Architecture

    In this post we will see the practical approach of implementing Login facility using MVC pattern. Model Class [pastacode lang=”java” manual=”package%20com.javaforlearn%3B%0A%0Apublic%20class%20Student_info%20%0A%7B%0A%0A%09String%20username%3B%0A%09String%20password%3B%0A%09%0A%09public%20String%20getUsername()%20%0A%09%7B%0A%09%09return%20username%3B%0A%09%7D%0A%09%0A%09public%20void%20setUsername(String%20username)%20%0A%09%7B%0A%09%09this.username%20%3D%20username%3B%0A%09%7D%0A%09%0A%09public%20String%20getPassword()%20%0A%09%7B%0A%09%09return%20password%3B%0A%09%7D%0A%09%0A%09public%20void%20setPassword(String%20password)%0A%09%7B%0A%09%09this.password%20%3D%20password%3B%0A%09%7D%0A%7D” message=”” highlight=”” provider=”manual”/] DAO (data access object) class [pastacode… Continue reading "Implementing Login functionality in JDBC using MVC Architecture"