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
3
votes
1 answer

Seam 3 tutorial, Spring 3 + Seam 3 integration

I wasn't able to find a decent Seam 3 tutorial. It kind of nice that now Seam is spread in modules but the official documentation is slightly vague and weak... Covers all modules, describes each modules but nothing concrete, how to put them…
spauny
  • 4,976
  • 9
  • 44
  • 61
3
votes
2 answers

Problem with evaluating El expressionin combination with seam 3 and JSF2 composite component valueChangeListener

i have following construct: @Named public class SpecificAction extends BasicAction { public void calulateSomething(ValueChangeEvent event) {...} } } @Named public abstract class BasicAction { public void…
3
votes
2 answers

Weld archetype vs Seam Forge

I'm building a new project using Seam 3. I don't understand what the difference is between Weld archetype and Seam Forge. Both of them help us to build a simple project template to start with.
Vu Pham
  • 33
  • 3
3
votes
1 answer

Seam 3 @Transactional annotation not working in Java EE environment

I have a asynchronous command processor module that spins off a number of background threads that reads DB records, loads one command (CDI Bean) per record and runs the command. Arquillian tests with Weld-SE container works fine. However, when I put…
apurohit
  • 61
  • 5
3
votes
1 answer

@PostConstruct Interceptor with @Named @ViewScoped not invoked

I have read carefully the article about Interceptors in the Seam/Weld documentation and implemented a InterceptorBinding: @InterceptorBinding @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.METHOD, ElementType.TYPE}) public @interface MyLog…
Thor
  • 6,607
  • 13
  • 62
  • 96
3
votes
0 answers

jsf 2 session not replicating on cluster?

I read some question here some days ago that made me understand that a view scoped bean is on the session. Is this right? I am asking because I have an jsf 2 + seam 3 + cdi app that on a single node works perfectly with the view scoped beans, and as…
Kelly Goedert
  • 1,027
  • 2
  • 11
  • 37
3
votes
2 answers

Easiest way of having ViewScope & avoiding LazyInitializationException on JBoss AS7 stack (JSF2, CDI, JPA2, Seam?)

I am trying to set up a web application stack based upon JBoss AS7 for small-scale research prototypes and student projects that meets following requirements: I want to use AJAX-related scopes such as ViewScope -- or possibly a (View)AccessScope as…
tlind
  • 251
  • 5
  • 16
2
votes
2 answers

How does Seam 3 handles the "redirect to capture view" feature after login?

Here is my use cases. I have a login page which is /public/login.xhtml. All my other pages are required to log-in before reaching them. They are in /pages/ directory. I want that : If my user access to http://host/myapp/pages/* it redirects him…
Anthony O.
  • 22,041
  • 18
  • 107
  • 163
2
votes
1 answer

Add new components to component tree during PreRenderView event of postback

Is it possible to create new UIComponents and add it to component tree during the PreRenderView event of a postback? If so, how can I do it using public void onPreRenderEvent(@Observes PreRenderViewEvent e) in Seam 3?
2
votes
1 answer

Social Plugins: Is it possible to use any in a Java EE 6 environment?

As we know we have some social plugins for Java EE, like Spring Social and Seam Social. The problem is that I m not using spring neither seam.. I'm using a Java EE 6 app using netbeans, with a javaee-web-api-6.0.jar to WAR project and EJB3.1 to…
mariomol
  • 667
  • 1
  • 7
  • 15
2
votes
1 answer

Startup POJO On A Weld/Seam3 Application

I'm trying to get a POJO starting on startup within my Weld/Seam3 application but not having much luck. I've tried the following but none of them have worked: @Singleton public class StartupJobs { @Inject private Logger log; public…
Lee Theobald
  • 8,461
  • 12
  • 49
  • 58
2
votes
2 answers

Optimize deployment cycle for development

I use Seam3 + maven + jboss7 combination in my development. Would it be possible to optimize the loadup time when I do mvn clean package jboss-as:redeploy Currently this takes over 20 seconds with core2duo with an SSD (Mac Air). In my workflow,…
egaga
  • 21,042
  • 10
  • 46
  • 60
2
votes
1 answer

Creating Seam 3 Project

Its probably a bad question, but i've not found any good tutorial showing how to create a seam 3 project to eclipse. I saw that i need maven, jboss, seam 3, and eclipse helios... then i've downloaded them all but couldn't create the project... also…
Igor
  • 1,397
  • 3
  • 24
  • 56
2
votes
1 answer

Seam mail in JBoss6 and Seam3 environment

I'm using Jboss6 with CDI and some Seam3 modules: seam-solder:3.0.0.Final, seam-servlet:3.0.0.Final and seam-faces:3.0.1.Final. Now I want to add the seam-mail module, but unfortunately it looks not like a release in the next weeks Seam…
Thor
  • 6,607
  • 13
  • 62
  • 96
2
votes
2 answers

Starting a Seam 3 project using Maven from scratch

I want to start writing a Seam 3 project from scratch using Maven and configure it to be deployable to both of Glassfish 3.1 and JBoss 6 or 7. Any references or tutorials explaining how my pom.xml file should look like if I don't want to use…
zigortmay
  • 45
  • 1
  • 3