-
1. Re: Seam calling other ejbs
gavin.king Sep 27, 2006 11:28 AM (in response to bizimalem)@Name is not the only way to make something a Seam component - you can alternatively use components.xml.
In fact, I have more and more been leaning away from putting @Entity annotations directly on entity beans, and leaning towards using stuff like the manager component pattern for associating entities with context variables. (eg. the new CRUD framework in CVS uses this approach.) -
2. Re: Seam calling other ejbs
cja987 Sep 27, 2006 2:01 PM (in response to bizimalem)Is the crud framework the same thing as the seam app generator in the eclipse hibernate tools?
-
3. Re: Seam calling other ejbs
gavin.king Sep 27, 2006 2:41 PM (in response to bizimalem)No. But the Hibernate tools templates will be updated to use the new framework.
-
4. Re: Seam calling other ejbs
cja987 Sep 27, 2006 7:27 PM (in response to bizimalem)Where in cvs might I find the crud framework? Fisheye shows an examples/crud in seam cvs, but it has no files under it. I have a CRUD-heavy app right now that could definitely use all the help it could get.
-
5. Re: Seam calling other ejbs
gavin.king Sep 27, 2006 8:57 PM (in response to bizimalem)Ugh. Thats 'cos I've been accidently committing my new example to another pre-existing directory. (I hate CVS sometimes!)
I've now re-added it as an example in a directory called "contactlist".
Note that this stuff is still VERY rough, but feedback is appreciated. -
6. Re: Seam calling other ejbs
chane Sep 27, 2006 11:48 PM (in response to bizimalem)"gavin.king@jboss.com" wrote:
In fact, I have more and more been leaning away from putting @Entity annotations directly on entity beans, and leaning towards using stuff like the manager component pattern for associating entities with context variables. (eg. the new CRUD framework in CVS uses this approach.)
Did you mean to @Entity or @Name in the above quote?
Chris.... -
7. Re: Seam calling other ejbs
cja987 Sep 28, 2006 1:02 AM (in response to bizimalem)Aha, I found contactlist in jboss-seam-head. Thanks!
Which raises the question .. which is the real HEAD, jboss-seam or jboss-seam-head? I've been using just jboss-seam to keep up to date on the seam codebase. -
8. Re: Seam calling other ejbs
gavin.king Sep 28, 2006 1:25 AM (in response to bizimalem)I mean @Name.
-
9. Re: Seam calling other ejbs
gavin.king Sep 28, 2006 1:25 AM (in response to bizimalem)It should be in jboss-seam....
-
10. Re: Seam calling other ejbs
cja987 Sep 28, 2006 10:47 AM (in response to bizimalem)It looks as though the example and the crud framework code live only in jboss-seam-head.
-
11. Re: Seam calling other ejbs
gavin.king Sep 28, 2006 12:32 PM (in response to bizimalem)Its there. Maybe anon cvs is a little behind. I don't see it in fisheye either. But I can check it out.
-
12. Re: Seam calling other ejbs
chane Sep 28, 2006 10:03 PM (in response to bizimalem)FYI, it is there as I was able to check it out via anon cvs...
-
13. Re: Seam calling other ejbs
cja987 Sep 28, 2006 10:17 PM (in response to bizimalem)I still can't see it, just did a fresh update. What should my cvsroot be? Here's what I currently have:
$ cat /opt/jboss/seam/CVS/Root :pserver:anonymous@anoncvs.forge.jboss.com:/cvsroot/jboss $ cat /opt/jboss/seam/CVS/Repository jboss-seam
-
14. Re: Seam calling other ejbs
cja987 Sep 28, 2006 11:14 PM (in response to bizimalem)I am really truly a dope. I forgot to use cvs -d. I usually have it automatic in my .cvsrc, but not on this box.