Hi Neal, I actually find it difficult at times to ascertain the level of reliance upon various frameworks and technologies, for example, when should one decide to use Velocity and not the JSP pages with JSTL. I tend to prefer a path where I try to use the most basic technologies and scale up as required, is that a good approach. I am currently developing an app using Struts (started with my own controller but moved to strust as that started to become complicated) and incorporated Tiles (after seeing their power and flexibility) - HTML and JSP views are being used and Java Beans backend. One of the questions, I am trying to address at the moment is whether to use Strust validation or Filters. Also had to question whether to use EJB, Velocity etc and do we really need them. I hope you can shed some light on this. Regards Faisal
The secret to creativity is knowing how to hide your sources.
One of the questions, I am trying to address at the moment is whether to use Strust validation or Filters. Also had to question whether to use EJB, Velocity etc and do we really need them.
Struts validation is very nice because you can use declarative validations to handle simple stuff on both the client and server, and more robust ActionForm validation for business rules. I highly recommend that you use Struts, not roll-your-own filters. As for Velocity and EJB, you probably don't need them, certainly not yet. Get comfortable with all that Struts has to offer, then branch out.