Summary of recent Javaweb projects

Source: Internet
Author: User

Before looking for a job to summarize the recent projects, the interview is also said to say, although not a very difficult project, but for the recent study of knowledge to achieve a good summary and consolidation.

1. Background development

This is a school teacher to pick up a project, and then find me to do, by the way, the teacher will make money ... Because there is Javaweb Foundation, so do feel good, not difficult, in addition to their own pits, such as some error code can not be found, some documents because the version is too old and the actual information does not meet, and other common web background development is similar.

The main function of the project is through the end to control the company provided by the Board, such as to obtain the status information of the Board, to obtain the current voltage, in addition to provide timing, delay function, these are provided by the other side of the interface, and I do is familiar with the entire development process, to build a set of background framework, It then implements the end to display the acquired data and can set a new state for the board. The entire process such as:

It can be found that the message is asynchronous, for example: I want to get the current information of the board, I send this request to, and then tell me whether it is successful, rather than directly return the current information , and then process the request, from the device to get the corresponding current information, sent to the processing device of the server, And I am the server and the device server can only be obtained through the database relay.

One thing to know, the message is sent successfully, does not mean that the device is really set up, for example, I want to turn on the device, I send a request, just tell me my request has no delivery, specifically whether the successful open, this is sent to the device server, so the local server also to get state refresh from the database, To know if there is a setup success, when the device failed, the request returned about 2 seconds, that is, 3 seconds to know that there is no setup success .... I was devastated (I didn't have much experience, and the online documentation on smart hardware development was not many, so I didn't find a good solution.) )

In short, according to this way of thinking, write down, the final completion degree is good, the project is mainly used spring SPRINGMVC MyBatis is the SSM framework to complete, is also the previous period of time to learn the content, did a good job of consolidation, met a lot of small problems, Finally, the solution is under Google, the corresponding in the various learning issues recorded in the article records the majority of

In the project to learn Maven,nginx (because two Tomcat services deployed to a server, need to do port forwarding), can skillfully use Ajax to improve the page experience, more promotion is the feeling of writing down the whole project, anyway, it is written on the more and more to get started

2.OJ Online Problem Solving system

School is not very well-known, has been not attached to the ACM such a game, see other schools have their own ACM training site, think to their own school also get a, just began to collect information, see many OJ site is open source Hustoj build, but this is PHP make, anyway also to do project, So I wrote a JSP, by the way, OJ divided into the Web Part and the core part of the sentence, the core of the sentence with a GUI electric Seniors open-source system, this thing in C language, I took over to change or can be, their own words have difficulty. So take it and change some of your settings directly.

From the front page to the database design, to the realization of the page logic, when the final judgment of the success of the moment, the feeling of hard work has been rewarded, in short, every time the project is very tired, write finished running is always so happy. Recently, I was ready for exams and interviews, so I wrote them here. Problems and some of the details of the adjustment can only wait until after finding work, then slowly do it, and finally want to add the interaction between teachers and students, so that there are teachers to drive students, the site is relatively easy to develop up.

The entire project is also using the SSM framework, using MAVEN to build, the database using MySQL, the front-end is mainly jquery and bootstrap, etc., the most difficult to write in the project feeling is to involve the authority of the place, such as game management, to consider time permitting, identity permit, key permission, etc., The last use of spring interceptors, but the relatively bloated writing, have not thought of a better way to solve. Another annoying problem is that the form form is repeated, and the redirect is used at the end of the submission, using the flashmap of spring to pass parameters. , the effect is still possible, the online search solution is generated by the token value to determine, personal feeling is more troublesome, give up,

Finally about the project effect can access the http://mrdear.cn:8080/, slag Server, compare the card HA server and not configure the environment of C, so currently only Java problem.

3. Think of so much for a moment, a little bit of a feeling for project summary

Summary of recent Javaweb projects

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.