Integrating Angular 2 with Spring Boot, JWT, and CORS, Part 1
Rich Freedman’s tutorial on getting an Angular (nee Angular 2) application to communicate with a secured Spring Boot backend including code samples and approaches.
Rich Freedman’s tutorial on getting an Angular (nee Angular 2) application to communicate with a secured Spring Boot backend including code samples and approaches.
Note – This article is an updated version of the rc1 version, and as such it now covers Angular 2.0.1 and above, the official release of 2.0. The main difference here is the way the framework is started, using the TestBed API. Testing Components In my last post, I discussed how to write tests in … Read More
So you’d like to test your HTTP services in Angular 2.0 but you don’t know how? Have some background in Angular 1’s ngMock library? Or just want to see how it’s done? Read this article and follow along with the provided GitHub repo to learn how. Chariot’s Ken Rimple, co-author of our Angular 2 and React training courses, shows you how.
Backpressure Food for thought Very simply put, the idea behind backpressure is the ability to say "hey slow down!". Let's start with an example that has nothing to do with software: Imagine you own a factory that produces doughnuts (lucky you!) and just signed a contract with the largest grocery chain in the Northeast US. … Read More
This is a continuation of my Internet of Things with Scala posting. In this installment I will go over the assembly of the device that will be used to capture the soil moisture data and send it to an MQTT broker so that it may be picked up by the Scala/Akka based application. The Parts … Read More
There has been a great deal of buzz around the Internet of Things lately. The advent of small inexpensive devices and in particular the Arduino has inspired a generation of people with no background in electrical engineering to do some very creative things. I myself was first inspired by the Arduino and had built several … Read More
I had recently come off of a three year contract and found myself with some time on my hands. I was interested in working on an application that interfaced directly with some sort of small device. The director of our company, Don Coleman, had done a good bit of work with small devices so I spoke to him about the possibility of building a small application around those devices. He agreed to it and offered to assist from the hardware end. Our director of training, Ken Rimple, was researching the Angular 2 JavaScript framework at the time and offered to build the UI for the application. We eventually decided that we would build a demo to display at our booth at the 2016 South by SouthWest conference. This post explains our approach and some lessons learned.
Learn how to deal with data as a stream of WebSocket data in Angular 2 – published for RC1 using Node, Express, Angular 2 and RxJs.
If you use JavaMail and/or the Spring MailSender bean to send mail through a GMail account with JavaMail these days, you get an authentication error saying GMail blocks less secure apps. At that point there are two options: Configure your GMail account to accept low-security connections (e.g. https://www.google.com/settings/security/lesssecureapps) Configure your JavaMail sender to use OAuth … Read More
SbtTestGrouping Running tests that use a HiveContext On our current project, we utilize Spark SQL and have several ScalaTest based suites which require a SparkContext and HiveContext. These are started before a suite runs and shut down after it completes via the BeforeAfterAll mixin trait. Unfortunately due to this bug (also see this related pull … Read More