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

1378 questions
49
votes
2 answers

Unique Constraint Over Multiple Columns

I am using SEAM 2/Hibernate along with PostgreSQL 9 database. I have the following table Active Band =========== active_band_id serial active_band_user text active_band_date timestamp active_band_process integer I would like to add a constraint…
DaveB
  • 3,054
  • 6
  • 32
  • 58
42
votes
2 answers

Mixing JSF EL in a JavaScript file

Is there a way to have Expression Language (EL) expressions included JavaScript files be evaluated by JSF? I was hoping that Seam might have a way around this, but no luck so far. All I want is to be able to use localized messages in my JavaScript…
user283680
  • 463
  • 1
  • 4
  • 5
32
votes
3 answers

CRUD: To Roo or not to Roo?

I have been using Groovy on Rails for CRUD applications. I am starting a new project where we are not allowed to use Grails anymore (we have a list of allowed jars and grails is not there). I am considering using Spring ROO or JBoss Seam. How do…
Luixv
  • 7,860
  • 18
  • 77
  • 118
30
votes
6 answers

java library for reading RSS and ATOM feeds

I am looking for libraries which can read RSS / ATOM feeds in my J2EE application (based on JBoss Seam). Is Rome the only application there for reading feeds? I am assuming the Seam RSS integration is only for generating RSS feeds and not for…
Sam
  • 7,451
  • 19
  • 54
  • 92
23
votes
4 answers

How to externalize properties from JPAs persistence.xml?

I would like to put some of the hibernate configuration in a property file to make it editable without build and deploy. I tried to solve my problem by following the instructions from Create JPA EntityManager without persistence.xml configuration…
stacker
  • 64,199
  • 27
  • 132
  • 206
23
votes
5 answers

Force refresh of collection JPA entityManager

I am using SEAM with JPA (implemented as a Seam Managed Persistance Context), in my backing bean I load a collection of entities (ArrayList) into the backing bean. If a different user modifies one of the entities in a different session I want these…
DaveB
  • 3,054
  • 6
  • 32
  • 58
21
votes
7 answers

How to conditionally style a row in a rich:dataTable

How can I change the style of a particular row based on a condition? I can use JSF EL in rich:column style class attribute, but I have to write for each column. I want to change the entire row. Thanks
Luca Molteni
  • 4,686
  • 5
  • 28
  • 40
21
votes
12 answers

How Popular is the Seam Framework

I'm using JBoss Seam Framework, but it's seems to me isn't very popular among java developers. I want to know how many java programmers here are using it, and in what kind of projects. Is as good as django, or RoR?
Eduardo Diaz
  • 241
  • 1
  • 3
  • 6
20
votes
11 answers

Which framework should I choose - Seam, Wicket, JSF or GWT?

I'm debating whether to use Seam, Wicket, JSF or GWT as the foundation for my presentation layer in a Java project. I narrowed my selection of Java web frameworks down to this subset based on job market considerations, newness of the technology and…
karl
  • 393
  • 2
  • 7
  • 14
18
votes
3 answers

java.lang.NoSuchMethodException: org.hibernate.validator.ClassValidator Seam weblogic 10.3

I have a big problem with Hibernate (use with seam) on weblogic 10.3. When I publish my application, I get this error: java.lang.NoSuchMethodException: org.hibernate.validator.ClassValidator.(java.lang.Class, java.util.ResourceBundle,…
Kiva
  • 8,863
  • 16
  • 56
  • 91
17
votes
3 answers

checks for constraint violation before persisting an entity

What is the best mechanism for preventing constraint violation checks before creation | modification of an entity? Suppose if the 'User' entity has 'loginid' as the unique constraint, would it be wise to check if there is an user entry already with…
Joe
  • 12,573
  • 26
  • 77
  • 140
16
votes
7 answers

Spring vs Jboss

What are the advantages and disadvantages for Spring vs. Jboss for an enterprise web application.
flybywire
  • 232,954
  • 184
  • 384
  • 491
16
votes
1 answer

Hibernate native query - char(3) column

I have a table in Oracle where column SC_CUR_CODE is CHAR(3) When I do: Query q2 = em.createNativeQuery("select sc_cur_code, sc_amount from sector_costs"); q2.setMaxResults(10); List rs2 = q2.getResultList(); for…
August
  • 2,408
  • 9
  • 49
  • 85
16
votes
6 answers

How to escape ":"?

for example I have id like someform:somepanel:somebutton When I do jQuery("#someform:somepanel:somebutton") it returns someform, how to AUTOMATICALLY escape that id? EDIT: I want to do something like…
IAdapter
  • 55,820
  • 69
  • 166
  • 236
15
votes
1 answer

How to pass a parameter along with h:commandButton

One of the most common approaches to change locale in JSF+Seam - with :
Serga
  • 253
  • 1
  • 4
  • 9
1
2 3
91 92