Web Application Development Method)

Source: Internet
Author: User
Five developers in our development team, one team leader;
Develop Web applications using MVC;
Use wincvs for version control team development;
Ant to achieve compilation and release;
The application server uses tomcat, which is integrated with Apache and tomcat );
The database is Sybase and Oracle, and the connection pool is used;
The report uses mingreport;
Project development stage: requirement analysis, design, coding, testing, trial run, and formal operation;
A project can be completed in about RMB, 6 persons, and 6 months.
----------------------------------
Our MVC implementation is as follows:

MVC mode: JSP and HTML act as vidw (View); servlet act as controler (Controller); Class class act as module (module );

JSP requests sevlet by submitting a form or URL with parameters. The dopost or doget methods in servlet call the methods in the module class based on parameters to add, delete, and modify

The new data query operation is then returned to the JSP page using the forward method or response. sendredirect. Here, the servlet only controls the process and processes the business logic in the class;
In the servlet, request. setattribute () saves the data and the data is obtained on the JSP page request. getattribute.

Our project encapsulates some basic tool classes, such as database connection, query, add, delete, update, and page display. Specific projects also extract some public services.

The logic is encapsulated into different classes. There are well-organized JS libraries and CSS style sheets.

In our development, almost every JSP page corresponds to a Servlet and module. Of course, the add, delete, update, and query compound functions are often implemented on a JSP page.
You only need to write SQL statements when querying data. You do not need to write SQL statements when inserting, updating, or deleting data. You only need to bind fields in form and fields in the table, here we encapsulate several classes for implementation.

What I want to say is: struts, spring, hibernate, EJB and other things are not used in our engineering development, I hope we can develop more new things or improve our technical content, but I don't know what to do. I wonder if we need to adopt some frameworks, is our development one?


In general, I think you have a certain level of project management design and development. Many of the system methods used for JSP/JavaBeans structure development are very primitive, at least in terms of design, there is no MVC or obvious layering concept.

In fact, no matter what framework and structure is used, as long as the system can achieve strict hierarchical control and achieve a certain degree of decoupling between classes, such a system has good scalability and heavy
Usability. The initial purpose of using those frameworks is to strengthen (Force) or facilitate beginners to achieve stratified purposes.

I have found from your statement that:
> You only need to use SQL to query data. You do not need to write SQL to insert, update, or delete data. You only need to bind the fields in form to the fields in the table, here we encapsulate several classes for implementation.

Specifically, "insert, update, and delete do not require SQL writing". I wonder what technology did you use to complete it? Does this technology affect performance?

We recommend that you use cache to improve performance when querying and reading data.

You have such a good foundation. I think it is much easier to upgrade your system using popular frameworks such as struts, EJB, spring, or hibernate, because they are consistent in purpose, in addition, there will be many benefits to the upgrade, especially in the aspect of maintainability, because we all know these popular frameworks, so we can all maintain and expand your system.
 

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.