The document discusses the evolution of RESTful architectures and integration over the web. It begins by describing early approaches using single URIs and HTTP verbs that required a priori knowledge of the system. It then discusses moving to multiple URIs and verbs to reduce coupling. Finally, it discusses how true RESTful integration is achieved through hypermedia, where clients interact by following links and submitting forms to move between resources and representations.
Slides da aula aberta sobre REST da Caelum. Onde Jim Webber da TW apresentou motivos financeiros para voce passar a usar a web como infraestrutura. Guilherme Silveira mostrou como fazer isso.
O grandiosismo dos loucos - Agile Brazil 2011, Cecilia Fernandes e Guilherme ...Guilherme Silveira
Uma discussão sobre alguns raros posts que apresentam soluções do tipo "o que temos hoje é o suficiente ou o melhor para sempre"
O ponto é discutir que não podemos parar de aprender, inovar, e tentar mudar o mercado para melhor.
Começando com integração contínua, seguimos todos os passos até deploy contínuo. Tudo o que você precisa saber para, no decorrer de alguns meses, sair de um sistema de deploy bagunçado para um automatizado.
Palestra apresentada no Mare de Agilidade 2010 em BH por Guilherme Silveira, da Caelum.
Mobile Patrons: Better Services on the Go (For Techie)Vincci Kwong
Several mobile friendly initiatives which improve mobile user’s experience with library resources will be discussed. These initiatives include creation of a mobile library website, development of mobile friendly authentication user interface, implementation of a computer availability mobile page and offering of texting reference service.
Slides da aula aberta sobre REST da Caelum. Onde Jim Webber da TW apresentou motivos financeiros para voce passar a usar a web como infraestrutura. Guilherme Silveira mostrou como fazer isso.
O grandiosismo dos loucos - Agile Brazil 2011, Cecilia Fernandes e Guilherme ...Guilherme Silveira
Uma discussão sobre alguns raros posts que apresentam soluções do tipo "o que temos hoje é o suficiente ou o melhor para sempre"
O ponto é discutir que não podemos parar de aprender, inovar, e tentar mudar o mercado para melhor.
Começando com integração contínua, seguimos todos os passos até deploy contínuo. Tudo o que você precisa saber para, no decorrer de alguns meses, sair de um sistema de deploy bagunçado para um automatizado.
Palestra apresentada no Mare de Agilidade 2010 em BH por Guilherme Silveira, da Caelum.
Mobile Patrons: Better Services on the Go (For Techie)Vincci Kwong
Several mobile friendly initiatives which improve mobile user’s experience with library resources will be discussed. These initiatives include creation of a mobile library website, development of mobile friendly authentication user interface, implementation of a computer availability mobile page and offering of texting reference service.
Server-Side Push: Comet, Web Sockets come of age (OSCON 2013)Brian Sam-Bodden
Server-side browser push technologies have been around for a while in one way or another, ranging from from crude browser polling to Flash enabled frameworks. In this session you’ll get a code-driven walk-through on the evolution and mechanics of server-push technologies, including:
Server streaming
Polling and long Polling
Comet
Web Sockets
The Web beyond "usernames & passwords" (OSDC12)Francois Marier
Identity systems on the Web are a bit of a mess. Surely in 2012, we would have something else than usernames and passwords for logging into websites. A solution that doesn't require trusting a central authority with a privacy policy that can change at a whim.
It turns out that solving the general identity problem is very hard. Some of these solutions require complicated redirections, an overwhelming amount of jargon and lots of verbose XML. The technology has been around for a long time, but implementing it properly (and safely) is often incredibly difficult. It's a lot to ask of the millions of part-time developers out there that are building sites out of some quick HTML, a MySQL database and some PHP Code samples.
This talk will explore the challenges of the existing Web identity solutions and introduce the choices that we made during the development of Persona, a new Open Source federated identity solution from Mozilla, designed and built to respect user privacy.
A brief summary of our first month experience using Mojolicious: what worked and what didn't work.
Taken from the Oslo Perl Mongers talk given October 5th, 2011
Passwords suck, but centralized proprietary services are not the answerFrancois Marier
Passwords are a big problem online and a lot of websites have turned to centralized services to handle logins for them. It's a disturbing trend from a privacy/surveillance point of view, but from a software freedom point of view, it's also turning these proprietary services into core dependencies.
That's why Mozilla is building Persona, a new federated and cross-browser system which makes identity a standard part of the browser. It's simple, privacy-sensitive and entirely free software.
The dark side of the app - Todi Appy Days 2015Todi Appy Days
La presentazione del workshop di Simone Di Maulo e Claudio D'Alicandro "The dark side of the app" a Todi Appy Days 2015.
The dark side of the app: a journey through the api development.
Building Persona: federated and privacy-sensitive identity for the Web (Open ...Francois Marier
This talk explores the challenges of the existing Web identity solutions and introduce the choices that were made during the development of Persona (formerly BrowserID), a new Open Source federated identity solution from Mozilla, designed and built to respect user privacy.
Building Single Page Application (SPA) with Symfony2 and AngularJSAntonio Peric-Mazar
Forget about classic website where UX is not so important. We are living in time where usability is one of the important thing if you are building some business client oriented web service. How to connect Symfony2 as backend and AngularJS as frontend solution? What are best practices? What are disadvantageous? How to take best from both worlds? These are topics I will cover in my talk with real examples.
Diversas praticas que podemos adotar para minimizar o tempo minimo para entrega de um produto novo no mercado e a experiencia com um produto especifico.
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Jeffrey Haguewood
Sidekick Solutions uses Bonterra Impact Management (fka Social Solutions Apricot) and automation solutions to integrate data for business workflows.
We believe integration and automation are essential to user experience and the promise of efficient work through technology. Automation is the critical ingredient to realizing that full vision. We develop integration products and services for Bonterra Case Management software to support the deployment of automations for a variety of use cases.
This video focuses on the notifications, alerts, and approval requests using Slack for Bonterra Impact Management. The solutions covered in this webinar can also be deployed for Microsoft Teams.
Interested in deploying notification automations for Bonterra Impact Management? Contact us at sales@sidekicksolutionsllc.com to discuss next steps.
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf91mobiles
91mobiles recently conducted a Smart TV Buyer Insights Survey in which we asked over 3,000 respondents about the TV they own, aspects they look at on a new TV, and their TV buying preferences.
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...DanBrown980551
Do you want to learn how to model and simulate an electrical network from scratch in under an hour?
Then welcome to this PowSyBl workshop, hosted by Rte, the French Transmission System Operator (TSO)!
During the webinar, you will discover the PowSyBl ecosystem as well as handle and study an electrical network through an interactive Python notebook.
PowSyBl is an open source project hosted by LF Energy, which offers a comprehensive set of features for electrical grid modelling and simulation. Among other advanced features, PowSyBl provides:
- A fully editable and extendable library for grid component modelling;
- Visualization tools to display your network;
- Grid simulation tools, such as power flows, security analyses (with or without remedial actions) and sensitivity analyses;
The framework is mostly written in Java, with a Python binding so that Python developers can access PowSyBl functionalities as well.
What you will learn during the webinar:
- For beginners: discover PowSyBl's functionalities through a quick general presentation and the notebook, without needing any expert coding skills;
- For advanced developers: master the skills to efficiently apply PowSyBl functionalities to your real-world scenarios.
State of ICS and IoT Cyber Threat Landscape Report 2024 previewPrayukth K V
The IoT and OT threat landscape report has been prepared by the Threat Research Team at Sectrio using data from Sectrio, cyber threat intelligence farming facilities spread across over 85 cities around the world. In addition, Sectrio also runs AI-based advanced threat and payload engagement facilities that serve as sinks to attract and engage sophisticated threat actors, and newer malware including new variants and latent threats that are at an earlier stage of development.
The latest edition of the OT/ICS and IoT security Threat Landscape Report 2024 also covers:
State of global ICS asset and network exposure
Sectoral targets and attacks as well as the cost of ransom
Global APT activity, AI usage, actor and tactic profiles, and implications
Rise in volumes of AI-powered cyberattacks
Major cyber events in 2024
Malware and malicious payload trends
Cyberattack types and targets
Vulnerability exploit attempts on CVEs
Attacks on counties – USA
Expansion of bot farms – how, where, and why
In-depth analysis of the cyber threat landscape across North America, South America, Europe, APAC, and the Middle East
Why are attacks on smart factories rising?
Cyber risk predictions
Axis of attacks – Europe
Systemic attacks in the Middle East
Download the full report from here:
https://sectrio.com/resources/ot-threat-landscape-reports/sectrio-releases-ot-ics-and-iot-security-threat-landscape-report-2024/
UiPath Test Automation using UiPath Test Suite series, part 4DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 4. In this session, we will cover Test Manager overview along with SAP heatmap.
The UiPath Test Manager overview with SAP heatmap webinar offers a concise yet comprehensive exploration of the role of a Test Manager within SAP environments, coupled with the utilization of heatmaps for effective testing strategies.
Participants will gain insights into the responsibilities, challenges, and best practices associated with test management in SAP projects. Additionally, the webinar delves into the significance of heatmaps as a visual aid for identifying testing priorities, areas of risk, and resource allocation within SAP landscapes. Through this session, attendees can expect to enhance their understanding of test management principles while learning practical approaches to optimize testing processes in SAP environments using heatmap visualization techniques
What will you get from this session?
1. Insights into SAP testing best practices
2. Heatmap utilization for testing
3. Optimization of testing processes
4. Demo
Topics covered:
Execution from the test manager
Orchestrator execution result
Defect reporting
SAP heatmap example with demo
Speaker:
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Tobias Schneck
As AI technology is pushing into IT I was wondering myself, as an “infrastructure container kubernetes guy”, how get this fancy AI technology get managed from an infrastructure operational view? Is it possible to apply our lovely cloud native principals as well? What benefit’s both technologies could bring to each other?
Let me take this questions and provide you a short journey through existing deployment models and use cases for AI software. On practical examples, we discuss what cloud/on-premise strategy we may need for applying it to our own infrastructure to get it to work from an enterprise perspective. I want to give an overview about infrastructure requirements and technologies, what could be beneficial or limiting your AI use cases in an enterprise environment. An interactive Demo will give you some insides, what approaches I got already working for real.
Securing your Kubernetes cluster_ a step-by-step guide to success !KatiaHIMEUR1
Today, after several years of existence, an extremely active community and an ultra-dynamic ecosystem, Kubernetes has established itself as the de facto standard in container orchestration. Thanks to a wide range of managed services, it has never been so easy to set up a ready-to-use Kubernetes cluster.
However, this ease of use means that the subject of security in Kubernetes is often left for later, or even neglected. This exposes companies to significant risks.
In this talk, I'll show you step-by-step how to secure your Kubernetes cluster for greater peace of mind and reliability.
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...James Anderson
Effective Application Security in Software Delivery lifecycle using Deployment Firewall and DBOM
The modern software delivery process (or the CI/CD process) includes many tools, distributed teams, open-source code, and cloud platforms. Constant focus on speed to release software to market, along with the traditional slow and manual security checks has caused gaps in continuous security as an important piece in the software supply chain. Today organizations feel more susceptible to external and internal cyber threats due to the vast attack surface in their applications supply chain and the lack of end-to-end governance and risk management.
The software team must secure its software delivery process to avoid vulnerability and security breaches. This needs to be achieved with existing tool chains and without extensive rework of the delivery processes. This talk will present strategies and techniques for providing visibility into the true risk of the existing vulnerabilities, preventing the introduction of security issues in the software, resolving vulnerabilities in production environments quickly, and capturing the deployment bill of materials (DBOM).
Speakers:
Bob Boule
Robert Boule is a technology enthusiast with PASSION for technology and making things work along with a knack for helping others understand how things work. He comes with around 20 years of solution engineering experience in application security, software continuous delivery, and SaaS platforms. He is known for his dynamic presentations in CI/CD and application security integrated in software delivery lifecycle.
Gopinath Rebala
Gopinath Rebala is the CTO of OpsMx, where he has overall responsibility for the machine learning and data processing architectures for Secure Software Delivery. Gopi also has a strong connection with our customers, leading design and architecture for strategic implementations. Gopi is a frequent speaker and well-known leader in continuous delivery and integrating security into software delivery.
Connector Corner: Automate dynamic content and events by pushing a buttonDianaGray10
Here is something new! In our next Connector Corner webinar, we will demonstrate how you can use a single workflow to:
Create a campaign using Mailchimp with merge tags/fields
Send an interactive Slack channel message (using buttons)
Have the message received by managers and peers along with a test email for review
But there’s more:
In a second workflow supporting the same use case, you’ll see:
Your campaign sent to target colleagues for approval
If the “Approve” button is clicked, a Jira/Zendesk ticket is created for the marketing design team
But—if the “Reject” button is pushed, colleagues will be alerted via Slack message
Join us to learn more about this new, human-in-the-loop capability, brought to you by Integration Service connectors.
And...
Speakers:
Akshay Agnihotri, Product Manager
Charlie Greenberg, Host
48. resttrips.com: sharing a trip
flight = Client.at('http://resttrips.com/f/574XR4').get();
confirmation = flight.getLink("payment").
patch(cardInformation, value/2);
// send the payment link to another part of the web
flight = Client.at('http://resttrips.com/f/574XR4').get();
confirmation = flight.getLink("payment").
patch(cardInformation, value/2);
49. resttrips.com: sharing a trip
flight = Client.at('http://resttrips.com/f/574XR4').get();
confirmation = flight.getLink("payment").
patch(cardInformation, value/2);
// send the payment link to another part of the web
flight = Client.at('http://resttrips.com/f/574XR4').get();
confirmation = flight.getLink("payment").
patch(cardInformation, value/2);
50. resttrips.com: sharing a trip
flight = Client.at('http://resttrips.com/f/574XR4').get();
confirmation = flight.getLink("payment").
patch(cardInformation, value/2);
// send the payment link to another part of the web
flight = Client.at('http://resttrips.com/f/574XR4').get();
confirmation = flight.getLink("payment").
patch(cardInformation, value/2);
51. resttrips.com: sharing a trip
flight = Client.at('http://resttrips.com/f/574XR4').get();
confirmation = flight.getLink("payment").
patch(cardInformation, value/2);
// send the payment link to another part of the web
flight = Client.at('http://resttrips.com/f/574XR4').get();
confirmation = flight.getLink("payment").
patch(cardInformation, value/2);
52. calendar: integrating my systems
myself = Client.at('http://users.calendar.com')
.with(auth).get();
myself.link("calendar").patch(flight.link("self"));
53. calendar: integrating my systems
myself = Client.at('http://users.calendar.com')
.with(auth).get();
myself.link("calendar").patch(flight.link("self"));
56. so what?
Any update on the flight ==> reflects here
Any update on the hotel ==> reflects here
Any update on the meeting ==> reflects here
57. so what?
r at e!
nteg
se ,i
t u
’t j us
do n
Any update on the flight ==> reflects here
Any update on the hotel ==> reflects here
Any update on the meeting ==> reflects here
59. so what? that was just keeping an URI.
Remove ==> Cancels the flight
Remove ==> Cancels the reservation
Remove ==> Emails your coworkers
60. so what? that was just keeping an URI.
ro l!
co nt
a li ze
en tr
no tc
do
Remove ==> Cancels the flight
Remove ==> Cancels the reservation
Remove ==> Emails your coworkers
61. integration over the web
INTEGRATION is DECENTRALIZING the CONTROL
delegating to multiple agents
distributed systems
63. so what? that was just keeping an URI.
Remove ==> Cancels the flight
Remove ==> Cancels the reservation
Remove ==> Emails your coworkers
64. so what? that was just keeping an URI.
a t?
fo rm
hi ch
bu tw
Remove ==> Cancels the flight
Remove ==> Cancels the reservation
Remove ==> Emails your coworkers
65. mas qual o formato do
pagamento ou calendário?
98. Server Maturity
1 uri, 1 http verb
/services.do?action=install&...
99. Server Maturity
1 uri, 1 http verb
/services.do?action=install&...
@Path("/services")
public class Services {
@GET
public Response services(
@QueryParam("action") String action) {
ServiceFactory factory = new ServiceFactory();
Service service = factory.getServiceFor(action);
return service.execute();
}
}
100. Server Maturity
1 uri, 1 http verb
public class InstallService {
public Response execute() {
return Response.ok()
.type("application/xml")
.entity("<service>...</service>")
.build();
}
}
108. Server Maturity
Multiple uris, 1 http verb
/install?...
@Path("/services")
public class Services {
@GET @Path("install")
public Response install() {
return new InstallService().execute();
}
@GET @Path("uninstall")
public Response uninstall() {
return new UninstallService().execute();
}
116. Vraptor
vraptor.org/en
@Resource
public class SoftwareResource {
public void install() {
Software software = SoftwareRepository.register
(software);
response.created(software);
}
public void uninstall() {
response.deleted(software);
}
}
117. JAX-RS
@Path("/softwares")
public class SoftwareResource {
@POST @Consumes("application/xml")
public Response install(Software software) {
software = SoftwareRepository.register(software);
long id = software.getId();
URI uri = UriBuilder.fromPath("/softwares/" + id)
.build();
software.install();
return Response.created(uri).build();
}
118. JAX-RS
@DELETE @Path("{id}")
public Response uninstall(@PathParam("id") Long id) {
Software software = SoftwareRepository.retrieve(id);
software.uninstall();
return Response.ok().build();
}
132. Cloud API
GET /user/15 retrieves an user
follow GET machines accesses its machines
133. Cloud API
GET /user/15 retrieves an user
follow GET machines accesses its machines
follow POST self installs a new machine
134. Cloud API
GET /user/15 retrieves an user
follow GET machines accesses its machines
follow POST self installs a new machine
follow POST payment pay for it
135. retrieves an user
$ curl http://localhost:9998/user/574 -i
HTTP/1.1 200 OK
...
144. @XmlRootElement
@XmlType(propOrder= {"id", "host", "softwares", "links"})
public class Machine {
private final all variables here;
@XmlElement(name="link", namespace="http://www.w3.org/2005/Atom")
public List<Link> getLinks() {
return Arrays.asList(
Link.to("/machines/" + getId(), "self"),
Link.to("/machines/" + getId() + "/softwares", "softwares")
);
}
@XmlElementWrapper(name="softwares")
@XmlElement(name="software")
public List<Software> getSoftwares() {
return softwares;
}
public void install(Software software) {
getSoftwares().add(software);
}
public void uninstall(Software software) {
getSoftwares().remove(software);
}
} Machine.java
145. @XmlRootElement
@XmlType(propOrder= {"id", "host", "softwares", "links"})
public class Machine {
private final all variables here;
@XmlElement(name="link", namespace="http://www.w3.org/2005/Atom")
public List<Link> getLinks() {
return Arrays.asList(
Link.to("/machines/" + getId(), "self"),
Link.to("/machines/" + getId() + "/softwares", "softwares")
);
}
@XmlElementWrapper(name="softwares")
@XmlElement(name="software")
public List<Software> getSoftwares() {
return softwares;
}
public void install(Software software) {
getSoftwares().add(software);
}
public void uninstall(Software software) {
getSoftwares().remove(software);
}
} Machine.java
146. @Path("/machines")
public class MachineResource { MachineResource
@Path("{id}/softwares")
public SoftwareResource softwares(@PathParam("id") Long id) {
Machine machine = new MachineRepository().retrieve(id);
if (machine != null) {
SoftwareResource softwareResource = new SoftwareResource();
softwareResource.setMachine(machine);
return softwareResource;
}
throw new WebApplicationException(404);
}
@POST @Consumes("application/xml")
public Response create(Machine machine) {
Long id = new MachineRepository().save(machine);
return Response.created(UriBuilder.fromPath("/" + id).build()).build();
}
@GET @Path("{id}")
@Produces("application/xml")
public Machine show(@PathParam("id") Long id) {
return new MachineRepository().retrieve(id);
}
@GET
@Produces("application/xml")
public Machines list() {
Machines machines = new Machines();
machines.setMachine(new MachineRepository().list());
return machines;
147. @Path("/machines")
public class MachineResource { MachineResource
@Path("{id}/softwares")
public SoftwareResource softwares(@PathParam("id") Long id) {
Machine machine = new MachineRepository().retrieve(id);
if (machine != null) {
SoftwareResource softwareResource = new SoftwareResource();
softwareResource.setMachine(machine);
return softwareResource;
}
throw new WebApplicationException(404);
}
@POST @Consumes("application/xml")
public Response create(Machine machine) {
Long id = new MachineRepository().save(machine);
return Response.created(UriBuilder.fromPath("/" + id).build()).build();
}
@GET @Path("{id}")
@Produces("application/xml")
public Machine show(@PathParam("id") Long id) {
return new MachineRepository().retrieve(id);
}
@GET
@Produces("application/xml")
public Machines list() {
Machines machines = new Machines();
machines.setMachine(new MachineRepository().list());
return machines;
157. 1. conventions?
@Path("/services")
public class Services {
@GET
public Response services(
@QueryParam("action") String action) {
ServiceFactory factory = new ServiceFactory();
Service service = factory.getServiceFor(action);
return service.execute();
}
}
158. Convention over Configuration
@Resource
public class Services {
private final ServiceFactory factory;
public Services(ServiceFactory factory) {
this.factory = factory;
}
public void services(String action) {
factory.getServiceFor(action).execute();
}
}
162. 2. TDD: hard to test
@Path("/products")
public class Products {
coupled to the
@GET implementation
public Response create(
@QueryParam("what") String what) {
// persists
return Response.ok()
.type("application/xml")
.entity("<product>...</product>")
.build();
}
}
163. TDD: mock it
coupled to the interface
couple--
@Resource
public class Services {
private final Response response;
public Services(Response response) {
this.response = response;
}
public void services(String action) {
response.getServiceFor(action).execute();
}
}
164. TDD: mock it
coupled to the interface
couple--
@Resource
public class Services {
private final Response response;
public Services(Response response) {
this.response = response;
}
public void services(String action) {
response.getServiceFor(action).execute();
}
}
165. 3. Content negotiation by hand
@Path("/softwares")
public class SoftwareResource {
@POST @Consumes("application/xml")
public Response install(Software software) {
software = SoftwareRepository.register(software);
long id = software.getId();
URI uri = UriBuilder.fromPath("/softwares/" + id)
.build();
software.install();
return Response.created(uri).build();
}
166. Let us do it for you.
@Resource
public class SoftwareResource {
@Post @Consumes
public void install(Software software) {
software = SoftwareRepository.register(software);
response.created(software);
}
}
167. Let us do it for you.
@Resource
public class SoftwareResource {
@Post @Consumes
public void install(Software software) {
software = SoftwareRepository.register(software);
response.created(software);
}
}
168. 4. URI coupling
writing the URI once
...
@GET @Path("/softwares/{id}")
public Response install(@QueryParam("id") Software
software) {
// ...
}
169. 4. URI coupling
writing the URI again
several times
@Path("/softwares")
public class SoftwareResource {
@POST @Consumes("application/xml")
public Response install(Software software) {
software = SoftwareRepository.register(software);
long id = software.getId();
URI uri = UriBuilder.fromPath("/softwares/" + id)
.build();
software.install();
return Response.created(uri).build();
}
170. 4. URI coupling
code
@Path("/softwares")
public class SoftwareResource {
@POST @Consumes("application/xml")
public Response install(Software software) {
software = SoftwareRepository.register(software);
long id = software.getId();
URI uri = UriBuilder.fromPath("/softwares/" + id)
.build();
software.install();
return Response.created(uri).build();
}
171. ZERO uri replication
@Resource
public class SoftwareResource {
@Post @Consumes
public void install(Software software) {
// ...
response.use(SoftwareResource.class).show(software);
}
}
172. ZERO uri replication
@Resource
public class SoftwareResource {
@Post @Consumes
public void install(Software software) {
// ...
response.use(SoftwareResource.class).show(software);
}
}
173. 5. Parameter list
@Path("/machines")
public class MachineResource {
@Path("{id}/softwares")
public SoftwareResource softwares(@PathParam("id") Long id) {
Machine machine = new MachineRepository().retrieve(id);
if (machine == null) {
throw new WebApplicationException(404);
}
// ...
}
}
174. Yes, we can do it.
@Resource
public class MachineResource {
@Post ("{m.id}/softwares")
public SoftwareResource softwares(Machine m) {
Machine machine = new MachineRepository().retrieve(m
// ...
}
}
parameter converter chain of responsability
175. Yes, we can do it.
@Resource
public class MachineResource {
@Post ("{m.id}/softwares")
public SoftwareResource softwares(Machine m) {
Machine machine = new MachineRepository().retrieve(m
// ...
}
}
parameter converter chain of responsability
178. Response response = client.at
("http://localhost:9998/user/574").get();
User user = response.getResource();
System.out.println("user: " + user.getName());
6. Client internal DSLs
179. User user = response.getResource();
System.out.println("user: " + user.getName());
Link link = resource(user).getLink("machine");
response = link.follow().post(new Machine());
180. Link link = resource(user).getLink("machine");
response = link.follow().post(new Machine());
double amount = resource(user).refresh().
getAmountDue();
181. double amount = resource(user).refresh().
getAmountDue();
link = resource(user).getLink("payment");
Payment payment = new Payment(amount);
response = link.follow().post(payment);
183. link = resource(user).getLink("payment");
Payment payment = new Payment(amount);
response = link.follow().post(payment);
System.out.println("payment completed");
i was looking for a DSL
and i did not know it!
184. bottom up
design by committe
mime type?
microformato
controlled vocabulary
191. Further reading
Roy Fielding dissertation
Rest in Practice, Jim Webber and others
Restful Webservices Cookbook, Subbu Allamaraju
192. Further reading
Roy Fielding dissertation
Rest in Practice, Jim Webber and others
Restful Webservices Cookbook, Subbu Allamaraju
Restful Web Services, Richardson and Ruby
193. Further reading
Roy Fielding dissertation
Rest in Practice, Jim Webber and others
Restful Webservices Cookbook, Subbu Allamaraju
Restful Web Services, Richardson and Ruby
JAX-RS specification
194. Further reading
Roy Fielding dissertation
Rest in Practice, Jim Webber and others
Restful Webservices Cookbook, Subbu Allamaraju
Restful Web Services, Richardson and Ruby
JAX-RS specification
Infoq articles on REST
195. Further reading
Roy Fielding dissertation
Rest in Practice, Jim Webber and others
Restful Webservices Cookbook, Subbu Allamaraju
Restful Web Services, Richardson and Ruby
JAX-RS specification
Infoq articles on REST
Restfulie guide
197. Interviews and
Presentations
Stefan Tilkov interview on InfoQ
198. Interviews and
Presentations
Stefan Tilkov interview on InfoQ
http://bit.ly/9RUXKL
199. Interviews and
Presentations
Stefan Tilkov interview on InfoQ
http://bit.ly/9RUXKL
Leonard Richardson’s presentation at QCon
200. Interviews and
Presentations
Stefan Tilkov interview on InfoQ
http://bit.ly/9RUXKL
Leonard Richardson’s presentation at QCon
http://bit.ly/dj2W66
201. Interviews and
Presentations
Stefan Tilkov interview on InfoQ
http://bit.ly/9RUXKL
Leonard Richardson’s presentation at QCon
http://bit.ly/dj2W66
Martin Fowler on REST
202. Interviews and
Presentations
Stefan Tilkov interview on InfoQ
http://bit.ly/9RUXKL
Leonard Richardson’s presentation at QCon
http://bit.ly/dj2W66
Martin Fowler on REST
http://bit.ly/bx61ci
204. Interviews and
Presentations
Ian Robinson and Jim Webber interview
205. Interviews and
Presentations
Ian Robinson and Jim Webber interview
http://bit.ly/aEuzj3
206. Interviews and
Presentations
Ian Robinson and Jim Webber interview
http://bit.ly/aEuzj3
Jan Algermissen classification
207. Interviews and
Presentations
Ian Robinson and Jim Webber interview
http://bit.ly/aEuzj3
Jan Algermissen classification
http://bit.ly/cycFBF
208. Interviews and
Presentations
Ian Robinson and Jim Webber interview
http://bit.ly/aEuzj3
Jan Algermissen classification
http://bit.ly/cycFBF
Guilherme Silveira on REST clients
209. Interviews and
Presentations
Ian Robinson and Jim Webber interview
http://bit.ly/aEuzj3
Jan Algermissen classification
http://bit.ly/cycFBF
Guilherme Silveira on REST clients
http://bit.ly/aHCglv