Questions tagged [deltaspike]

Apache DeltaSpike (formerly Seam Solder) is a set of CDI extensions meant to ease application development both in and out of Java EE containers.

DeltaSpike (formerly Seam Solder) is designed to run on different implementations of CDI such as Apache OpenWebBeans and JBoss Weld as well as Java Enterprise servers such as Apache TomEE, JBoss AS7, JBoss WildFly 8, Oracle GlassFish, IBM Websphere, Oracle Weblogic Server 12c. There are also extensions to provide support in Apache Tomcat, JBoss Undertow and Jetty.

129 questions
1
vote
0 answers

How can i configure deltaSpike data in a EJB module?

I'm new using DeltaSpike data, the idea is work with something like spring-data but just with CDI and EJBs. I created some example in a java web project and the test was successful, but now I need to do the same thing in an EJB module, but it…
maframaran
  • 170
  • 9
1
vote
1 answer

Using CDI/Deltaspike with jetty

For a dropwizard module I am trying to use deltaspike and cdi with a jetty standalone server. Edit (from comment): "My question (forget the word dropwizard): How do I use deltaspike/weld/jetty together, why does the sample code in the deltaspike…
Jan Galinski
  • 11,768
  • 8
  • 54
  • 77
1
vote
0 answers

DeltaSpike Handle exception and redirect (ajax request)

When an exception is handled on AJAX request, the user has to be redirected to another page. There is a class with static method that executes the redirection. There is a problem when the request is ajax. Here is the code of the mentioned…
Tvori
  • 298
  • 8
  • 19
1
vote
1 answer

Deltaspike Data module: no bean matches the injection point

I am trying DeltaSpike Data Module on Wildfly i followed the things mentioned in the document, when I try to run a Servlet having a Repository i am getting a NullPointerException while using the repository @Inject private OrdersRepository…
Rajmahendra
  • 3,092
  • 3
  • 31
  • 42
1
vote
1 answer

Integrating deltaspike with vraptor

I have one project work with Vraptor 4 and i want to use deltaspike jpa and data modules to perform some operations. I need to deploy the application in tomcat 7+. Is it possible to integrate vraptor with deltaspike ? Also i do not want to use…
1
vote
1 answer

Deltaspike ConfigProperty working for EJB but not for simple bean in Wildfly 8.1

I am using Apache Deltaspike 1.0 to inject properties into the beans within my application. I am curious whether the observation I made indicates a bug or not. I created a simple managed bean that was annotated with @ApplicationScoped and everything…
svenp
  • 61
  • 5
1
vote
1 answer

Excluding a CDI Bean based on a PropertyFileConfig (DeltaSpike, WebSphere 8.5.5)

I am trying to exclude a Bean implementation using the DeltaSpike 1.0 @Exclude-Annotation. The exclusion should be based on a property value like this: @Exclude(onExpression = "providerimplementation!=mock") I created a PropertyFileConfig returning…
dasmaze
  • 642
  • 1
  • 8
  • 16
1
vote
0 answers

GLASSFISH4 deltaspike1.0 JTA EJB3 ERROR

hello everyone I developed a very serious problem encountered!!! Environmental below: GlassFish 4 ,deltaspike1.0,JPA2.1/HIBERNATE,EJB3.1** my EntityManager : @ApplicationScoped public class EntityManagerProducer implements java.io.Serializable…
1
vote
0 answers

Authorization of @PostConstruct with Deltaspike security module

I'm using the deltaspike security module for authorization on method with custom annotation. I'm using @secured and AccessDecisionVoter to acieve that. Is working well for methods invocated form the view (el reference - getters, listeners). But I…
Tvori
  • 298
  • 8
  • 19
1
vote
1 answer

From Seam 3 to Apache DeltaSpike (seam-beans.xml)

I am migrating from Seam 3 to DeltaSpike on WildFly 8 (Java EE 7). What is the equivalent DeltaSpike file to Seam's seam-beans.xml? Could you tell me any more info? Edit:
mitchkman
  • 6,201
  • 8
  • 39
  • 67
1
vote
0 answers

Apache Delta Spike - QueryInvocationContext

I think I might be having a problem with Apache Delta Spike. I have a parent entity which is already persisted and I am adding a new child to it. If I use the EntityRepository, I get a duplicate key problem on insert because it must think the…
Walter
  • 1,290
  • 2
  • 21
  • 46
1
vote
1 answer

ClassCastException when using DeltaSpike Security?

I've written a simple web app to play around with Apache Deltaspike 0.5, but am running into a problem. The app is a simple JavaEE 6 app, deployed as part of an EAR on JBoss EAP 6.1. I've declared the Apache Deltaspike Security module interceptor…
Shadowman
  • 11,150
  • 19
  • 100
  • 198
1
vote
1 answer

Does DeltaSpike ConfigResolver pick up runtime chnages

So I'm looking for CDI property injection and I'm looking at DeltaSpike http://deltaspike.apache.org/configuration.html I need to listen to property changes at runtime. So, if I inject a property like so and then at runtime change the poll interval…
DarVar
  • 16,882
  • 29
  • 97
  • 146
0
votes
1 answer

SEAM Solder @RequestParam in @ViewScoped Bean with AJAX

I have a @ViewScoped @ManagedBean with a @RequestParam to initialize some stuff in my @PostConstruct method. @ManagedBean @ViewScoped public class MyBean implements Serializable { @javax.inject.Inject …
Thor
  • 6,607
  • 13
  • 62
  • 96
0
votes
1 answer

ClassnotFoundException jakarta.Name:NamingException when running test CDITestRunner of deltaspike 1.9.6 with Jakarta

I am trying to use CDITestRunner in our tests using deltaspike with jakarta 1.9.6 versionand with apache open web beans. which is not running the tests with CDITestRunner and throwing ClassnotFoundException…
Gaurav
  • 33
  • 8
1 2 3
8 9