-
1. Re: Migration Seam 2.3.1 / JBoss 7.1.1 -> WildFly 8 / Weld / DeltaSpike / ... Practicable, at this time?
boky8 Mar 10, 2014 9:00 AM (in response to flopsi)1 of 1 people found this helpfulHi Florian,
I have tried to go down that path and I can tell you that the road is long and painful. I did have a bit of a head start (using Seam 3.0 -> Deltaspike) but still haven't been able to resolve all the issues.
The documentation for DeltaSpike is lacking and what is there is usually outdated. Your best bet is to join the guys on IRC and try to get the feedback directly from the developers. What I have learned so far:
- some things have moved to DeltaSpike, so updating usually just means changing class names
- some things have been renamed, so you will need to fix your code (e.g. getUser() is now getAgent())
- some things have moved to PicketLink (authorization part of the Seam), be prepared to include it in your code and learn it
- some things have gone to CDI
- for some things there are no good replacements and you will need to code your own (I think that Seam Mail falls under this category)
I'd be happy to help you out with anything I have learned when you come across concrete problems. I think the community will be grateful if you do post your findings to this tread.
Cheers,
Bojan
-
2. Re: Migration Seam 2.3.1 / JBoss 7.1.1 -> WildFly 8 / Weld / DeltaSpike / ... Practicable, at this time?
flopsi Mar 10, 2014 2:50 PM (in response to boky8)Hey Bojan,
first thanks for the fast answer... I think i will create a branch and give it a try, maybe next month...
Having read the (indeed rare) DeltaSpike documentation it seems to me that i don't really have to worry about In-/Outjection, Scheduling, Internationalization, JPA/Hibernate and Validation, but maybe about Scopes, Drools, Mail and PDF. Although I think PDF and XHTML Mail processing can be handled relatively independent and therefore won't be THAT kind of a problem. But the deeper integration of conversations (especially nested long-running) and rule-based security into Seam lets me at least think about Scopes behaviour and Drools usage...
I'll keep you up to date if i really should try it and i really appreciate your offer to help!
Thanks a lot, best regards
Flo
-
3. Re: Migration Seam 2.3.1 / JBoss 7.1.1 -> WildFly 8 / Weld / DeltaSpike / ... Practicable, at this time?
manarh Mar 11, 2014 8:07 AM (in response to flopsi)Florian,
I would add something to your list of needed working parts:
- Quartz - try to replace it by standard TimerService features from Java EE 6 http://docs.oracle.com/javaee/6/api/javax/ejb/TimerService.html
- CDI Mail was transfered into Seam3 modules long ago - seam/mail · GitHub
The only module/integration which could need more work in comparison to Seam 2 is PDF/XLS/reporting part.
-
4. Re: Migration Seam 2.3.1 / JBoss 7.1.1 -> WildFly 8 / Weld / DeltaSpike / ... Practicable, at this time?
manarh Mar 11, 2014 8:10 AM (in response to manarh)Btw some scenarios for migrations could be seen at JBoss Developer pages - Migrating to Java EE 6