Wednesday, October 1, 2014

New and Noteworthy in Jersey 2

Oracle Application Server Group

2.13 released

Reactive Client:
Describes data flows and dependencies.
E.g. travel agency, travel to new destination, get recommendations, forecast and cost.
Orchestration layer handling various rest calls and creating result. AgentResponse.
1st option is synchronous. Slow and can be done in parallel.
Async using callback is alternative. More complicated, callback hell. .async in call chain
Better is Observable (java 8)
Best is .rx() and .flatmap() in call chain.


Security
oath2
get access token from 3rd party.
Openid int.
2012 for client, still not in server-side
SimpleOAuthService

Monitoring and Tracing
Default is info log level and exceptions not logged.
jdk.logging properties
Response headers.
ServerProperties variable tracing set to "all". System variable. Also onDemand using request header.
Another system property for monitoring, access using jmx console.

No comments:

Post a Comment