Fix cdi2-se example

Signed-off-by: tvallin <thibault.vallin@oracle.com>
diff --git a/examples/helloworld-cdi2-se/pom.xml b/examples/helloworld-cdi2-se/pom.xml
index 657675f..4f0bd8c 100644
--- a/examples/helloworld-cdi2-se/pom.xml
+++ b/examples/helloworld-cdi2-se/pom.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
 
-    Copyright (c) 2017, 2019 Oracle and/or its affiliates. All rights reserved.
+    Copyright (c) 2017, 2020 Oracle and/or its affiliates. All rights reserved.
 
     This program and the accompanying materials are made available under the
     terms of the Eclipse Distribution License v. 1.0, which is available at
@@ -28,7 +28,7 @@
 
     <properties>
         <cdi.api.version>2.0</cdi.api.version>
-        <weld.version>${weld3.version}</weld.version>
+        <weld.version>3.1.0.Final</weld.version>
     </properties>
 
     <dependencies>
diff --git a/examples/helloworld-cdi2-se/src/main/java/org/glassfish/jersey/examples/helloworld/cdi2se/CounterResource.java b/examples/helloworld-cdi2-se/src/main/java/org/glassfish/jersey/examples/helloworld/cdi2se/CounterResource.java
index 488dcb9..0f3e872 100644
--- a/examples/helloworld-cdi2-se/src/main/java/org/glassfish/jersey/examples/helloworld/cdi2se/CounterResource.java
+++ b/examples/helloworld-cdi2-se/src/main/java/org/glassfish/jersey/examples/helloworld/cdi2se/CounterResource.java
@@ -10,8 +10,7 @@
 
 package org.glassfish.jersey.examples.helloworld.cdi2se;
 
-import org.jboss.weld.context.ejb.Ejb;
-
+import javax.inject.Inject;
 import javax.ws.rs.GET;
 import javax.ws.rs.Path;
 import javax.ws.rs.Produces;
@@ -24,10 +23,10 @@
 @Path("counter")
 public class CounterResource {
 
-    @Ejb
+    @Inject
     private RequestScopedCounter requestScoped;
 
-    @Ejb
+    @Inject
     private ApplicationScopedCounter applicationScoped;
 
     @GET
diff --git a/examples/helloworld-cdi2-se/src/main/java/org/glassfish/jersey/examples/helloworld/cdi2se/HelloWorldResource.java b/examples/helloworld-cdi2-se/src/main/java/org/glassfish/jersey/examples/helloworld/cdi2se/HelloWorldResource.java
index 8033ab5..9ab555b 100644
--- a/examples/helloworld-cdi2-se/src/main/java/org/glassfish/jersey/examples/helloworld/cdi2se/HelloWorldResource.java
+++ b/examples/helloworld-cdi2-se/src/main/java/org/glassfish/jersey/examples/helloworld/cdi2se/HelloWorldResource.java
@@ -10,10 +10,9 @@
 
 package org.glassfish.jersey.examples.helloworld.cdi2se;
 
-import org.jboss.weld.context.ejb.Ejb;
-
 import java.security.Principal;
 
+import javax.inject.Inject;
 import javax.inject.Singleton;
 import javax.validation.constraints.NotNull;
 import javax.ws.rs.GET;
@@ -34,7 +33,7 @@
 @Path("helloworld")
 public class HelloWorldResource {
 
-    @Ejb
+    @Inject
     private HelloBean helloBean;
 
     @GET