[seam-dev] what's your vision of an ideal migration guide?
Dan Allen
dan.j.allen at gmail.com
Thu Feb 24 19:29:24 EST 2011
I'll seed the discussion by posting requirements sent to me by Hamzah
Zineddin <hamza_zz at yahoo.com>
For the migration, below are some areas of concern that would be great to
have some answers for. Ideally, it would be great if there is a tool that
would read a Seam 2 project folder and list the changes that should be made.
1. What should be changed from view layer (in my case Richfaces)?
Currently xhtml files use Seam 2 schema. We have some quite complicated
components and pages and make heavy usage of Ajax. JSF 2 adds a lot of
functionality for Ajax and it'll be good to know which UI components should
be updated/changed.
2. How to migrate navigation and pages.xml to Seam 3 and CDI to work with
JSF 2 properly? What about page parameters migration if any.
3. URL rewrite migration.
4. How to migrate bean and deployment configuration from Seam 2 to CDI
and Seam 3. For example, components.xml and other config files like
hibernate or persistence.
5. How to migrate tests:
1. UI tests with SeamTest. I noticed there is not a good way of doing
UI tests in Seam 3 unless I'm missing something.
2. Integration tests that use an in-memory db. I know Arquillian in
Seam 3 would take of this.
6. How to migrate from Seam 2 specific areas to Seam 3. For example, in
my project we use email templates heavily from Seam 2.
7. Localization and internationalization migration. For example, what
happens to message bundles and StatusMessages from Seam 2.
8. Security migration, I use authenticate-method and did not find its
equivalent in Seam 3. Seam 3 Beta release is missing security documentation.
9. How to migrate the integration with open ID from Seam 2 to work in
Seam 3 and CDI. Open Id support in Seam 2 was lacking and did not support
important features like attribute exchange. People had to write custom code
and it'll be good to know how to migrate custom code to Seam 3 and CDI.
10. How to migrate components that deal with external services. For
example, my project integrates with Facebook using Facebook java API which
depends on Servlet (not java script API). What would be the
migrationplan? It would be even better if Seam 3 would offer a way to
integrate with
common services like Facebook.
11. How to migrate outjected objects. CDI uses @Produces annotation but
having few concrete examples part of migration guide would make
developer's lives much easier.
12. How to migrate conversational and transactional components? Again,
having few concrete examples would great to accomplish this.
--
Dan Allen
Principal Software Engineer, Red Hat | Author of Seam in Action
Registered Linux User #231597
http://www.google.com/profiles/dan.j.allen#about
http://mojavelinux.com
http://mojavelinux.com/seaminaction
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/seam-dev/attachments/20110224/d6a5a85d/attachment.html
More information about the seam-dev
mailing list