Created
June 10, 2023 09:50
-
-
Save techisbeautiful/6361dbfe0498c6d462254448ad9f7a58 to your computer and use it in GitHub Desktop.
MVC Architecture
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ManagedBean | |
@RequestScoped | |
public class Bean { | |
private String username; | |
private String password; | |
// Getters and setters | |
public String login() { | |
// Business logic for login | |
return "success"; // Navigation outcome | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment