This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Scanner; | |
class Player { | |
public static void main(String args[]) { | |
Scanner in = new Scanner(System.in); | |
int road = in.nextInt(); // the length of the road before the gap. | |
int gap = in.nextInt(); // the length of the gap. | |
int platform = in.nextInt(); // the length of the landing platform. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.rembx.jeeshop.order; | |
import java.util.Scanner; | |
class Player { | |
public static void main(String args[]) { | |
Scanner in = new Scanner(System.in); | |
int maxMountainH = 0; |
Based on Microservices presentation by Martin Fowler recorded at GOTO Berlin 2014.
- Components (= independently upgradable, replaçable) communicating through services (instead of libs for monoliths)
- Organized around business capabilities
- Smart endpoints and dumb pipes
- Decentralized data management
This Gist describes how to tune HTTP browser cache expiration for static contents served by Wildfly Undertow web server, as per RFC-2616 section 13.
In order to change HTTP browser cache behavior, a "Cache-Control" HTTP header has to be added to static content HTTP responses returned by Undertow.
This page describes MDB (Message Driven Bean) configuration with Wildfly (> version 8 implementing Java EE 7/8) and Websphere MQ messaging broker.
Websphere MQ provides a resource adapter which is able to interact with latest and even legacy Websphere MQ versions. (See this link for WMQ v8.0 Resource Adapter compatibility details)