deltaspike-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Porter <lightguard...@gmail.com>
Subject Re: Quarkus + Deltaspike
Date Wed, 15 Apr 2020 21:14:33 GMT
Have you taken a look at Panache?

On Wed, Apr 15, 2020 at 2:29 PM Shultz, Dmitry <Dmitry_Shultz@kaltire.com>
wrote:

> Thanks Jason & Thomas, it makes sense.
>
> I have repositories extending the FullEntityRepository, is there is
> anything like this in Quarkus (or is it better to port it  to use just bare
> EntityManager)?.
>
> Also, I developed the GroovyConfigSorce that extends the ConfigSource
> because I really like to use .groovy files as configuration sources (groovy
> code blocks totally rock  for defining complex (and/or related) config
> structures). Hopefully, MP Config has everyrhing I need to port this to
> Quarkus.
>
> Cheers,
> Dmitry
>
>
> -----Original Message-----
> From: Jason Porter [mailto:lightguard.jp@gmail.com]
> Sent: Wednesday, April 15, 2020 12:35 PM
> To: users@deltaspike.apache.org
> Subject: Re: Quarkus + Deltaspike
>
> Thomas is correct. This would be a pretty big effort to get DeltaSpike
> Quarkus compatible. Is there something you're looking for out of DeltaSpike
> in your Quarkus project?
>
> On Wed, Apr 15, 2020 at 12:57 PM Thomas Andraschko <
> andraschko.thomas@gmail.com> wrote:
>
> > Hi,
> >
> > that wont work!
> > Quarkus isn't a CDI implementation (it just uses many API parts), so i
> > general we would need to re-development party of DS in a Quarkus
> extension.
> > E.g. Quarkus doesn't support the CDI Extensions mechanism, where DS
> > takes a heavy use of it.
> >
> > If you would like to create a such a extensions, i can give you some
> hints.
> > But i think the effort isn't low to port all modules.
> >
> > Best regards,
> > Thomas
> >
> > <
> > https://urldefense.com/v3/__https://www.avast.com/sig-email?utm_medium
> > =email&utm_source=link&utm_campaign=sig-email&utm_content=webmail__;!!
> > LdWlNaMnLCM!PB3YSOb2VKcuJrUc9ubG63owvxPKM-gi7t3IEaVB5BlcJkytlRc8SObjsO
> > mf9UqWGoPb$
> > >
> > Virenfrei.
> > https://urldefense.com/v3/__http://www.avast.com__;!!LdWlNaMnLCM!PB3YS
> > Ob2VKcuJrUc9ubG63owvxPKM-gi7t3IEaVB5BlcJkytlRc8SObjsOmf9UZj-30P$
> > <
> > https://urldefense.com/v3/__https://www.avast.com/sig-email?utm_medium
> > =email&utm_source=link&utm_campaign=sig-email&utm_content=webmail__;!!
> > LdWlNaMnLCM!PB3YSOb2VKcuJrUc9ubG63owvxPKM-gi7t3IEaVB5BlcJkytlRc8SObjsO
> > mf9UqWGoPb$
> > >
> > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> >
> > Am Mi., 15. Apr. 2020 um 20:34 Uhr schrieb Shultz, Dmitry <
> > Dmitry_Shultz@kaltire.com>:
> >
> > > Hi All,
> > >
> > > I'm trying to use Deltaspike (1.9.3) in the fresh Quarkus project
> > > and getting this exception:
> > >
> > > java.lang.RuntimeException: io.quarkus.builder.BuildException: Build
> > > failure: Build failed due to errors
> > >                 [error]: Build step
> > > io.quarkus.arc.deployment.ArcProcessor#registerBeans threw an
> exception:
> > > java.lang.IllegalStateException: Bean defined via class
> > >
> > org.apache.deltaspike.jpa.impl.transaction.EnvironmentAwareTransaction
> > Strategy
> > > is declared as an @Alternative, but has no @Priority. Either declare
> > > a @Priority or leverage @io.quarkus.arc.AlernativePriority annotation.
> > >                 at
> > > io.quarkus.arc.processor.Beans.createClassBean(Beans.java:125)
> > >                 at
> > >
> > io.quarkus.arc.processor.BeanDeployment.findBeans(BeanDeployment.java:
> > 743)
> > >                 at
> > >
> > io.quarkus.arc.processor.BeanDeployment.registerBeans(BeanDeployment.j
> > ava:206)
> > >                 at
> > >
> > io.quarkus.arc.processor.BeanProcessor.registerBeans(BeanProcessor.jav
> > a:122)
> > >                 at
> > >
> > io.quarkus.arc.deployment.ArcProcessor.registerBeans(ArcProcessor.java
> > :262)
> > >                 at
> > > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Nati
> > > ve
> > > Method)
> > >                 at
> > >
> > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeM
> > ethodAccessorImpl.java:62)
> > >                 at
> > >
> > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Del
> > egatingMethodAccessorImpl.java:43)
> > >                 at
> > > java.base/java.lang.reflect.Method.invoke(Method.java:564)
> > >                 at
> > >
> io.quarkus.deployment.ExtensionLoader$2.execute(ExtensionLoader.java:938)
> > >                 at
> > > io.quarkus.builder.BuildContext.run(BuildContext.java:273)
> > >                 at
> > >
> > org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoa
> > derSavingRunnable.java:35)
> > >                 at
> > >
> > org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.
> > java:2027)
> > >                 at
> > >
> > org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQ
> > ueueExecutor.java:1551)
> > >                 at
> > >
> > org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueEx
> > ecutor.java:1442)
> > >                 at java.base/java.lang.Thread.run(Thread.java:832)
> > >                 at
> > org.jboss.threads.JBossThread.run(JBossThread.java:479)
> > >
> > >
> > > How to fix?
> > >
> > > In general, is Deltaspike supposed to be used with Quarkus?
> > >
> > > Cheers,
> > > Dmitry
> > >
> >
>
>
> --
> Jason Porter
>
> https://urldefense.com/v3/__http://en.gravatar.com/lightguardjp__;!!LdWlNaMnLCM!PB3YSOb2VKcuJrUc9ubG63owvxPKM-gi7t3IEaVB5BlcJkytlRc8SObjsOmf9cLFpJT6$
>


-- 
Jason Porter
http://en.gravatar.com/lightguardjp

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message