knitr::opts_chunk$set(echo = FALSE, results = 'asis')
rcoursetools::insertOdgAsPdf(psOdgFileStem = "JavaEETieredArchitecture")
Blau: Web Profile, grün: Teil von SE, gelb: zusätzlich im Full Profile
rcoursetools::insertOdgAsPdf(psOdgFileStem = "JavaEE7Technologies")
HttpServlet
import javax.ws.rs.GET; import javax.ws.rs.PATH; @Path("message") public class MessageResource { @GET public String getMessage(){ return "Hello World!"; } }
HTTP GET http://server:port/mywebapp/resources/message
$\rightarrow$ Resultat: "Hello World!"
HTTP POST
and http://server:port/mywebapp/resources/message
mit "Hello World!" im Body
... @POST public void setMessage(String message){ this.message = message; }
rcoursetools::insertOdgAsPdf(psOdgFileStem = "ResourceDesign")
Kursunterlagen:
Q:\Projekte\ICAR_ADE_Datenaustausch\ \\
JavaEE7FrontEndWebApplicationDevelopment
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.