Skip to content
Permalink
Browse files

[WFLY-12594] Updates Quickstarts docs, replacing references to Java E…

…E wrt Jakarta EE
  • Loading branch information...
emmartins committed Sep 26, 2019
1 parent ab3faee commit 9dffc4150ad422575ecd35d075353cb4edd8825d
Showing with 147 additions and 158 deletions.
  1. +5 −5 CONTRIBUTING.adoc
  2. +7 −7 README.adoc
  3. +2 −2 app-client/README.adoc
  4. +1 −1 batch-processing/src/main/java/org/jboss/as/quickstarts/batch/util/Resources.java
  5. +1 −1 bmt/README.adoc
  6. +1 −1 contacts-jquerymobile/pom.xml
  7. +1 −1 contacts-jquerymobile/src/main/java/org/jboss/quickstarts/contact/JaxRsActivator.java
  8. +1 −1 contacts-jquerymobile/src/main/java/org/jboss/quickstarts/util/Resources.java
  9. +1 −1 ...authorization/src/main/java/org/jboss/as/quickstarts/deltaspike/authorization/util/Resources.java
  10. +1 −1 ...pike-beanbuilder/src/main/java/org/jboss/as/quickstart/deltaspike/beanbuilder/util/Resources.java
  11. +2 −2 ejb-in-ear/ear/pom.xml
  12. +1 −1 ejb-multi-server/app-main/web/pom.xml
  13. +0 −5 ...erver/app-main/web/src/main/java/org/jboss/as/quickstarts/ejb/multi/server/app/JsfController.java
  14. +1 −1 ejb-multi-server/app-web/pom.xml
  15. +3 −3 ejb-security/README.adoc
  16. +2 −2 ejb-throws-exception/ear/pom.xml
  17. +1 −1 ejb-timer/pom.xml
  18. +4 −4 guide/Archetype.asciidoc
  19. +3 −3 guide/GreeterQuickstart.asciidoc
  20. +2 −2 guide/HelloworldQuickstart.asciidoc
  21. +7 −13 guide/Introduction.asciidoc
  22. +5 −5 guide/KitchensinkQuickstart.asciidoc
  23. +1 −1 guide/NumberguessQuickstart.asciidoc
  24. +2 −2 helloworld-classfiletransformer/README.adoc
  25. +1 −1 helloworld-rf/pom.xml
  26. +1 −1 helloworld/.cheatsheet.xml
  27. +1 −1 hibernate/src/main/java/org/jboss/as/quickstart/hibernate/util/Resources.java
  28. +1 −1 hibernate/src/main/webapp/index.xhtml
  29. +1 −1 hibernate4/src/main/java/org/jboss/as/quickstart/hibernate4/util/Resources.java
  30. +1 −1 hibernate4/src/main/webapp/index.xhtml
  31. +1 −1 inter-app/README.adoc
  32. +1 −1 inter-app/appA/pom.xml
  33. +1 −1 inter-app/appB/pom.xml
  34. +1 −1 jaxrs-client/src/main/java/org/jboss/as/quickstarts/jaxrsclient/rest/JaxRsActivator.java
  35. +1 −1 jsonp/pom.xml
  36. +1 −1 jta-crash-rec/README.adoc
  37. +1 −1 jts/README.adoc
  38. +1 −1 kitchensink-angularjs/pom.xml
  39. +1 −1 kitchensink-angularjs/src/main/java/org/jboss/as/quickstarts/kitchensink/rest/JaxRsActivator.java
  40. +1 −1 kitchensink-angularjs/src/main/java/org/jboss/as/quickstarts/kitchensink/util/Resources.java
  41. +1 −1 kitchensink-angularjs/src/main/webapp/partials/home.html
  42. +2 −2 kitchensink-ear/ear/pom.xml
  43. +1 −1 kitchensink-ear/ejb/src/main/java/org/jboss/as/quickstarts/kitchensink_ear/util/Resources.java
  44. +1 −1 kitchensink-ear/web/src/main/java/org/jboss/as/quickstarts/kitchensink_ear/rest/JaxRsActivator.java
  45. +1 −1 kitchensink-ear/web/src/main/java/org/jboss/as/quickstarts/kitchensink_ear/util/WebResources.java
  46. +1 −1 kitchensink-ear/web/src/main/webapp/index.xhtml
  47. +1 −1 kitchensink-jsp/src/main/java/org/jboss/as/quickstarts/kitchensinkjsp/rest/JaxRsActivator.java
  48. +1 −1 kitchensink-jsp/src/main/java/org/jboss/as/quickstarts/kitchensinkjsp/util/Resources.java
  49. +1 −1 kitchensink-jsp/src/main/webapp/registrationForm.jsp
  50. +1 −1 kitchensink-ml/pom.xml
  51. +1 −1 kitchensink-ml/src/main/java/org/jboss/as/quickstarts/kitchensink/rest/JaxRsActivator.java
  52. +1 −1 kitchensink-ml/src/main/java/org/jboss/as/quickstarts/kitchensink/util/Resources.java
  53. +1 −1 kitchensink-ml/src/main/resources/org/jboss/as/quickstarts/kitchensink/bundle/Resources.properties
  54. +1 −1 ...hensink-ml/src/main/resources/org/jboss/as/quickstarts/kitchensink/bundle/Resources_es.properties
  55. +1 −1 ...hensink-ml/src/main/resources/org/jboss/as/quickstarts/kitchensink/bundle/Resources_fr.properties
  56. +1 −1 kitchensink-utjs-angularjs/pom.xml
  57. +1 −1 kitchensink-utjs-angularjs/src/main/java/org/jboss/as/quickstarts/kitchensink/util/Resources.java
  58. +1 −1 kitchensink-utjs-angularjs/src/main/webapp/partials/home.html
  59. +1 −1 kitchensink-utjs-mustache/src/main/webapp/index.html
  60. +6 −6 kitchensink/.cheatsheet.xml
  61. +1 −1 kitchensink/pom.xml
  62. +1 −1 kitchensink/src/main/java/org/jboss/as/quickstarts/kitchensink/rest/JaxRsActivator.java
  63. +1 −1 kitchensink/src/main/java/org/jboss/as/quickstarts/kitchensink/util/Resources.java
  64. +1 −1 kitchensink/src/main/webapp/index.xhtml
  65. +3 −3 managed-executor-service/README.adoc
  66. +1 −1 managed-executor-service/pom.xml
  67. +1 −1 ...or-service/src/main/java/org/jboss/as/quickstarts/managedexecutorservice/rest/JaxRsActivator.java
  68. +1 −1 ...xecutor-service/src/main/java/org/jboss/as/quickstarts/managedexecutorservice/util/Resources.java
  69. +1 −1 payment-cdi-event/src/main/java/org/jboss/as/quickstarts/payment/resources/Resources.java
  70. +2 −2 security-domain-to-domain/ear/pom.xml
  71. +3 −3 servlet-security/README.adoc
  72. +1 −1 shared-doc/attributes.adoc
  73. +6 −6 shared-doc/available-quickstarts.adoc
  74. +1 −1 shared-doc/development-shortcuts.adoc
  75. +1 −1 shopping-cart/README.adoc
  76. +1 −1 spring-kitchensink-basic/src/main/webapp/WEB-INF/web.xml
  77. +1 −1 spring-kitchensink-springmvctest/src/main/webapp/WEB-INF/web.xml
  78. +1 −1 tasks-jsf/src/main/java/org/jboss/as/quickstarts/tasksJsf/Resources.java
  79. +1 −1 tasks-rs/src/main/java/org/jboss/as/quickstarts/tasksrs/model/Resources.java
  80. +3 −3 thread-racing/README.adoc
  81. +1 −1 thread-racing/pom.xml
  82. +1 −1 thread-racing/src/main/java/org/jboss/as/quickstarts/threadracing/Race.java
  83. +1 −1 thread-racing/src/main/java/org/jboss/as/quickstarts/threadracing/results/RaceResults.java
  84. +3 −3 thread-racing/src/main/webapp/index.html
  85. +2 −2 wicket-ear/README.adoc
  86. +2 −2 wicket-ear/ear/pom.xml
  87. +2 −2 wicket-ear/pom.xml
  88. +1 −1 wicket-ear/war/pom.xml
  89. +2 −2 wicket-war/README.adoc
  90. +2 −2 wicket-war/pom.xml
  91. +1 −1 xml-jaxp/README.adoc
