You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@submarine.apache.org by "cdmikechen (Jira)" <ji...@apache.org> on 2022/12/11 12:59:00 UTC

[jira] [Updated] (SUBMARINE-1360) Add CDI to jetty

     [ https://issues.apache.org/jira/browse/SUBMARINE-1360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

cdmikechen updated SUBMARINE-1360:
----------------------------------
    Description: 
Use CDI(Contexts and Dependency Injection) to resolve dependencies between java class instances and prepare for the use of @Transactional annotations. 

We use Jetty 9.4, so that we need to use weld 3.1.9.Final and J2EE CDI 2.0, and in the future, if we actually migrate to Quarkus, we should then migrate to Jakarta's latest CDI.

Jetty CDI weld link:
https://github.com/jetty-project/embedded-jetty-weld
Weld document link:
https://docs.jboss.org/weld/reference/3.1.9.Final/en-US/html_single/



  was:
Use CDI(Contexts and Dependency Injection) to resolve dependencies between java class instances and prepare for the use of @Transactional annotations. 

Jetty CDI weld link:
https://github.com/jetty-project/embedded-jetty-weld


> Add CDI to jetty
> ----------------
>
>                 Key: SUBMARINE-1360
>                 URL: https://issues.apache.org/jira/browse/SUBMARINE-1360
>             Project: Apache Submarine
>          Issue Type: New Feature
>          Components: Backend Server
>            Reporter: cdmikechen
>            Priority: Major
>
> Use CDI(Contexts and Dependency Injection) to resolve dependencies between java class instances and prepare for the use of @Transactional annotations. 
> We use Jetty 9.4, so that we need to use weld 3.1.9.Final and J2EE CDI 2.0, and in the future, if we actually migrate to Quarkus, we should then migrate to Jakarta's latest CDI.
> Jetty CDI weld link:
> https://github.com/jetty-project/embedded-jetty-weld
> Weld document link:
> https://docs.jboss.org/weld/reference/3.1.9.Final/en-US/html_single/



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@submarine.apache.org
For additional commands, e-mail: dev-help@submarine.apache.org