[JBoss-user] [JBoss Seam] - Maven 2 Support

2006-03-02 Thread cesarizurieta
I'm using maven 2 in my projects. Currently there's no seam artifact in any of the standard repositories (see http://www.ibiblio.org/maven2/). Would It be possible to upload it there? I have a working pom.xml that generates the artifact. It's a really basic pom (no dependencies and no tests): p

[JBoss-user] [JBoss Seam] - Re: Tree structure workspaces?

2006-02-23 Thread cesarizurieta
Maybe you should check out Seam's integration with jBPM: http://www.jboss.com/products/jbpm http://docs.jboss.com/seam/reference/en/html/jbpm.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925873#3925873 Reply to the post : http://www.jboss.com/index.h

[JBoss-user] [JBoss Seam] - Re: Seam component as converter with EntityManager/Persisten

2006-02-17 Thread cesarizurieta
You can use your converter like this: | | Where enumTypeConverter is the seam component name. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3924705#3924705 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3924

[JBoss-user] [EJB 3.0] - Re: EMPTY STRING unitName but there is no deployments in sco

2006-02-09 Thread cesarizurieta
Thanks for the quick reply. Then how can I share a persistence context between several ejb-jars? I have an structure like this: | ear | |- ejb-jar | |- par | |- ... | If I define the persistence context in the par file I have to define for every @PersistenceContext annotation a uni

[JBoss-user] [EJB 3.0] - EMPTY STRING unitName but there is no deployments in scope

2006-02-09 Thread cesarizurieta
Hi I'm having the following problem: I have an ear with a ejb3 jar inside. I have a stateless session bean that is using @PersistenceContext. I upgraded to jboss-4.0.4RC1 that I believe is using EJB3 RC5 and I'm having this error when deploying: 09:51:21,645 WARN [ServiceController] Ignoring r

[JBoss-user] [EJB 3.0] - Re: mappedBy to a PK property

2006-01-30 Thread cesarizurieta
What if I use @IdClass like this (removing the @ManyToOne from the PK class): @Entity | @IdClass(OnePK.class) | public class One { | private int a; | private Two two; | | @Id | public A getA() { return a; } | public setA(A) { this.a = a; } | | @Id | @ManyToOne

[JBoss-user] [EJB 3.0] - mappedBy to a PK property

2006-01-30 Thread cesarizurieta
Hi, I'm tring to do the following: @Entity | public class One { | private OnePK id; | | @Id | public OnePK getId() { return id; } | public setId(OnePK id) { this.id = id; } | [EMAIL PROTECTED] | public class OnePK { | private int a; | private Two two; | | pub

[JBoss-user] [JBoss Seam] - Re: Archive deployment and seam component scanner problem ?

2006-01-12 Thread cesarizurieta
One more thing. You need to define the ejb3s and the par in the application.xml like this: | http://java.sun.com/dtd/application_1_3.dtd";> | | myapp | | app.par | | | app.ejb3 | | | | app.war | /myapp | | | View

[JBoss-user] [JBoss Seam] - Re: Archive deployment and seam component scanner problem ?

2006-01-12 Thread cesarizurieta
I have no problems with this file structure: app.ear | |-app.war | | |-... | |-app.jar | | |-... | |-app.ejb3 | | |-seam.properties | | |-com/mycompany/SeamComponent1.class | | |-... | |-app.par | |-seam.properties | |-com/mycompany/SeamComponent2.class | |-... All com

[JBoss-user] [JBoss Seam] - Re: Entity with multiple names.

2005-12-30 Thread cesarizurieta
I have a working patch that implements the @Roles thing. With this you can annotate a class this ways: | @Name("name") | @Scope(EVENT) | public class Class { | ... | Or | @Role(name="name", scope=EVENT) | public class Class { | ... | Or | @Roles({ | @Role(name="name1",

[JBoss-user] [JBoss Seam] - multiple @name

2005-12-19 Thread cesarizurieta
Is it possible to do something like: | @Entity | @name(name="sessionUser", scope=SESSION) | @name(name="user", scope=CONVERSATION) | public User { | ... | or maybe better: | @Entity | @names({ | @name(name="sessionUser", scope=SESSION), | @name(name="user", scope=CONVE