@@ -23,7 +23,7 @@ To monitor and participate in the latest development discussions, join the JBoss

=== Purpose of the Quickstarts

. To demonstrate Java EE technologies.
. To demonstrate Jakarta EE technologies.
. To provide developers with working examples and instructions that are easy to follow.
. To provide code examples to be copied by developers and used as the basis for their own projects.

@@ -246,7 +246,7 @@ See the https://github.com/wildfly/quickstart/blob/11.x/pom.xml#L155[WildFly par
* Maven POM files must be used. No other build system is allowed unless the purpose of the quickstart is to show another build system in use. If using Maven it should:

** Not inherit from another POM except for the top-level parent POM.
** Maven POMs must use the Java EE spec BOM/POM imports
** Maven POMs must use the WildFly BOM/POM imports
** The POMs must be commented, with a comment each item in the POM
** Import the various BOMs defined in the xref:eap_maven_repositories[JBoss EAP repositories]. You should not declare dependencies directly. If you do need additional artifacts, contact the Quickstart team to get them added to a BOM.
** Use the WildFly Maven Plugin to deploy the example.
@@ -261,22 +261,22 @@ See the https://github.com/wildfly/quickstart/blob/11.x/pom.xml#L155[WildFly par

* Do not forget to add your quickstart to the `modules` section in the parent `pom.xml` file.

