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
0
votes
2 answers

Remove then Query fails in JPA (deleted entity passed to persist)

I have two entitys MobeeCustomer and CustomerRegion i want to remove the object from CustomerRegion first Im put join Coloumn in CustomerRegion is null then Remove the Object from the entityManager but Iam getting Exception MobeeCustomer: public…
nag
  • 647
  • 6
  • 25
  • 43
0
votes
0 answers

Seam3 @ViewConfig and pretty-faces mapping id

How can I get id of urlMapping when using pretty faces through the Seam3 @ViewConfig interface? In pretty-config.xml id is specified on url-mapping element.
pseudo
  • 836
  • 1
  • 11
  • 20
0
votes
1 answer

Detached Exception Passed to Persist When Hibernate Evict Method is Used

When updating a Managed Entity data is not directly reflect to DB, so I'm using evict in Hibernate. The exception I'm getting is the detached entity passed to persist. MobeeAgent agent= agentsList.get(rowIndex); BeanUtils.copyProperties(agent,…
nag
  • 647
  • 6
  • 25
  • 43
0
votes
1 answer

Seam Hello World won't work through Eclipse

I'm trying to follow any tutorial there is on the Internet to create a Seam "hello world" app. I've installed Seam 2.2.Final, and deployed some of its tutorials using ant on my JBoss 5.1 server. They work. Now, I'd like to run any of these (or even…
Natalia Zoń
  • 980
  • 2
  • 12
  • 22
0
votes
1 answer

mappedBy and joinTable in wrong class

I used seam to generate my entities. But I have a many to many composite table with an employee id and a vehicle id and it generated the hash sets wrong. I want to be able to choose an employee's favorite vehicle in the employee object. However;…
user1423793
  • 279
  • 2
  • 6
  • 16
0
votes
1 answer

Seam view aliases

I am running a Seam web application with Richfaces for the JSF implementation. I would like to map a view to a particular URL much like you could with Spring MVC in the Url Map. Here is a snippet of my /WEB-INF/pages.xml
Walter White
0
votes
1 answer

Seam 3 / REST / Injection

Blockquote I am trying to make a REST application with Seam 3. Hello world works nice. But I tried to use injection within the Rest Application with the annotation @Inject but the object is still null. Does someone has a piece of code that…
Antoine O
  • 171
  • 13
0
votes
0 answers

a4j:mediaOutput with large mp3 files

Not sure what I'm doing wrong. I added:
gebuh
  • 797
  • 14
  • 40
0
votes
2 answers

selectBooleanCheckbox in a DataTable in ui:repeat

I'm having some problem using multiple selectBooleanCheckBox in multiple DataTables in ui:repeat. Something like this
Luca Molteni
  • 5,230
  • 5
  • 34
  • 42
0
votes
4 answers

Using integers for currency

I'm writing a program, using seam and an SQL database, that stores information about employees. I was told to store the pay as ints in the database. When the user enters the pay, it is stored as a String and when I use a setter for the employee…
user1423793
  • 279
  • 2
  • 6
  • 16
0
votes
1 answer

ScrollTable not using value tag

In a ScrollTable I need to retrieve data from a particular object and set data to another. How can I do this? Now I find: Illegal Syntax for Set Operation The h:inputText has value tag = myBean.castData(getTopdata(par1)) Damn! I need only to…
Giant2
  • 461
  • 1
  • 4
  • 15
0
votes
2 answers

seam 2.2.2.Final looses translations

I'm using seam 2.2.2.Final with Richfaces 3.3.3.Final on JBoss AS 6. My application is translated into 2 languages (dutch and english). Sometimes (varying from hours to days) the web application looses the translations. It then only displays the…
gadeynebram
  • 725
  • 2
  • 6
  • 22
0
votes
1 answer

Constructor injection with JBoss Seam

I'm new to JBoss Seam. I'd like to know how do I instantiate a class without a no-arg constructor in JBoss Seam. I have to instantiate JsonPrimitive (from Google Gson framework) that has just constructors which receive arguments. How the regular…
gege
  • 371
  • 1
  • 5
  • 13
0
votes
1 answer

EntityManager is null. Using Seam and JBOSS

I am making a web application using JBOSS and Seam but I am trying to use entityManager in one of my classes but it is null. I have it connected to an outside database and printed out the entityManager in the class and it just said null. when i try…
user1423793
  • 279
  • 2
  • 6
  • 16
0
votes
1 answer

Renderer.instance().render("/myTemplate.xhtml")) containing tag results in a Nullpointer Exception

I'm trying to render some html in the backend and return to a js script for appending. My template:
jakob
  • 5,979
  • 7
  • 64
  • 103