Hi

I am new to java. This is just for learning purpose.

I want to create business logic for login ( example get user from datebase using getUser(int userId) method and of object class User.

How to do it? please explain.