Application of Java Technology on Internet platforms-thesis 1: Application of ERP development

Source: Internet
Author: User
【Abstract]
According to the urgent needs of a certain type of enterprises, our information technology company organized the development of an Enterprise Resource Planning (ERP) project, hoping to Promote the Development of ERP application in China, we also hope to use Java technology more deeply and effectively. The content of this project involves the whole process of enterprise production and operation in a certain type of industry. Its basic goal is to improve the labor productivity of enterprises, increase the profits of enterprises, and optimize the allocation of Enterprise Resources, this enables the overall operation level of an enterprise to reach a level. This is a typical intranet application project based on Java technology.
In this project, I assume an important role of the project owner. For example, in the project preparation stage, I organized training for members of the project team on the business processes of such enterprises; in the project requirement analysis and design phase, I focused on the framework and prototype of a well-structured system, which laid a solid foundation for the project team and other analysts to carry out the next detailed analysis. At the same time, I also organized the project team to grasp the daily analysis of each module and maintain close communication between various analysts. In the system development phase, coordinate and synchronize development and testing to ensure system reliability and smoothly promote projects in the system implementation phase, applications developed by this project have been well received by users.
[Body]
Compared with the extensive application of ERP projects in the world, the level of ERP application in China is still quite different. According to the urgent needs of a certain type of enterprises, our company organized the development of a class of ERP products. I had the honor to participate in the analysis and design of this project, the development result is a typical Java technology applied to an Intranet project.
We have carefully considered and studied specific technical solutions. For the platform solution that is widely used in Microsoft, or the cross-platform Java solution, we have never fixed the issue, this is because Microsoft's VB + Asp has become a solution that everyone is familiar with after a long period of work. Java has become an important factor for us to fear because of its high environmental requirements and low execution efficiency. However, the cross-platform features of Java have increasingly become a concern, especially for many large and medium-sized enterprises. Their existing network systems are based on a variety of platforms, and their requirements and voices for cross-platform platforms are extremely strong, for software companies, the cross-platform features of software may save development costs, reduce the maintenance volume, and gain the recognition of more customers. Considering a lot of market conditions and industry development factors, we decided to use Java. Fortunately, Java is now more and more convenient for Internet development.
At present, the development technology of Java on the Internet has been flushed with the trend, there are the original Java Servlet, there is a SQL-J associated with the database, there can be comparable with ASP and php jsp. Especially with the rapid development of JSP technology, Java's network application is no longer a minority patent. jsp has become the preferred Internet Development Technology in recent years with its efficiency and ease of use, JSP is a page development technology. It uses Java as its server-side language and Java Script as its client language to conveniently display pages.
After selecting the backend Java and front-end JSP, there is also an important task, that is, the frontend and backend connections. As JSP is mainly used for page performance, the content to be expressed must be encapsulated. In this way, Java Bean is used as a bridge to ensure the security of the main business logic, that is, the client JSP completes the main business logic functions through the use of Java Bean. Construct beans in the background to form a powerful bean library, which is then used by the front-end JSP.
During the planning of Java Bean, we made up our mind to make a lot of investment, because these are not only urgent needs in our current project, it should also become a powerful resource library accumulated and used by the company for a long time. It can achieve a certain degree of resource sharing and software reuse, laying a solid foundation for other project development. Therefore, the goal of this plan is to form the Java Bean platform library of the company's Java technology.
We divide these classes into several layers based on the usage of classes embodied in Java Beans. The bottom layer is the construction of parameterized classes. The main functions implemented by these classes include general access mechanisms, access interfaces to databases and other levels, and public processing systems. The middle layer is the construction of entity classes. These entity classes include structures related to data information and their processing methods. The focus of these entities is the processing of some important business logic. This layer is related to all parts of the system and has high security requirements, which directly affects the embodiment of the main functions of the system, because the main body of the system is to process some logic, this requires that the planning of this layer of entity classes should be very serious, so that the details are accurate. The top layer can be called an interface class, which is mainly used to implement the relationship between the underlying class and the foreground. Only this layer of class can be used by the front-end JSP for Java Bean calling. Only this layer is open. In addition to the above interface functions, this layer of class should also have an important practical content, this includes Page Automatic constructor used to implement JSP at the front end.
The page automatic constructor mentioned here can be considered as an important feature of the system. The purpose is to allow users to easily customize the interface without the need for programmers to modify the program, this can greatly meet user requirements. The main content of the page automatically consists of interface elements customization and modification, location modification, action trigger, behavior control, report design and calculation summary. The program design of automatic page composition mainly adopts the combination of the above interface class and JSP, and uses the class to implement customization, control and Association of elements, and save important information, this allows you to make repeated modifications. The automatic constructor provides powerful functions and has become an independent product. It can be applied to the interface creation of various projects to achieve the goal of sharing resources that we originally set.
In front-end JSP applications, the most simplified degree is possible, which can improve the security of the system. Of course, in our system, there are still some complicated client control cases. To protect this complicated control script, we adopt the servlet method to protect this script, this ensures a certain degree of security.
During the system login process, we adopted a very strict login key check operation. If the user does not have the corresponding key provided by the supplier, the user cannot pass the verification and enter the system. Users of the trial version are provided with a validity period constraint. These encryption or security measures can be approved only after the client requests verification by encapsulating a strict and powerful encryption algorithm in Java Bean.
We have encountered many difficulties in using this technical solution. For example, we have mentioned that JSP code should be simplified as much as possible to improve security. The JSP still has some statements and processing processes that are easy to guess about the processing method. To further improve security, we can refer to a large number of online materials, to form a set of good measures, such as the production of JSP tag library, will be able to be guessed further planning, corresponding to generate a set of effective practical tag library, in this way, a very effective protective wall is added, which greatly improves the security and confidentiality, and makes the separation of the page structure reach a certain level. Another example: in terms of data processing, at the beginning, the system was always running slowly. Finally, we traced the cause and found that there were too many data connections, we promptly adopted data connection pools and other technologies to solve such problems.
The system uses the Java platform and provides a solution for in-depth use of Java Bean and JSP. The results are remarkable and have been well received in the real use environment of users, it is also stable. Because of the unified and convenient automatic page construction program, the user interface is very friendly and can be customized according to user requirements, meeting the user's adaptive needs. In our company, we also began to establish a set of resource libraries based on this platform, becoming a valuable asset for the company's future development and use.
It must be pointed out that there are still many shortcomings in this system. For example, the degree of entity class assembly is not satisfactory. Based on some common characteristics of multiple business logics, it can be further abstracted and encapsulated, this part of content can meet the processing needs of various systems for similar logic. In my future work, I will further strengthen our analytical capabilities in various aspects, lead the team to constantly go beyond the current levels and standards, and strengthen our team building, I hope made in China can be written on more excellent software products. (This article mainly references papers by Chen Lili and others in Shanghai)
Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.