In poking around with various JSF tutorials/articles, I have seen a
number of different directory layouts used to contain the backing beans,
controllers, etc. Is there a 'best practices' consensus for a layout?

I have seen the controllers separated from the backing beans with each
in its own directory (i.e. for bean 'foo', there is a fooBean.java in
directory model, and a fooController.java in directory controller) and
backing beans and controllers together under a bean directory. (i.e. in
directory foo, there will be fooBean.java and fooController.java). I
have also seen everything smooshed together but I am not a fan of this
approach.

Ideas/Suggestions? Did I miss any documentation already discussing this?

Thanks!
-david-



Reply via email to