* The project must target Java EE 7 or Java EE 8.
* The project must target Jakarta EE 8.

** CDI should be used as the programming model
** Avoid using a `web.xml` file if possible. Use a `faces-config.xml` to activate JSF if needed.
** Any tests should use Arquillian.

* If the quickstart persists to a database, you must use a unique datasource JNDI name and connection URL for the application and for any Arquillian tests that it provides. Do not use the JNDI name `java:jboss/datasources/ExampleDS`. Failure to use unique names can result in a `DuplicateServiceException` when more than one quickstart is deployed to the same server.

* Be sure to test the quickstart in {JBDSProductName}, which strictly enforces Java EE coding rules!
* Be sure to test the quickstart in {JBDSProductName}, which strictly enforces Jakarta EE coding rules!

* If possible, create a cheat sheet for the quickstart to guide users and developers through the example. See xref:create_a_quickstart_cheat_sheet[Create a Quickstart Cheat Sheet] for more information.

[[kitchensink_variants]]
=== Kitchensink variants

There are multiple quickstarts based on the ``kitchensink` quickstarts example. Each showcases different technologies and techniques including pure Java EE, JSF, HTML5, and GWT.
There are multiple quickstarts based on the ``kitchensink` quickstarts example. Each showcases different technologies and techniques including pure Jakarta EE, JSF, HTML5, and GWT.

If you wish to contribute a kitchensink variant is it important that you follow the look and feel of the original so that useful comparisons can be made. This does not mean that variants can not expand, and showcase additional functionality. Multiple variants already do that. These include mobile interfaces, push updates, and more.

@@ -10,7 +10,7 @@ ifndef::ProductRelease,EAPCDRelease[]
[toc]

[abstract]
The quickstarts demonstrate Java EE 8 and a few additional technologies from the WildFly stack. They provide small, specific, working examples that can be used as a reference for your own project.
The quickstarts demonstrate Jakarta EE 8 and a few additional technologies from the WildFly stack. They provide small, specific, working examples that can be used as a reference for your own project.

