jhipster

Getting Started With JHipster, Part 3

Matt McCandless AngularJS, Java, JavaScript, Spring, Tutorial 1 Comment

Welcome back to this JHipster tutorial series! In part one we covered creating a monolithic application. In part two, we walked through creating a microservice application (which was a bit more complicated).

For those of you out there working to get things going with JHipster, there are some setup things and “gotchas” that I’d like to highlight. So this little blog is more of a helper for those of you who have decided to try JHipster out and play around with it. That’s what we’ll be discussing in this blog post with the hope that I can help you minimize the getting-up-to-speed curve…



Web Development Business

Blood, Sweat, and Writing Automated Integration Tests for Failure Scenarios

Billy Korando Java, Opinion, Programming, Spring, Tutorial 2 Comments

I introduce the process I went through to diagnose the bug and determine the correct integration test solution to fix it the right way. In doing so, I had to create a test that accurately reproduced the scenario my service was experiencing in PROD. I had to create a fix that took my test from failing to passing. And finally, I worked to increase confidence in the correctness of code for all future releases, which is only possible through automated testing.



JSON Web Tokens

JSON Web Tokens With Spring Cloud Microservices

Thomas Kendall Java, JavaScript, Microservices, Security 3 Comments

At Keyhole, we have published several blogs about Microservices. We’ve talked about architectural patterns used in a Microservices environment such as service discovery and circuit breaker. We’ve even posted blogs on platforms and tools, such as the recent blog on Service Fabric. One important piece of the architecture that we have glossed over is the security around Microservices. Specifically, authentication …



Spring Batch

Introducing The Delegate Pattern

Rik Scarborough Java, Spring Batch Leave a Comment

Delegate: a person who is chosen or elected to vote or act for others – Merriam-Webster. Delegate pattern: In software engineering, the delegation pattern is a design pattern in object-oriented programming where an object, instead of performing one of its stated tasks, delegates that task to an associated helper object – Wikipedia. Make things as simple as possible, but not simpler – Albert …



hystrix

Hystrix To Prevent Hysterix

Dallas Monson Java, Microservices, Spring 2 Comments

Your application just launched into production after 6+ months of development and bug fixes. In true Agile fashion, you and the team released your MVP (minimal viable product). You did your best to simulate load and try to emulate actual user actions so that you can anticipate how your app will behave in the wild. Now, however, you have thousands …



TROUBLE

Keyhole Releases Open Source Trouble Maker

Lauren Fournier Company News, Keyhole Creations Leave a Comment

The Keyhole Software team is excited to announce the release of a new open source tool: Trouble Maker. Trouble Maker helps organizations to maintain stable and durable platforms when implementing Microservices platforms and Java web applications. Trouble Maker randomly takes down services during normal business hours in an effort to test stability and automated recovery. In addition, it provides an ad hoc console to produce …



Trouble Maker

Failure As A Use Case: Introducing Trouble Maker

David Pitt Keyhole Creations, Microservices, Programming, Technology Snapshot, Testing Leave a Comment

For too many reasons to count, it is nearly a guarantee that your production software systems will fail in some way. We attempt to QA our software, which essentially tests application “business” function, but it’s very difficult to test what can go wrong in an actual production environment. Things like memory utilization and leaks, port exhaustion, connection pool timeouts, too …



Tools

A JavaScript Unit Test Trap

Mark Adelsberger JavaScript, Technology Snapshot 3 Comments

You’re a few months into writing a shiny new web app, and the team just settled on some new standards for data structures used for communication with the server. You’ll need to refactor a few pages, but that’s not a big deal. Your team has been pushing good unit testing practices, and you’ve got great coverage for the affected code. …