Hi friends,
i want to know whether it's a good practice to use a new bean file for each process or i can add a function in the existing bean. For example i put all my setters and getters and functions of login and logout in a single bean instead of two?And i call it from separate servlet file? Which one is a good practice?
i want to know whether it's a good practice to use a new bean file for each process or i can add a function in the existing bean. For example i put all my setters and getters and functions of login and logout in a single bean instead of two?And i call it from separate servlet file? Which one is a good practice?