@@ -0,0 +1,1749 @@
+package de.asw.courses.web2016.demo.backend.el;%0A%0Aimport javax.el.ELContext;%0Aimport javax.el.ELManager;%0Aimport javax.el.ELProcessor;%0Aimport javax.ws.rs.GET;%0Aimport javax.ws.rs.Path;%0A%0A@Path(%22/el%22)%0Apublic class ElExampleResource %7B%0A%0A%09@GET%0A%09public String evaluatePath() %7B%0A%0A%09%09Person person = new Person(%22Luke%22, new Address(%22Tatooine Way%22, %22133%22, %22232423%22));%0A%0A%09%09ELProcessor processor = new ELProcessor();%0A%0A%09%09ELContext context = processor.getELManager().getELContext();%0A%09%09context.getVariableMapper().setVariable(%22person%22,%0A%09%09%09%09ELManager.getExpressionFactory().createValueExpression(person, Person.class));%0A%09%09%0A%09%09Object address = processor.getValue(%22person.address.street%22, String.class);%0A%0A%09%09return address.toString();%0A%09%7D%0A%0A%09public static class Person %7B%0A%09%09String name;%0A%09%09Address address;%0A%0A%09%09public Person(String name, Address address) %7B%0A%09%09%09this.name = name;%0A%09%09%09this.address = address;%0A%09%09%7D%0A%0A%09%09public Address getAddress() %7B%0A%09%09%09return address;%0A%09%09%7D%0A%0A%09%09public void setAddress(Address address) %7B%0A%09%09%09this.address = address;%0A%09%09%7D%0A%0A%09%09public String getName() %7B%0A%09%09%09return name;%0A%09%09%7D%0A%0A%09%09public void setName(String name) %7B%0A%09%09%09this.name = name;%0A%09%09%7D%0A%0A%09%7D%0A%0A%09public static class Address %7B%0A%09%09String street;%0A%09%09String houseNo;%0A%09%09String zipCode;%0A%0A%09%09public Address(String street, String houseNo, String zipCode) %7B%0A%09%09%09this.street = street;%0A%09%09%09this.houseNo = houseNo;%0A%09%09%09this.zipCode = zipCode;%0A%09%09%7D%0A%0A%09%09public String getStreet() %7B%0A%09%09%09return street;%0A%09%09%7D%0A%0A%09%09public void setStreet(String street) %7B%0A%09%09%09this.street = street;%0A%09%09%7D%0A%0A%09%09public String getHouseNo() %7B%0A%09%09%09return houseNo;%0A%09%09%7D%0A%0A%09%09public void setHouseNo(String houseNo) %7B%0A%09%09%09this.houseNo = houseNo;%0A%09%09%7D%0A%0A%09%09public String getZipCode() %7B%0A%09%09%09return zipCode;%0A%09%09%7D%0A%0A%09%09public void setZipCode(String zipCode) %7B%0A%09%09%09this.zipCode = zipCode;%0A%09%09%7D%0A%09%7D%0A%7D%0A

Add example for using EL Expressions in code