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
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
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
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
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
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
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
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
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
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",
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
11 matches
Mail list logo