Skip to content

pek77/mycharts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

The trader service provides the UI for the Portfolio sample. The main entry point is the summary servlet, which lets you choose an operation and a portfolio to act upon. It transfers control to other servlets, such as addPortfolio, viewPortfolio, and addStock, each of which transfers control back to summary when done. The viewPortfolio and addStock servlets expect a query param named owner.

Each page has a header and footer image, and there's an index.html that redirects to the summary servlet.

The servlets just concern themselves with constructing the right HTML to return. The UI is very basic; there is no use of JavaScript or anything fancy. All of the real logic is in the PortfolioServices.java, which contains all of the REST calls to the Portfolio microservice, and appropriate JSON wrangling.

You can hit the main entry point by entering a URL such as http://localhost:9080/trader/summary in your browser's address bar.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages