EJB & JSP: Java On The Edge, Unlimited Edition by Lou Marco ISBN: 0764548026 Your Guide to Cutting-Edge J2EE Programming Techniques. Chapter 10: The Make Money Brokerage Application In previous chapters I ve covered the capabilities of JavaServer Pages and shown you some sample JSP code. In this chapter, you can see how JSP can be used in the construction of a brokerage application. First, you can read about the functions available in our Make Money brokerage application. Next, you will read a description of the underlying data store and client scenario. Last, you will see the JSP and Java code that implements a typical client request. The Make Money Application The Make Money application is a small JSP program modeling an online stock trading system. This application will be used to model several aspects of JSP development that we have covered thus far in this book. We will see the use of JavaBeans in JSP pages. We will also see demonstrated the use of JSP error-handling tools discussed in the previous chapter. If this is one of your first JSP applications, you should finish this chapter with a better understanding of how you can use JSP successfully in developing Web applications. The Make Money application provides clients with several functions. Once clients are successfully logged on, they can: l View their account history l View their portfolio l Place a buy or sell order l Change personal information The application is hardly full-featured. My intent is to present the code required to implement some of the operations of the application. The next section describes the implemented features in more detail. Implemented Application Features Later in the chapter we will see the JSP and Java code that enables the following functions: l Handling user logons l Displaying a screen of selections l Displaying the user s account history The JSP and Java code for other options is similar to what is presented here. In other words, it is not necessary to
The European settlement at Melbourne was founded in 1835 by settlers coming from Tasmania (then known as Van Die men’s Land), where they had difficulty finding available land.We provides affordable, discount and cheapest Melbourne web hosting, free domain name, unlimited data transfer, unlimited emails, PHP, ASP, and database hosting,check Web Hosting Melbourne services.