[PJUG Javamail] Spring versus Seam
Douglas Bullard
dbullard at nurflugel.com
Mon Oct 19 20:49:46 EDT 2009
One of the drawbacks with letting Seam do that is that you completely
eliminate the concept of layering. What happens when you want to
switch from direct database access to using a service? You no longer
have a nice, neat data access layer you can switch out - your whole
application needs to be tweaked.
Doug
On Oct 17, 2009, at 14:23, Vijay Balakrishnan wrote:
> I have looked at Seam and it is definitely a very elegant, tightly
> integrated solution for a stateful web app trying to access a
> hibernate or JPA based app on JDK5. Seam also takes care of the back
> button issue like Spring MVC. It also integrates ICEFaces and
> RichFaces in and also has jBPM support with Drools(I think). Seam
> takes care of the LazyInitialization issue that happens commonly
> with Spring apps talking to Hibernate(source of a long email chain
> on PJUG recently). That is 1 of the main reason Gavin King, the
> Hibernate guy went for the jugular in his dispute with Spring which
> is a stateless framework. Seam also plays well with Spring framework
> if you insist on it.Spring is trying to get back at Seam with Spring
> Roo but it is still in beta and a newly started project.
>
> Seam fixes a lot of the issues with JSF1.2 and handles all the
> scenarios you have mentioned below.
> "Seam In Action" is a great starter book.
>
> If you have a backend database schema you can point to, seam-gen Ant
> task will generate all the CRUD code all the way to a working Web UI
> using JSF and Facelets(it uses HibernateTools for the reverse
> engineering and Hibernate templates to generate the UI/View layer).
>
> Vijay
>
> On Sat, Oct 17, 2009 at 9:23 AM, Bruce Kaufman <bjan11 at gmail.com>
> wrote:
> I am looking to refactoring my web application (currently RichFaces)
> to use either Spring or Seam. I am looking for a more elegant
> solution for "stateful" situations and the "browser back" key.
>
> Has anyone recently evaluated them and have any comments?
>
> Thanks,
> Bruce Kaufman
> www.WoodsWithNoBorders.com
>
>
>
> _______________________________________________
> Web Site - http://www.pjug.org/
> Javamail mailing list
> Javamail at pjug.org
> http://www.pjug.org/mailman/listinfo/javamail
>
>
> _______________________________________________
> Web Site - http://www.pjug.org/
> Javamail mailing list
> Javamail at pjug.org
> http://www.pjug.org/mailman/listinfo/javamail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pjug.org/pipermail/javamail/attachments/20091019/fee18bbf/attachment.html
More information about the Javamail
mailing list