[[introduction]]
== Introduction
@@ -443,7 +443,7 @@ NOTE: Some of these quickstarts use the H2 database included with WildFly. It is
| link:ejb-in-war/README{outfilesuffix}[ejb-in-war]|EJB, JSF, WAR | The `ejb-in-war` quickstart demonstrates how to package an EJB bean in a WAR archive and deploy it to {productName}. Arquillian tests are also provided. | Intermediate | _none_
| link:ejb-multi-server/README{outfilesuffix}[ejb-multi-server]|EJB, EAR | The `ejb-multi-server` quickstart shows how to communicate between multiple applications deployed to different servers using an EJB to log the invocation. | Advanced | _none_
| link:ejb-remote/README{outfilesuffix}[ejb-remote]|EJB, JNDI | The `ejb-remote` quickstart uses EJB and JNDI to demonstrate how to access an EJB, deployed to {productName}, from a remote Java client application. | Intermediate | _none_
| link:ejb-security/README{outfilesuffix}[ejb-security]|EJB, Security | The `ejb-security` quickstart demonstrates the use of Java EE declarative security to control access to EJBs in {productName}. | Intermediate | _none_
| link:ejb-security/README{outfilesuffix}[ejb-security]|EJB, Security | The `ejb-security` quickstart demonstrates the use of Jakarta EE declarative security to control access to EJBs in {productName}. | Intermediate | _none_
| link:ejb-security-context-propagation/README{outfilesuffix}[ejb-security-context-propagation]|EJB, Security | The `ejb-security-context-propagation` quickstart demonstrates how the security context can be propagated to a remote EJB using a remote outbound connection configuration | Advanced | _none_
| link:ejb-security-jaas/README{outfilesuffix}[ejb-security-jaas]|EJB, Security | The `ejb-security-jaas` quickstart demonstrates how legacy `JAAS` security domains can be used in conjunction with `Elytron` | Intermediate | _none_
| link:ejb-security-programmatic-auth/README{outfilesuffix}[ejb-security-programmatic-auth]|EJB, Security | The `ejb-security-programmatic-auth` quickstart demonstrates how to programmatically setup different identities when invoking a remote secured EJB. | Intermediate | _none_
@@ -490,7 +490,7 @@ NOTE: Some of these quickstarts use the H2 database included with WildFly. It is
| link:logging/README{outfilesuffix}[logging]|Logging | The `logging` quickstart demonstrates how to configure different logging levels in {productName}. It also includes an asynchronous logging example. | Intermediate | _none_
| link:logging-tools/README{outfilesuffix}[logging-tools]|JBoss Logging Tools | The `logging-tools` quickstart shows how to use JBoss Logging Tools to create internationalized loggers, exceptions, and messages and localize them. | Beginner | _none_
| link:mail/README{outfilesuffix}[mail]|JavaMail, CDI, JSF | The `mail` quickstart demonstrates how to send email using CDI and JSF and the default Mail provider that ships with {productName}. | Beginner | _none_
| link:managed-executor-service/README{outfilesuffix}[managed-executor-service]|EE Concurrency Utilities, JAX-RS, JAX-RS Client API | The `managed-executor-service` quickstart demonstrates how Java EE applications can submit tasks for asynchronous execution. | Beginner | _none_
| link:managed-executor-service/README{outfilesuffix}[managed-executor-service]|EE Concurrency Utilities, JAX-RS, JAX-RS Client API | The `managed-executor-service` quickstart demonstrates how Jakarta EE applications can submit tasks for asynchronous execution. | Beginner | _none_
| link:messaging-clustering/README{outfilesuffix}[messaging-clustering]|JMS, MDB | The `messaging-clustering` quickstart does not contain any code and instead uses the `helloworld-mdb` quickstart to demonstrate clustering using ActiveMQ Messaging. | Intermediate | link:helloworld-mdb/README.html[helloworld-mdb]
| link:messaging-clustering-singleton/README{outfilesuffix}[messaging-clustering-singleton]|JMS, MDB, Clustering | The `messaging-clustering-singleton` quickstart uses a JMS topic and a queue to demonstrate clustering using {productName} messaging with MDB singleton configuration where only one node in the cluster will be active. | Advanced | _none_
| link:numberguess/README{outfilesuffix}[numberguess]|CDI, JSF | The `numberguess` quickstart demonstrates the use of CDI (Contexts and Dependency Injection) and JSF (JavaServer Faces) in {productName}. | Beginner | _none_
@@ -499,7 +499,7 @@ NOTE: Some of these quickstarts use the H2 database included with WildFly. It is
| link:security-domain-to-domain/README{outfilesuffix}[security-domain-to-domain]|Servlet, EJB, Security | The `security-domain-to-domain` quickstart demonstrates the propagation of an identity across two different deployments using different security domains. | Advanced | _none_
| link:servlet-async/README{outfilesuffix}[servlet-async]|Asynchronous Servlet, CDI, EJB | The `servlet-async` quickstart demonstrates how to use asynchronous servlets to detach long-running tasks and free up the request processing thread. | Intermediate | _none_
| link:servlet-filterlistener/README{outfilesuffix}[servlet-filterlistener]|Servlet Filter, Servlet Listener | The `servlet-filterlistener` quickstart demonstrates how to use Servlet filters and listeners in an application. | Intermediate | _none_
| link:servlet-security/README{outfilesuffix}[servlet-security]|Servlet, Security | The `servlet-security` quickstart demonstrates the use of Java EE declarative security to control access to Servlets and Security in {productName}. | Intermediate | _none_
| link:servlet-security/README{outfilesuffix}[servlet-security]|Servlet, Security | The `servlet-security` quickstart demonstrates the use of Jakarta EE declarative security to control access to Servlets and Security in {productName}. | Intermediate | _none_
| link:shopping-cart/README{outfilesuffix}[shopping-cart]|SFSB EJB | The `shopping-cart` quickstart demonstrates how to deploy and run a simple {javaVersion} shopping cart application that uses a stateful session bean (SFSB). | Intermediate | _none_
| link:spring-greeter/README{outfilesuffix}[spring-greeter]|Spring MVC, JSP, JPA | The `spring-greeter` quickstart is based on the `greeter` quickstart, but differs in that it uses Spring MVC for Mapping `GET` and `POST` requests. | Beginner | _none_
| link:spring-kitchensink-basic/README{outfilesuffix}[spring-kitchensink-basic]|JSP, JPA, JSON, Spring, JUnit | The `spring-kitchensink-basic` quickstart is an example of a {javaVersion} application using JSP, JPA and Spring 4.x. | Intermediate | _none_
@@ -508,12 +508,12 @@ NOTE: Some of these quickstarts use the H2 database included with WildFly. It is
| link:tasks-jsf/README{outfilesuffix}[tasks-jsf]|JSF, JPA | The `tasks-jsf` quickstart demonstrates how to use JPA persistence with JSF as the view layer. | Intermediate | _none_
| link:tasks-rs/README{outfilesuffix}[tasks-rs]|JPA, JAX-RS | The `tasks-rs` quickstart demonstrates how to implement a JAX-RS service that uses JPA persistence. | Intermediate | _none_
| link:temperature-converter/README{outfilesuffix}[temperature-converter]|CDI, JSF, SLSB EJB | The `temperature-converter` quickstart does temperature conversion using an EJB Stateless Session Bean (SLSB), CDI, and a JSF front-end client. | Beginner | _none_
| link:thread-racing/README{outfilesuffix}[thread-racing]|Batch, CDI, EE Concurrency, JAX-RS, JMS, JPA, JSON, Web Sockets | A thread racing web application that demonstrates technologies introduced or updated in the latest Java EE specification. | Beginner | _none_
| link:thread-racing/README{outfilesuffix}[thread-racing]|Batch, CDI, EE Concurrency, JAX-RS, JMS, JPA, JSON, Web Sockets | A thread racing web application that demonstrates technologies introduced or updated in the latest Jakarta EE specification. | Beginner | _none_
| link:websocket-client/README{outfilesuffix}[websocket-client]|Web Socket, CDI Events, JSON, SSL | Demonstrates use of a Javascript WebSocket client, WebSocket configuration, programmatic binding, and secure WebSocket. | Intermediate | _none_
| link:websocket-endpoint/README{outfilesuffix}[websocket-endpoint]|CDI, WebSocket, JSON-P | Shows how to use WebSockets with JSON to broadcast information to all open WebSocket sessions in {productName}. | Beginner | _none_
| link:websocket-hello/README{outfilesuffix}[websocket-hello]|WebSocket, CDI, JSF | The `websocket-hello` quickstart demonstrates how to create a simple WebSocket application. | Beginner | _none_
| link:wicket-ear/README{outfilesuffix}[wicket-ear]|Apache Wicket, JPA | Demonstrates how to use the Wicket Framework 7.x with the JBoss server using the Wicket Java EE integration, packaged as an EAR | Intermediate | _none_
| link:wicket-war/README{outfilesuffix}[wicket-war]|Apache Wicket, JPA | Demonstrates how to use the Wicket Framework 7.x with the JBoss server using the Wicket Java EE integration packaged as a WAR | Intermediate | _none_
| link:wicket-ear/README{outfilesuffix}[wicket-ear]|Apache Wicket, JPA | Demonstrates how to use the Wicket Framework 7.x with the JBoss server using the Wicket Jakarta EE integration, packaged as an EAR | Intermediate | _none_
| link:wicket-war/README{outfilesuffix}[wicket-war]|Apache Wicket, JPA | Demonstrates how to use the Wicket Framework 7.x with the JBoss server using the Wicket Jakarta EE integration packaged as a WAR | Intermediate | _none_
| link:wsat-simple/README{outfilesuffix}[wsat-simple]|WS-AT, JAX-WS | The `wsat-simple` quickstart demonstrates a WS-AT (WS-AtomicTransaction) enabled JAX-WS Web service, bundled as a WAR, and deployed to {productName}. | Intermediate | _none_
| link:wsba-coordinator-completion-simple/README{outfilesuffix}[wsba-coordinator-completion-simple]|WS-BA, JAX-WS | The `wsba-coordinator-completion-simple` quickstart deploys a WS-BA (WS Business Activity) enabled JAX-WS Web service WAR (CoordinatorCompletion protocol). | Intermediate | _none_
| link:wsba-participant-completion-simple/README{outfilesuffix}[wsba-participant-completion-simple]|WS-BA, JAX-WS | The `wsba-participant-completion-simple` quickstart deploys a WS-BA (WS Business Activity) enabled JAX-WS Web service WAR (ParticipantCompletion Protocol). | Intermediate | _none_
@@ -14,7 +14,7 @@ The `app-client` quickstart demonstrates how to code and package a client app an

