Daniel-Dos commented on a change in pull request #703:
URL: https://github.com/apache/tomee/pull/703#discussion_r468821246
##########
File path: examples/rest-xml-json/README_pt.adoc
##########
@@ -0,0 +1,398 @@
+:index-group: Unrevised
+:jbake-type: page
+:jbake-status: status=published
+= REST Simples
+
+Definir um serviço REST é muito fácil, simplesmente anúncio a anotação @Path
para a
+classe, então definir nos métodos, o método HTTP para usar (@GET, @POST, …).
+
+#O Código
+
+== O serviço REST: @Path, @Produces, @Consumes
+
+Aqui nós vemos um bean que utiliza a opção Concorrência Bean-Managed, bem
+como a anotação @Startup, que faz com que o bean seja instanciado pelo
+contêiner, enquanto a aplicação inicia. Beans Singleton com
+@ConcurrencyManagement(BEAN) são responsáveis por seus próprios
+thread-safety. O bean mostrado é uma simples ``registro'' de propriedade e
+provisiona um lugar onde opções podem ser definidas e recuperadas por todos os
beans
+na aplicação.
Review comment:
the example described here does not reflect the current project code.
Because it does not contain the elements described in the text. Here it is
necessary to update to reflect the example and also to update the English
version.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]