stbischof commented on code in PR #303:
URL: https://github.com/apache/felix-dev/pull/303#discussion_r1561374629


##########
http/README.md:
##########
@@ -1,44 +1,63 @@
 # Apache Felix HTTP Service
 
-This is an implementation of the [HTTP Whiteboard Service as described in 
chapter 
140](https://osgi.org/specification/osgi.cmpn/7.0.0/service.http.whiteboard.html)
 of the OSGi Compendium (R7) in combination with an implementation of the [HTTP 
Service Specification as described in chapter 
102](https://osgi.org/specification/osgi.cmpn/7.0.0/service.http.html) of the 
OSGi Compendium. The goal is to provide a standard and simplified way to 
register servlets, listeners, filters, and resources in a servlet container, to 
managed them in servlet contexts, and to associate them with URIs. Complete set 
of features:
+This is an implementation of the [R8.1 Whiteboard Specification for Jakarta 
Servlet](https://docs.osgi.org/specification/osgi.cmpn/8.1.0/service.servlet.html),
 [HTTP Whiteboard Service as described in chapter 
140](https://osgi.org/specification/osgi.cmpn/7.0.0/service.http.whiteboard.html)
 of the OSGi Compendium (R7) in combination with an implementation of the [HTTP 
Service Specification as described in chapter 
102](https://osgi.org/specification/osgi.cmpn/7.0.0/service.http.html) of the 
OSGi Compendium. The goal is to provide a standard and simplified way to 
register servlets, listeners, filters, and resources in a servlet container, to 
managed them in servlet contexts, and to associate them with URIs. Complete set 
of features:
 
   * Standard OSGi Http Service implementation
   * Standard OSGi Http Whiteboard implementation
-  * Run either with Jetty or inside your own application server using the 
servlet bridge
+  * Run either with Jetty (version 11 or 12) bundle or inside your own 
application server using the servlet bridge
+    * [Felix HTTP Jetty 
12](https://mvnrepository.com/artifact/org.apache.felix/org.apache.felix.http.jetty12)
 is the preferred bundle of choice as it supports JavaEE 8 and JakartaEE 8 with 
the `javax` namespace, JakartaEE 9/10/11/future versions with the `jakarta` 
namespace.
+      * [Jetty WebSocket support](https://github.com/apache/felix-dev/pull/298)
+    * [Felix HTTP Jetty 
11](https://mvnrepository.com/artifact/org.apache.felix/org.apache.felix.http.jetty)
 is the predecessor of the Jetty 12 bundle, which shipped with [Jetty 
9.4.x](https://mvnrepository.com/artifact/org.apache.felix/org.apache.felix.http.jetty/4.2.26)
 in the 4.x range, [Jetty 
11.x](https://mvnrepository.com/artifact/org.apache.felix/org.apache.felix.http.jetty/5.1.10)
 in the 5.x range.
   * Correctly versioned Servlet API.
 
 ## Installing
 
 The Apache Felix HTTP Service project includes several bundles.
 
-  * `org.apache.felix.http.servlet-api` - Provides the Servlet API (versions 
2.6, 3.0, and 3.1 of the Servlet specification)
-  * `org.apache.felix.http.api` - Provides the OSGi APIs for the Http 
Whiteboard and Http Service.
-  * `org.apache.felix.http.jetty` - Implementation that is embedding Jetty 
server (currently Jetty 9, requiring Java 8). This bundle includes the http.api 
bundle.
-  * `org.apache.felix.http.sslfilter` - Servlet filter for handling SSL 
termination.
-  * `org.apache.felix.http.bridge` - Implementation that uses the host 
application server (bridged mode). Must be used with the proxy (see below)
-  * `org.apache.felix.http.cometd` - Adds Comet/Ajax Push functionality to the 
HTTP Service implementation.
-  * `org.apache.felix.http.proxy` - Proxy that is needed inside WAR when 
deployed inside an application server.
+  * 
[`org.apache.felix.http.servlet-api`](https://mvnrepository.com/artifact/org.apache.felix/org.apache.felix.http.servlet-api)
 - Provides the Servlet API (versions 2.6, 3.0, 3.1, 4.0, 5.0 and 6.0 of the 
Servlet specification)
+  * 
[`org.apache.felix.http.api`](https://mvnrepository.com/artifact/org.apache.felix/org.apache.felix.http.api)
 - Provides the OSGi APIs for the Http Whiteboard and Http Service.
+  * 
[`org.apache.felix.http.jetty12`](https://mvnrepository.com/artifact/org.apache.felix/org.apache.felix.http.jetty12)
 - Implementation that is embedding Jetty server (currently Jetty 12.x, 
requiring Java 17). This bundle includes the http.api bundle. It's the the 
preferred Felix Jetty bundle to use, as Jetty 11 will be [EoL in 
2025](https://github.com/jetty/jetty.project/issues/10485).
+  * 
[`org.apache.felix.http.jetty`](https://mvnrepository.com/artifact/org.apache.felix/org.apache.felix.http.jetty)
 - Predecessor implementation that is embedding Jetty server (currently Jetty 
11.x, requiring Java 11). This bundle includes the http.api bundle. 
+  * 
[`org.apache.felix.http.sslfilter`](https://mvnrepository.com/artifact/org.apache.felix/org.apache.felix.http.sslfilter)
 - Servlet filter for handling SSL termination.
+  * 
[`org.apache.felix.http.bridge`](https://mvnrepository.com/artifact/org.apache.felix/org.apache.felix.http.bridge)
 - Implementation that uses the host application server (bridged mode). Must be 
used with the proxy (see below)
+  * 
[`org.apache.felix.http.proxy`](https://mvnrepository.com/artifact/org.apache.felix/org.apache.felix.http.proxy)
 - Proxy that is needed inside WAR when deployed inside an application server.
+  * 
[`org.apache.felix.http.wrappers`](https://mvnrepository.com/artifact/org.apache.felix/org.apache.felix.http.wrappers)
 offers wrapper classes that can be used when transitioning to the `jakarta` 
namespace, while having libraries that don't offer a jakartified version yet. 
 
 Note that as of version **3.x**, the Servlet APIs are **no longer** packaged 
with the implementation bundles! If you are migrating from lower versions, be 
sure to add the
 `org.apache.felix.http.servlet-api` (or any other compatible Serlvet API 
bundle) to your
 classpath and deployment!
 
+### Light bundle
+If you would like to use your own Jetty jar instead of the one packaged with 
the Felix Jetty bundles, you can use the `light` variant.
+When building the Felix Jetty bundle with Maven (`mvn clean install`), the 
`light` bundle will be created in the `target` directory, postfixed with 
`-light.jar`.
+This jar can be deployed to your Felix OSGi environment, along with a 
compatible Jetty jar.

Review Comment:
   could you add this
   ```
       <dependency>
         <groupId>org.apache.felix</groupId>
         <artifactId>org.apache.felix.http.jetty12</artifactId>
         <version>1.0.2</version>
        <classifier>light</classifier>
         <scope>runtime</scope>
       </dependency>
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@felix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to