== What is it?

The `app-client` quickstart demonstrates how to use the {productName} client container to start the client `Main` program and provide Dependency Injections (DI) for client applications in {productNameFull}. It also shows you how to use Maven to package the application according to the Java EE specification.
The `app-client` quickstart demonstrates how to use the {productName} client container to start the client `Main` program and provide Dependency Injections (DI) for client applications in {productNameFull}. It also shows you how to use Maven to package the application according to the Jakarta EE specification.

This example consists of the following Maven projects, each with a shared parent.

@@ -80,7 +80,7 @@ ClientContext is here = {Client =dev84, jboss.source-address=localhost/127.0.0.1

== Access the Remote Client Application from a Different Machine

This example shows how to invoke an EJB from a remote standalone Java EE application on a different machine. In this case, the client needs to define a properties file to define properties to connect and authenticate to the server. The properties file is passed on the command line using the `--ejb-client-properties` argument.
This example shows how to invoke an EJB from a remote standalone Jakarta EE application on a different machine. In this case, the client needs to define a properties file to define properties to connect and authenticate to the server. The properties file is passed on the command line using the `--ejb-client-properties` argument.

=== Configure Machine_1 (Remote Server Machine)

@@ -28,7 +28,7 @@
import javax.persistence.PersistenceContext;

/**
* This class uses CDI to alias Java EE resources, such as the persistence context, to CDI beans
* This class uses CDI to alias Jakarta EE resources, such as the persistence context, to CDI beans
*
* <p>
* Example injection on a managed bean field:
@@ -22,7 +22,7 @@ The `bmt` quickstart demonstrates Bean-Managed Transactions (BMT), showing how t
The `bmt` quickstart demonstrates how to manually manage transaction demarcation while accessing JPA entities in {productNameFull}.
On occasion, the application developer requires finer grained control over the lifecycle of JTA transactions and JPA Entity Managers than the defaults provided by the Java EE container. This example shows how the developer can override these defaults and take control of aspects of the lifecycle of JPA and transactions.
On occasion, the application developer requires finer grained control over the lifecycle of JTA transactions and JPA Entity Managers than the defaults provided by the Jakarta EE container. This example shows how the developer can override these defaults and take control of aspects of the lifecycle of JPA and transactions.
When you run this example, you are presented with a *Use bean managed Entity Managers* checkbox.
@@ -31,7 +31,7 @@
<artifactId>contacts-jquerymobile</artifactId>
<packaging>war</packaging>
<name>Quickstart: contacts-jquerymobile</name>
<description>A Java EE HTML5 mobile web application for use with JBoss EAP</description>
<description>A Jakarta EE HTML5 mobile web application for use with JBoss EAP</description>

<licenses>
<license>
@@ -20,7 +20,7 @@
import javax.ws.rs.core.Application;

/**
* A class extending {@link Application} and annotated with @ApplicationPath is the Java EE 7 "no XML" approach to activating
* A class extending {@link Application} and annotated with @ApplicationPath is the Jakarta EE "no XML" approach to activating
* JAX-RS.
* <p>
* <p>
@@ -24,7 +24,7 @@
import javax.persistence.PersistenceContext;

/**
* This class uses CDI to alias Java EE resources, such as the persistence context, to CDI beans
* This class uses CDI to alias Jakarta EE resources, such as the persistence context, to CDI beans
*
* <p>
* Example injection on a managed bean field:
@@ -26,7 +26,7 @@
import javax.inject.Named;

/**
* This class uses CDI to alias Java EE resources, such as the persistence context, to CDI beans
* This class uses CDI to alias Jakarta EE resources, such as the persistence context, to CDI beans
*
*/
public class Resources {
@@ -21,7 +21,7 @@
import javax.persistence.PersistenceContext;

/**
* This class uses CDI to alias Java EE resources, such as the persistence context, to CDI beans
* This class uses CDI to alias Jakarta EE resources, such as the persistence context, to CDI beans
*
* <p>
* Example injection on a managed bean field:
@@ -64,9 +64,9 @@
<artifactId>maven-ear-plugin</artifactId>
<!-- configuring the EAR plug-in -->
<configuration>
<!-- Tell Maven we are using Java EE -->
<!-- Tell Maven we are using Jakarta EE -->
<version>7</version>
<!-- Use Java EE ear libraries as needed. Java EE ear libraries
<!-- Use Jakarta EE ear libraries as needed. Jakarta EE ear libraries
are in easy way to package any libraries needed in the ear, and automatically
have any modules (EJB-JARs and WARs) use them -->
<defaultLibBundleDir>lib</defaultLibBundleDir>
@@ -92,7 +92,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<!-- Java EE doesn't require web.xml, Maven needs to catch up! -->
<!-- Jakarta EE doesn't require web.xml, Maven needs to catch up! -->
<failOnMissingWebXml>false</failOnMissingWebXml>
<archive>
<addMavenDescriptor>false</addMavenDescriptor>

0 comments on commit 9dffc41

Please sign in to comment.
You can’t perform that action at this time.