Hello,

i am currently programming a jsf application and i found out that i have 2 different things in every package

.beans (jsf beans)
.action(jsf action)

Now how should i structure my packages.
I think really have to decide between beans and actions, i put them all together in one package in beginning, it gets messed up fast.

What approach do u think is better, i have problem choosing one.

(view on the application modules) - redundant jsf component names
1)
com.mycompany.frontend.jsf..member
com.mycompany.frontend.jsf.member.action
com.mycompany.frontend.jsf..member.bean

or

(view on the jsf components) -redundant module names
2)
com.mycompany.frontend.jsf..member
com.mycompany.frontend.jsf.action.member
com.mycompany.frontend.jsf.bean.member

Reply via email to