Questions tagged [seam]

JBoss Seam is an open source enterprise framework in Java. Because it fulfills some of the missed features of Java technologies such as JavaServer Faces and Enterprise Java Beans, Seam has positioned itself as the prototype for Java EE specifications.

JBoss Seam is an open source enterprise framework in Java. It includes among its features

  • Integrates presentation layer and server side business and persistence logic transparently
  • Dependency injection
  • Universal contextual model
  • Built-in persistence layer by using mediator pattern
  • Transaction management
  • A powerful event model
  • Bult-in Security model
  • Built-in application generator (customizable)

Because it fulfills some of the missed features of Java technologies such as JavaServer Faces (presentation layer) and Enterprise Java Beans (server side business logic), Seam has positioned itself as the prototype for Java EE specifications such as Contexts and Dependency Injection for the Java EE platform (contextual model), JavaServer Faces 2.0 JSR-314 (presentation layer) and Bean validation JSR-303 (validation).

Although Seam has built-in support for some Java EE technologies, you are free to choose the technology that fits better your needs.

Recommended readings

1371 questions
8
votes
2 answers

Entities not mapped after moving them into external jar package

In my Java/Seam/JbossAS app, I decided to externalize my Model classes (hibernate entities) and moved them into another project. The project produces model.jar, which is then used by the main app. The model.jar dependency is resolved by…
user1293910asd
  • 153
  • 1
  • 12
8
votes
4 answers

Aligning Menu Group to Menu Item

I'm using Seam and Richfaces to make a menu bar. The code is like this: Tools
Gondim
  • 3,038
  • 8
  • 44
  • 62
8
votes
2 answers

could not acquire lock on a component

I get this error sometimes on a session scoped component, still haven't figured out what is causing this to fail. Any ideas? ERROR [Exceptions] handled and logged exception javax.el.ELException: org.jboss.seam.core.LockTimeoutException: could not…
Joe
  • 14,513
  • 28
  • 82
  • 144
8
votes
1 answer

Inheritance mapping with JPA/Hibernate

This is a fairly lengthy (not overly complex) design question so please bear with me. I'm trying to implement a person/role management system with POJOs and JPA. I'm fairly new to ORM and this is mostly a mapping problem. I've got this working as…
alan-p
  • 205
  • 3
  • 13
8
votes
3 answers

How do I retrieve a JSF component value by using EL?

Before going on, see this question It's JSF form is shown again as follows:
Arthur Ronald
  • 33,349
  • 20
  • 110
  • 136
8
votes
5 answers

How to get current EAR location programmatically with JBoss

Does anyone know how to get programmatically the absolute path in the filesystem for an EAR deployed in JBoss, from Java code within that same EAR? I need this because I want to copy some files that are inside the EAR to another part of the…
ptdev
  • 453
  • 1
  • 3
  • 20
7
votes
1 answer

Has anyone successfully run integration tests with Jboss embedded, Seam and Maven?

Have been trying to get integration testing working with my seam project and the Jboss embedded container but am not having much success. Have been doing a lot of reading and have been trying what is mentioned in this JIRA but am not having any…
Aaron Chambers
  • 1,354
  • 2
  • 12
  • 27
7
votes
3 answers

Faces Servlet threw exception java.lang.StackOverflowError

Ok, I've run across my first StackOverflowError since joining this site, I figured this is a must post :-). My environment is Seam 2.0.1.GA, JBoss 4.2.2.GA and I'm using JSF. I am in the process of converting from a facelets view to JSP to take…
Joe Dean
  • 3,356
  • 5
  • 26
  • 31
7
votes
3 answers

JBoss AS 7 migration - java.lang.ClassNotFoundException: org.hibernate.validator.ClassValidator

I have an application running on JBoss AS 4.2.3 and am trying to migrate this to JBoss AS 7.0.2. I am also upgrading seam from 2.1.1 to 2.2.2. I have resolved a few of the class not found exceptions, but I am stuck on…
Mike
  • 358
  • 1
  • 2
  • 12
7
votes
1 answer

EL variable in JSF ResourceBundle

i read somewhere (don't find it anymore) that i can use EL Expresions in the resource bundle and then use it without changes in *.xhtml files. some.text=#{someBean.stepsLeft} more to switch the position of the variable in different languages. But…
webstrap
  • 1,004
  • 1
  • 10
  • 24
7
votes
6 answers

perf4j @Profiled annotation not working

I have gone thru the below link from perf4J site and have done same to same: http://perf4j.codehaus.org/devguide.html#Using_Spring_AOP_to_Integrate_Timing_Aspects Added the following in my spring.xml.
Himalay Majumdar
  • 3,883
  • 14
  • 65
  • 94
7
votes
2 answers

How to manually commit a managed transaction

I was given an "API" in the form of a JAR to do some external accounting operations from my Java-Seam-Hibernate appplication. Internally, the API is an plain Hibernate application, using two independent data sources besides the one used from Seam…
vz0
  • 32,345
  • 7
  • 44
  • 77
7
votes
2 answers

Disabling seam's redirect filter

I'm doing a project in seam that requires restful URLs. I have a view that is mapped to /group/{group}/{locale}. On that page I have a list of so called messages. Each message has a button to save changes to the message. This is linked to an action…
Matthias van der Vlies
  • 3,834
  • 3
  • 24
  • 28
7
votes
2 answers

Dynamically sorting a NamedQuery? Seam/Hibernate/JPA

I have several NamedQuery's defined, and I'd like to be able to sort on a field for an entity dynamically, without having to create unique NamedQuery's for each field I want to sort on. For example: I have an entity called MyObject, with fields…
Shadowman
  • 11,150
  • 19
  • 100
  • 198
7
votes
2 answers

How do you specify OrderBy clause on two columns

We would like to orderBy 2 columns in the Seam EntityQuery interface as well as the JPA model. How do we do this? @Entity public class A{ @OrderBy(???) // should this be hardcoded here, is it database agnostic List bobjects; } @Entity public…
Sam
  • 8,387
  • 19
  • 62
  • 97
1 2
3
91 92