Tag: java
Refactoring with Loops and Collection Pipelines
http://martinfowler.com/articles/refactoring-pipelines.html
This is a nice, long tutorial on refactoring loops to collection pipelines.
Link: Tutorial – Creating SOAP Web Services using JAX-WS
statsd-jvm-profiler: A JVM Profiler written and open-sourced by Netflix
MockServer: Java tool to mock any system you integrate with via HTTP or HTTPS
From the Mockserver web page:
Why use MockServer?
MockServer allows you to mock any server or service that you connect to over HTTP or HTTPS, such as a REST or RPC service.
This is useful in the following scenarios:
Testing
- easily recreate all types of responses for HTTP dependencies such as REST or RPC services to test applications easily and affectively
- isolate the system-under-test to ensure tests run reliably and only fail when there is a genuine bug. It is important only the system-under-test is tested and not its dependencies to avoid tests failing due to irrelevant external changes such as network failure or a server being rebooted / redeployed.
- easily setup mock responses independently for each test to ensure test data is encapsulated with each test. Avoid sharing data between tests that is difficult to manage and maintain and risks tests infecting each other
- create test assertions that verify the requests the system-under-test has sent
De-coupling development
- start working against a service API before the service is available. If an API or service is not yet fully developed MockServer can mock the API allowing any team who is using the service to start work without being delayed
- isolate development teams during the initial development phases when the APIs / services may be extremely unstable and volatile. Using MockServer allows development work to continue even when an external service fails
isolate single service
- during deployment and debugging it is helpful to run a single application or service or handle a sub-set of requests on on a local machine in debug mode. Using MockServer it is easy to selectively forward requests to a local process running in debug mode, all other request can be forwarded to the real services for example running in a QA or UAT environment
JVM Internals: Article explaining the internal architecture of the Java Virtual Machine
Interesting Blog Post: Java for Everything
http://www.teamten.com/lawrence/writings/java-for-everything.html
The premise is provocative. Check it out.
Maven Version Manager: Ensure all team members are using the same version
GRPC: Open Source RPC framework built on HTTP/2 with libraries in 10 languages
- GRPC has libraries in C, C++, Java, Go, Node.js, Python, Ruby, Objective-C, PHP and C#.
- Define services using Protocol Buffers.
Ninja: Java full stack web development framework
http://www.ninjaframework.org/
Check out the Ninja home page for a list of the framework’s features. it looks like a relatively simple framework for building webapps in Java.