Authorization and Authentication are hard. when you only have to implement them once (as you do within a monolith) instead of over and over again, it makes the developer happy :-), and maybe leads to less implementation failures.
When you have a bunch of microservices, this is something that has to be considered.
Implement it once or in every microservice, or something in between?
This file contains hidden or 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
| var net = require('net'); | |
| // creates the server | |
| var server = net.createServer(); | |
| //emitted when server closes ...not emitted until all connections closes. | |
| server.on('close',function(){ | |
| console.log('Server closed !'); | |
| }); |
This file contains hidden or 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 de.tutorials.training; | |
| import org.dmg.pmml.FieldName; | |
| import org.dmg.pmml.PMML; | |
| import org.jpmml.evaluator.FieldValue; | |
| import org.jpmml.evaluator.ModelEvaluator; | |
| import org.jpmml.evaluator.ModelEvaluatorFactory; | |
| import org.jpmml.manager.PMMLManager; | |
| import org.jpmml.model.ImportFilter; | |
| import org.jpmml.model.JAXBUtil; |