Changed jobs, from the game industry in the big Hole out of the world to go to the Internet. The new company is the e-commerce direction, the e-commerce industry original aim, Java,spring is the most extensive technology. Of course there have been some maverick, but also do a lot, but now basically switch to this direction.
I have not written before Java, the largest Java project is still in the undergraduate time with the Java written chess program (in fact, downloaded and then modified on the Internet). So now we have to re-accumulate the technology.
New entry, there is a small project to do.
Start with the spring boot framework to quickly build a restful service.
The Dobbo RPC Framework is then used to invoke the microservices on each other. The project has about four services, an API external, and three services for invocation.
Persistence is the integration of MyBatis, using MyBatis will find that only need to write MySQL library, table script can automatically generate the necessary domain data classes, mapper interface and basic SQL statement mapping configuration. More convenient.
And of course there are some controls and middleware inside the company, not much to say.
Yes, there's a single test. I have been in the game industry for a year, do not know whether the industry is different or the needs of the project team, I have not done a single test. Basically is the development of a part, I read the code myself, and then directly find the front-end swap. In fact, efficiency is relatively low. Also because of the special busy reason, no time for the development of single-Test.
Now, with JUnit's single test tool, there is a sense of comfort. You can eliminate most of the problems.
The project mentioned above took me about two weeks to learn and develop, and it took me a week to adjust and test the learning and testing coverage. It's more comfortable to learn.
The following notes are written in the form of essays, some of the knowledge learned to record.
Into the pit Java, start the back-end development path of spring boot