ejm-samples's Issues
Wonderful Book!
Hi Ken,
my congratulations on your book and on Thorntail! I find them super! I read your Enterprise Java Microservices on Oreilly Safari and bought it on Amazon.
The examples in this repository are also very interesting. I believe however I'm missing something in chapter 6. In order to avoid a 404 in the Client Applications as I call them in the browser I had to had something like:
`package ejm.jaxrsclient;
import javax.ws.rs.ApplicationPath;
import javax.ws.rs.core.Application;
/**
- @author Fabio Salvi
*/
@ApplicationPath("/")
public class MainApplication extends Application {
}`
I have a question to you: what do you think of OpenLiberty? My Firma is about to choice a microservice platform and I should with other colleagues of mine report the pros and the cons of the 2..
I'm convinced Thorntail is the best! :-) Do you have any tip to reinforce my opinion? I have been working only with JEE 7 and I am not a Microservice Expert at all...
Thank you very much in advance for your time!
Regards
Fabio
Stock quote example no longer works out of the box
In the past (with WildFly Swarm), the Chapter 8 stock client example worked out of the box. Now it seems the quote service it relies upon ("https://sandbox.tradier.com/v1/markets/quotes?symbols=") requires some form of token authorisation for use. If I issue ...
mvn thorntail:run
... in stock-client directory (in chapter8) then try to hit http://localhost:8080/single/AAPL I get "Not Found" returned.
If I go direct to https://sandbox.tradier.com/v1/markets/quotes?symbols=APPL I get a "Invalid access token" returned.
I don't remember having to do something beforehand to use the stock quote example in the past so assume something has changed with the sandbox.tradier.com site.
Problem building latest examples ...
mvn compile eventually gives ...
[INFO] Chapter 11: Cayambe Admin Service 1.0-SNAPSHOT ..... SKIPPED
[INFO] Chapter 11: Cayambe Kafka Service 1.0-SNAPSHOT ..... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.794 s
[INFO] Finished at: 2020-08-02T16:56:02+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project cayambe: Compilation failure: Compilation failure:
[ERROR] Source option 1.5 is no longer supported. Use 1.6 or later.
[ERROR] Target option 1.5 is no longer supported. Use 1.6 or later.
[ERROR] -> [Help 1]
Using maven 3.6.3 and Java 9 on Mac OS 10.14.6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.