【Abstract]
The increasing popularity and deepening of Internet applications provide a broad stage for the application of Java technology, and greatly promote the enterprise intranet applications and network computing in Browser/Server mode.
As the technical backbone of an information company, I have the honor to undertake the development tasks of a bank's credit management and inquiry system, independently completed the system design, class design, some development and testing work.
The entire system is designed in full accordance with J2EE standards. The front-end interface is developed with JSP technology, and the control part is developed with Servlet. the business logic is encapsulated with EJB technology. The application server adopts the WebLogic of Bea that supports the J2EE standard, the backend database selects informix7.3 to be consistent with other business system databases in the bank. On the hardware platform, we choose an HP Server, and the operating system is HP-UX.
The system interface uses IE, which is not only compatible but also familiar to users. After the system is running, all sub-branches generally reflect friendly interfaces, powerful functions, and satisfactory development results.
[Body]
In banking applications, private savings, corporate accounting, International Business, credit, and financial management are all very important. They constitute the basic business system of banks. The credit business I develop is an important part of the bank's profit source. Unlike the business model that focuses on transactions such as savings and public transactions, although credit is also a transaction, more auxiliary information is needed. Such as the customer's basic information, business conditions, credit grades, and the failure to return overdue loans within the bank. Relevant Business staff of each sub-branch and branch management staff hope to learn about the information in a timely and convenient manner. The traditional terminal-based user interface is difficult to transmit so much information to users. Therefore, we decided to use the IE-based user interface. On the one hand, ie is easy to use and no special training is required, in addition, it is bundled with the Windows operating system, which can also save front-end costs. ASP is available in development technology and JSP is available for selection.
Considering the rapid development of Java technology on the internet, J2EE has put forward a brand new idea of using a language to unify the platform. Therefore, we decided to adopt the J2EE standard and use JSP. In terms of design, a transaction screen is basically used to correspond to a JSP program, giving full play to the strengths of JSP dynamic page processing.
In order to provide better scalability, flexibility and logic for the design and lay a solid foundation for future expansion, I adopted the MVC design model (modelu, view, Controller, view is implemented by JSP, while controller is designed with a servlet program, which is responsible for handling all requests sent by the browser at the front end and following the predefined path/program relationship, distribute it to the corresponding JSP program for processing. Because servlet was originally designed for Java Server programming, it is quite appropriate to take charge of server-side processing.
At the beginning of the design, I used the component technology to assume the modelu Role in the design mode. The specific transactions such as account opening, lending, overdue settlement, and loan return correspond to a specific EJB. In order to separate the processing logic from the corresponding database operations for easier maintenance, I designed the EJB processing service as a session bean, A corresponding entity bean is provided for each session bean to access the background database. One of the most important aspects of loan management is query. I designed beans for each type of query based on the requirement analysis results. The goal is to increase the query speed as much as possible.
In database access, I designed and applied the driver manager of Informix JDBC. In this way, the driver and server should be written to the bean in the database, later, considering that the platform independence of applications should be improved as much as possible, after reading the JDBC section of J2EE, we switched to the data resource processing method. In this way, even if the database is replaced with Oracle or other products, the program does not need to be modified. You only need to change the configuration.
In the development of this credit management system, Java's platform-independent advantages are fully reflected in the development activities of developers. Due to the shortage of funds, our development environment is that each project team shares an HP machine. Although each development team has set up its own environment, there are many projects, especially in the case of interest settlement and batch testing, machines are overwhelmed, greatly reducing the efficiency of development and testing. Because our group uses Java technology, you can build the same environment on your NT machine. In this way, common development work, including JSP, Servlet, and EJB programs, can be completed locally, and must be put on the HP development machine only in the test or display phase.
Web applications we developed previously often only use some web technologies, such as Apache Web server and ASP development languages. The integration and combination of the entire system is often not ideal. This time, because of the entire set of components that comply with the J2EE standard, the coordination and consistency of the entire system is very good. In addition, BEA WebLogic, an application server that supports J2EE, has complicated configurations and links between modules that we previously did not have to worry about, in a graphical Configuration tool, you only need to enter the configurations required by the system, such as the relationship between the path and the actual application, the EJB reference in the component, and the attribute of data resource. After all the configurations are complete, webLogic will deploy the project for us and encapsulate all the related programs.
It turns out that the document compilation tasks of our development team are very heavy, because the entire system includes both transaction and Management query, and there are many transactions, data and source programs. To solve this problem, we directly applied the javadoc Export Document in the Java source program, which not only looks beautiful, but also maintains consistency with the source program.
After the entire project is completed, the user feels that the interface is friendly and easy to use. But I know in my heart that there are still many improvements to this system.
First of all, development based on the java system requires a lot of investment. Because the system is subject to funding restrictions, only apply for a production machine. In this way, web server, application server, and DB server can only be put together. Although WebLogic can achieve partial load balancing, such distribution is certainly not the best in the future business development. Fortunately, we have considered the best possible scalability in our design. In the future, we only need to deploy the application between different machines for conditional licensing. In general, there is no need to change the application.
Secondly, in design, you can use UML products, such as Rational Rose. On the other hand, Rational Rose has the automatic code generation function, which can greatly save development costs.
Finally, the number of users in the current credit management system is small. When a similar system needs to have a large number of users, the response time of a Java-based system and system distribution both have prominent conflicts.
All of the above are areas that I need to pay attention to in the future system design and development, and are also the direction for using Java technology. (This article mainly references the thesis of Dai Li equality people in Shanghai)
Comment: The discussion is specific, the application is more in-depth, and the expression is clear. The problem is true.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.