Questions tagged [seam3]

Seam 3 is a collection of modules and developer tooling tailored for Java EE 6 application development, with CDI as the central piece.

Seam 3 is a collection of modules and developer tooling tailored for Java EE 6 application development, with CDI as the central piece. http://seamframework.org/Seam3

118 questions
19
votes
5 answers

Unsatisfied dependencies for type [...] with qualifiers [@Default] at injection point (using @Stateful EJB with CDI)

I have the following code to manage two kinds of repositories. Both repository classes inherit an interface to allow reinitialization of their resources. public interface CachingRepository { public void invalidateCache(); } Global,…
Kawu
  • 13,647
  • 34
  • 123
  • 195
14
votes
1 answer

Understanding authentication in a Java Application Server

I'm currently working on a project running on JBoss AS 7 that requires authentication from a variety of sources. I'm trying to get an understanding of the various components that combine to provide authentication. I have some assumptions / guesses…
Phyxx
  • 15,730
  • 13
  • 73
  • 112
8
votes
2 answers

javax.enterprise.event.ObserverException

Right now I am experiencing an unpleasant issue. I have 6 projects running on my JBoss AS 7. They are deployed in standalone mode. After working for some time(5-25 hours) I start to recieve identical error in all my projects :…
Ilya Sidorovich
  • 1,530
  • 1
  • 13
  • 15
6
votes
1 answer

How to integrate JPA validation with CDI and Seam Validation

Regarding to my previous question, The JSR 303 bean validation, The extended ConstraintValidator cannot use the CDI, The Seam Validation Module give me a perfect solution for centralizing all JSF and EJB business validation with out repeating the…
Charlee Chitsuk
  • 8,847
  • 2
  • 56
  • 71
6
votes
3 answers

Memory leak with ViewScoped bean?

In our JavaEE6 project (EJB3, JSF2) on JBoss 7.1.1, it seems we have a memory leak with SeamFaces @ViewScoped. We made a little prototype to check the fact : we use JMeter to call a page 200 times; the page contains and calls a viewscoped bean…
Xavier Portebois
  • 3,354
  • 6
  • 33
  • 53
5
votes
2 answers

JPA/Hibernate emits no UPDATE on commit in EJB/Seam environment

I have a Seam 3 sandbox application using JBoss 7, Hibernate as default JPA implementation and as JSF as web front end. I have the problem, that the SQL UPDATE is swallowed by default. My stateful EJB in conversation scope maintains an extended…
5
votes
2 answers

What will probably be the biggest changes (losses) switching from Seam 2 to plain JavaEE 6?

Question pretty much says it all, though explicitly I'm looking for the things I will probably miss about Seam 2 in a Java EE 6 environment ("losses"). For my latest (small) project JavaEE 6 or more specifically JSF 2 was a fix requirement, so using…
Kawu
  • 13,647
  • 34
  • 123
  • 195
5
votes
2 answers

Seam Faces causes a deploy-time error

I'm running a Java EE 6 application out of an EAR (bundling an EJB-JAR and a WAR) on GlassFish 3.0.1, using ICEfaces 2.0 Beta 1 and a Seam Faces 3.0.0 Alpha 3 Snapshot. When I deploy the EAR, I get an error. This error doesn't happen when I remove…
Nick
  • 2,827
  • 4
  • 29
  • 39
4
votes
1 answer

Seam3/Weld - Could not find Entity Manager

I have a project (EJB 3.0, packaged as EAR) with a view (JSF 2.0) and persistence (JPA 2.0, Hibernate) layer. To avoid the lazy initialization support and other issues I tried to introduce a Seam Managed Persistence Context with Seam…
wintersolutions
  • 5,173
  • 5
  • 30
  • 51
4
votes
1 answer

How do you find CDI beans of/in the current view (scope)?

In a Java EE 6, CDI 1.1.x, Seam 3 etc. environment, we need to find all CDI beans of the current view (@ViewScoped). What I have tried so far is using: @Named @ViewScoped public class ViewHelper { @Inject private BeanManager beanManager; …
Kawu
  • 13,647
  • 34
  • 123
  • 195
4
votes
1 answer

Is Seam3 and Weld CDI the same thing?

Maybe this seems like a foolish question but I am really confused. Is Seam 3 and Weld CDI the same things? I am reading some posts which refers to "CDI (Weld) / Seam 3", should I consider them as the same thing?
Yashar
  • 1,122
  • 2
  • 15
  • 43
4
votes
2 answers

How to perform jsf action using html 5 button

How do we use html 5 button tag to perform jsf action eg. to perform what will be the equivalent in html 5 ??
Kamal Datta
  • 73
  • 1
  • 6
3
votes
1 answer

xDocReport - Impossible to create report for the input stream

I cannot manage with this problem. The source is: try { // 1) Load Docx file by filling Velocity template engine and cache it to the registry InputStream in = new FileInputStream("/test.docx"); IXDocReport report =…
robson
  • 1,623
  • 8
  • 28
  • 43
3
votes
2 answers

Lazy loading exception when using JSF Converter (refering to a collection)

This is my first post after many research on this problem. This example is running under Jboss 7.1 with seam 3.1 (solder + persistence + faces) with seam managed persistence context I'm facing a problem, the classical failed to lazily initialize a…
Paulin
  • 31
  • 3
3
votes
1 answer

Configuration to be able to @Inject EntityManager in Seam 3

In my project I use Seam 3 and I am having issues injecting the EntityManager with the @Inject annotation. I am pretty sure there is some kind of configuration to make sure the EnityManager knows which PersistenceUnit to use. For example with EJB…
nyxz
  • 6,918
  • 9
  • 54
  • 67
1
2 3 4 5 6 7 8