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

Seed data import failed on jboss-javaee6-webapp

I am trying to get a basic Seam 3 webapplication to work and use the jboss-javaee6-webapp to achieve this goal. Using the manual at http://seamframework.org/Documentation/CDIQuickstartForMavenUsers. However, I am running into some problems which I…
sdegroot
  • 237
  • 3
  • 11
2
votes
0 answers

Converting a Core Data Entity to a CKRecord for sharing using the UICloudSharingController with Seam3

When trying to instantiate a CKRecord from my current datastore, I am unable to initialize it using Seam3. The core data stack and CloudKit are in perfect sync thanks to Seam3. I'm bulding a wishlist application that enables list sharing and I'm…
2
votes
1 answer

How make Seam3 Solder with CDI work in WebSphere 7?

I want to use Seam Solder and Seam Faces 3 in WebSphere 7 with JSF 2.0 (RI is Mojarra 2.0.4) and CDI. I Included all required dependencies (Weld 1.1, JBoss Logging), but the server doesn't start saying: Failed to locate BeanManager using any of…
jonnie119
  • 21
  • 2
2
votes
1 answer

Seam 3 modules - getting started

I need help getting setup on Seam 3 modules. When I try to use the Seam 3 module, persistence, the JBoss Java EE 6 spec cannot be found. I was reading that I need to use maven 3 or declare the repository where that artifact can be found. I am…
Walter White
2
votes
1 answer

CDI Event Injection in Entity is null , why?

I have an entity:- @Entity @Table public class Application{ @Inject @QualifierName private Event applicationXXX; public void someMethod(){ applicationXXX.fire(someObject); } //BODY } In MyEventhandler Class , I'm using : public…
Rahul Razdan
  • 419
  • 4
  • 11
2
votes
1 answer

How to use ConversationScoped EntityManager inside StatelessBean

We inject EntityManager into Bean (located inside Service Layer) as below: @Inject EntityManager entityManager And We use these services inside ManagedBean (located inside view layer). Everything works fine. The problem occurs when we inject…
demdem
  • 182
  • 3
  • 14
2
votes
2 answers

How to write main() using CDI in Java EE?

I have a no-client application that I wish to run. It will have no clients but it will make HTTP calls and act as client for other services. It would run for perhaps a few hours or days (but it will not require periodic runs -- just one-shot). I…
necromancer
  • 23,916
  • 22
  • 68
  • 115
2
votes
1 answer

JSF converter scope when using CDI (Seam 3) view-scoped

I'm currently reviewing code and found CDI converters like: @Named @RequestScoped public class BankConverter implements Converter, Serializable { @EJB private BankService bankService; @Override public Object getAsObject(…
Kawu
  • 13,647
  • 34
  • 123
  • 195
2
votes
2 answers

Changes to Entity not flushing to DB in Seam 3 / Hibernate

I have a Seam 3/JBoss/Hibernate project with a @ConversationScoped bean. This bean manages the creation/editing of an @Entity. I would like to be able to save any changes made to the Entity and keep the User on the current…
jcavazos
  • 23
  • 3
2
votes
1 answer

Seam 3 exception handler - redirection doesn't work

What can be cause of not working redirection in this case? @HandlesExceptions public class ExceptionHandler { public void handleException(@Handles CaughtException e, Messages messages …
pseudo
  • 836
  • 1
  • 11
  • 20
2
votes
4 answers

Java EE - Seam 2 vs Seam 3 - which should I choose now?

I'm starting new enterprise application. I've choosen the following technologies: jee6 (jsf + primefaces, ejb) and hibernate. I'll deploy on Glassfish 3. Question is which Seam version should I choose? I know Seam 3 is the newest, but Seam 2 seems…
karolkpl
  • 2,189
  • 10
  • 39
  • 60
2
votes
2 answers

how to initialize jsf 2.0 textfield on runtime?

I would like to initialize my textfield at runtime. For example, I have primefaces inputtext like this: And a bean class: @PostConstruct public void onPageLoad() { .... .... …
demdem
  • 182
  • 3
  • 14
2
votes
1 answer

Java EE 6 - SEAM + EJB integration / 3 tier architecture

I've been using JSF 2.1 & EJB 3.1. So far, my aplication have such flow: Facelets template @ManagedBean connected to .xhtml page @Stateless EJB bean that uses EntityManager to get entities from DB etc EJB bean is injected to @ManagedBean via…
karolkpl
  • 2,189
  • 10
  • 39
  • 60
1
vote
1 answer

Seam Solder @MessageBundle generating the implementation classes Maven Error

I followed the documentation to use @MessageBundle with Seam Solder 3.1.0 here : http://docs.jboss.org/seam/3/3.1.0.Final/reference/en-US/html/solder-logging.html#typed-message-bundles but a get en error at compile time when Maven try to compile…
DMEx38
  • 156
  • 5
1
vote
1 answer

seam 3 security and roles

I am creating an application using seam 3 and cdi. I started with an example, for the security part like this: public @ConversationScoped class UserAction { public @Admin void deleteUser(String userId) { // code } } It works. If my user has…
Kelly Goedert
  • 1,027
  • 2
  • 11
  • 37