Hi,
I'm starting with Seam and I'm having some doubts about designing my classes.
I wanna put a User entity in session and get it in a managed bean.
@Name("user") @Scope(SESSION) public class User{} @Name("bean") public class Bean{ @In private User user; }
Using this way I'll make my model dependent of the control.
Can you imagine a better way to design this?
Using this way I'll make my model dependent of the control.
More like the other way around right?
I see no problem doing that.
You basically create a Component called user using User.class, that's all.