Latency tolerance, fault tolerance and monitoring for distributed systems.
https://github.com/Netflix/Hystrix/wiki
Thursday, March 31, 2016
JSON Web Token (JWT)
Other links:
- https://dzone.com/articles/json-web-token-in-action-with-jax-rs
- http://howtodoinjava.com/resteasy/jax-rs-resteasy-basic-authentication-and-authorization-tutorial/
- http://security.stackexchange.com/questions/51294/json-web-tokens-jwt-as-user-identification-and-authentication-tokens
- http://www.developerscrappad.com/1814/java/java-ee/rest-jax-rs/java-ee-7-jax-rs-2-0-simple-rest-api-authentication-authorization-with-custom-http-header/
- http://stackoverflow.com/questions/26777083/best-practice-for-rest-token-based-authentication-with-jax-rs-and-jersey
- http://stackoverflow.com/questions/33663193/implementing-generic-jax-rs-web-service-using-javax-ws-rs-core-application
- http://stackoverflow.com/questions/26777083/best-practice-for-rest-token-based-authentication-with-jax-rs-and-jersey
- http://codingjam.it/json-web-token-jaas-stateless-authentication-per-tomcat/
- https://developer.10duke.com/sdk/api/com/tenduke/sdk2/security/jaas/LoginModuleForJwtAuthentication.html
- http://stackoverflow.com/questions/29766673/custom-jax-rs-authorization-using-jwt-in-each-request
Wednesday, March 30, 2016
Tuesday, March 29, 2016
OpenLayers 3
Review
Pros
- Map rotation.
- Large SRS support.
- Reprojection.
- Accurate (pixel-perfect) hit test.
- RTree-indexed features.
- Drawing optimizations (geometry simplification and clipping).
- Wider support of map sources including OGC protocols.
- Styling/symbolizers.
- API compatible WebGL renderer (lines not supported).
- No plugins required: built-in clustering, edition, heatmap and many other features.
- Async rendering with "Beforeoperations”, “postcompose” y “postrender” hooks.
Cons
- Large API.
- Still changing.
- Code size.
Books
Minimal Angular 2 seed
SystemJS, TypeScript and NPM:
https://github.com/jhades/ng2-minimal
SystemJS, TypeScript, NPM and Gulp:
https://github.com/angular/angular2-seed/tree/systemjs
According to this article it should be a good starting point while angular-cli gets matured.
https://github.com/jhades/ng2-minimal
SystemJS, TypeScript, NPM and Gulp:
https://github.com/angular/angular2-seed/tree/systemjs
According to this article it should be a good starting point while angular-cli gets matured.
Monday, March 21, 2016
Java and GeoServer Vector Tiles in MapBox format (MVT)
Java Vector Tiles encoder
GeoServer Vector Tiles Extension (gs-vectortiles)
https://github.com/geoserver/geoserver/tree/master/src/extension/vectortiles
https://github.com/geoserver/geoserver/tree/master/src/extension/vectortiles
GeoServer MVT Extension
Uses DouglasPeuckerSimplifier.Interfacing R
OpenCPU - HTTP API for R
https://www.opencpu.org/
http://rapache.net/
RServe - Sockets
https://rforge.net/Rserve/
R language from Java
https://github.com/jbytecode/rcaller
http://www.rforge.net/JRI/
http://www.renjin.org/
https://bitbucket.org/allr/fastr (http://www.oracle.com/technetwork/java/jvmls2013vitek-2013524.pdf)
https://www.opencpu.org/
- Stateless
- rApache, Nginx, Ubuntu
http://rapache.net/
RServe - Sockets
https://rforge.net/Rserve/
https://github.com/jbytecode/rcaller
http://www.rforge.net/JRI/
http://www.renjin.org/
https://bitbucket.org/allr/fastr (http://www.oracle.com/technetwork/java/jvmls2013vitek-2013524.pdf)
Friday, March 18, 2016
Tuesday, March 15, 2016
QlikView extensions
Definition.xml
<ExtensionObject PageHeight="" PageWidth=""/>
- PageWidth: maximum number of columns to retrieve.
- PageHeight: maximum number of rows to retrieve.
- PageSize.x: current page column count (maximum is PageWidth).
- PageSize.y: current page row count (maximum is PageHeight).
- TotalSize.x: total number of columns on the data set.
- TotalSize.y: total number of rows on the data set.
Selection
You can use the SearchColumn, SelectValuesInColumn or SelectTextsInColumn API methods.
You can only make selections in the dimensions that are exposed to the extension.
The extension functions like any chart in QlikView meaning that it can only select in the underlying hypercube
You can use the SearchColumn, SelectValuesInColumn or SelectTextsInColumn API methods.
this.Data.SelectTextsInColumn(0, true, value);
You can only make selections in the dimensions that are exposed to the extension.
The extension functions like any chart in QlikView meaning that it can only select in the underlying hypercube
References
Thursday, March 10, 2016
Vert.x
- Asynchronous programming model.
- Multi-reactor (one ore more event loops).
- Polyglot: Java, JavaScript, Groovy, JRuby, Scala, ...
- Verticles: processing units. Akka/Actor similarities.
- Worker Verticles: blocking code.
- Modules: reusable Verticle set with isolated classloader.
- Local/clustered Shared Map.
- Local/clustered Event Bus.
- HA (auto-deploy of failed Verticles on other nodes).
- Hot deployment (auto-reload on development).
- Light with minimum dependencies: Netty, Jackson & Hazelcast.
- Deployment: fat JAR or minimal Vert.x container.
- Fast: https://www.techempower.com/benchmarks/#section=data-r12&hw=peak&test=json.
Tuesday, March 8, 2016
Friday, March 4, 2016
Object to object mapper
- Dozer: the first one and most used.
- ModelMapper: smart.
- Orika: generates bytecode.
- MapStruct: generates code. Favorite.
- Selma: like MapStruct. Simplest.
Benchmarks:
Subscribe to:
Posts (Atom)