We use Seam 2.1.1.GA on Glassfish 2.1. No problem at all. I have not tested Seam 2.2.0 on Glassfish. Check out iovector.com
We use Seam 2.2.0 on Glasfish (war deployments).
After we get the correct set of jars it works(immigrationprocess.ca), except of problem with the logging (i can't manage to have control of all the different logging packages... probably didn't spend enough time with it).
I totally agree with you.
Seamgen and Glassfish do not work
Out of the Boxas advertised.
My experience with
SeamGenand Glassfish is if you like a heaping helping of PAIN then go for it. It's just not ready for prime-time.
It make you wonder if the folks at JBoss really want Seam/SeamGen working with a competing product like GlassFish? If you look at the evidence on these board and elsewhere I say they do not. And then there is the question of compliance with agreed upon standards. Glassfish is the
JEE Reference Implimentationapplication server and yet.
In all of the documentation, examples and more there is not one clearly illustrated step-by-step instruction of making a
SeamGennedproject work Glassfish V2.1 and then deploying and then running it.
If you generate a WAR project and try to deploy to GFv2.1 it fails.
If you generate a EAR project and do all of the post modifications according to the Read-Me file and try to deploy to GFv2.1 it fails.
Seamgen simply does not work as advertised.
Even the Seam
Booking exampledoes not work as advertised. Deploying it to GFv2.1 fails.
What does work is the JPA example, but this is not a
SeamGennedproject. I am thinking of using this example and comparing it to the SeamGenned project to see what is different but the project structures are different!
It is also not clear which versions are
supposedto work. Is is Seam 2.1.2, 2.2.0 with GFv2.1
Also are there pre-conditions before running SeamGen like log4j and other requirements?
I also think the examples should use MySQl (Oracle, etc) and not Derby as this would be more likely to be in a production environment, not to mention it would make the Seam people to fully test it before claiming it works.
Maybe I do not have all the facts but I have read
Seam - Contextual Componentschapters 41 and MORE ( a lot more!!!) and even these instruction are out of sync with the read-me.txt generated by SeamGen!
Be warned, This is a nightmare...
We have been using seam , glassfish , mysql for 2 years now and there was absolutely no pain.We use seam-gen in more than 95% of the code and it works very nicely.