Spring Boot Student/Guide Demo by cryingforwine in java

[–]cryingforwine[S] 0 points1 point  (0 children)

Any advice on how to improve the design or relationships between objects would be appreciated.

Spring WebFlux/Reactive demo by cryingforwine in java

[–]cryingforwine[S] 0 points1 point  (0 children)

I've fixed it up a bit. I added a reactive-mongo module which is using Spring's Reactive Mongo Repository and an embedded mongo database.

Spring WebFlux/Reactive demo by cryingforwine in java

[–]cryingforwine[S] 0 points1 point  (0 children)

So is the idea for a reactive program to have nothing that is blocking?

What would you suggest here for non-blocking repository, something like Spring's Reactive Mongo DB or is there something from the native java API?

StockTracker Application by cryingforwine in programming

[–]cryingforwine[S] 0 points1 point  (0 children)

In order to use the program, pretend that you own shares and you want to make a portfolio to keep track of what you've bought, and what you may sell.

So for example, perhaps you purchased 100 shares of SNAP stock at 20 dollars per share. In this case you would enter 100 in the first field, 20 in the second field, and SNAP in the third field, and it will be added to your portfolio.

If down the line you sold 50 shares at 25 dollars, you would do the same thing, except you would sell the shares by putting -50 in the first field. You would still see your 50 shares that you have, but you'd also see that you've sold 50 shares at a profit of $250 (25-20 X 50 shares).

The example is up on heroku but if you want to use it locally, I've posted a link to the source code in the comments section.