Actually no, Forge-generated apps are designed to be plain Java EE 6 applications, with no dependencies at all besides the Java EE apis. Seam examples depends on Seam modules, which may lead to less code.and better componentization.
I would advise you to have a look on the tutorials provided by JBoss Developer Framework (http://jboss.org/jdf) to gain some experience.
The magic behind Forge lies not on the code generated itself, but on what it can do (you can write plugins very easily). Forge's extensibility is the key for productivity.
Now I do remember a local saying after your post, "you need to eat 40 bakeries's bread to make a good bread".
But, who wants to write more code and less ( bad, complex... ? ) componentization ? Writing plugins and extensibility are not my interests for now, so I'll stick with seam and have fun, no nightmares at all For the moment at least. I'm gonna dig more about EE 6, CDI... thx for the heads up.
<me zip="Forge codes" clean="Eclipse_ws" mode="relax" id="Jack Daniels"/>
Well, it certainly wasn't our choice to make Forge spit out plain Java EE code, but Seam 3 wasn't ready yet (and has been cancelled in favor of Apache DeltaSpike,) and our "power at be" didn't know if we were going to continue supporting Seam 2, which is why Forge generates the code you see now.
It actually uses Metawidget behind ithe scenes. There is certainly a lot of work to be done on the Scaffold in Forge, but it's not what we really like to focus right now due to the amount of code generation required to make plain applications.
What we have is the simplest set of features and the smallest amount of code the we could come up with, without using any 3rd party libraries whatsoever. Just a plain application that should run on any EE appserver And you can generate it from your database objects, so... if you want more than that, you can add in extra libraries yourself. That is what other Forge plugins are for, like adding RichFaces, etc. But more plugins are coming down the pipe for technology integration, so there will be a lot more coming.
In short - We'd love to hear your ideas for what you'd like to see.
I liked the way seam-gen had its automatic login. I did fork the jboss-as-quickstarts and changed some to use a security domain that uses LDAP and form based login. https://github.com/brieweb/jboss-as-quickstart/tree/master/servlet-security . The readme.md still needs to be updated. Part of this depends upon the security domain being created in JBoss though.