[jboss-user] [JBoss Seam] - Re: anyone success with seam-gen war to portal ?

codelion do-not-reply at jboss.com
Wed Feb 14 04:00:57 EST 2007


Jarkko,

You have mentioned in a past posting you got it to work.  Can you share a working project?

If your project is confidential, I'd suggest make a super simple table, e.g. (Oracle example)

CREATE TABLE THINGS
  | (
  |    ID VARCHAR(30) PRIMARY KEY not null,
  |    TITLE VARCHAR(100) not null,
  |    DESCRIPTION VARCHAR(200) not null
  | )

then run seam setup (I tell it not to use existing tables at first, but I guess you could; also I've tested it for both .ear and .war), then run seam new-project, then run seam generate-entities (which you might not have to if you tell it to use existing tables at first).

You can test it by running ant for it to deploy.

I'd be happy to assist over IM or screen sharing to get to this point.

Then you'd have a project you can "turn into a portlet".

Once you have it working you can probably email a source archive, or if anyone here makes a JIRA issue, submit as attachment to a comment.

I'd be happy to analyze your creation and document it, fit for Seam reference or Wiki, if that's ok with you, assuming you don't have time to do that.

- Leo

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016247#4016247

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016247



More information about the jboss-user mailing list