". NET developer Self-study Java series" Using Eclipse Development SPRINGMVC (2)

Source: Internet
Author: User
Tags object model apache mesos

Probably familiar with Eclipse.

Then take a look at the Spring MVC website first.

But English is too bad? Translation. Now, I'm glad to live in a time of advanced technology. It's wonderful to live in China.

You can read English without ever being abroad. I admire myself all the same.

Continue Baidu.

Good. Compared to the next. is the same thing. Well. 66 of the.

Little Buddy, I crossing the net first. Wait until you come back and then write.

Maybe there's no audience, I'll have it. The ability to talk to oneself is so powerful and verbose .... Spit Groove


And then you see the following. I don't know what it is.

Baidu slightly.

Introduction to Spring Framework 5

?? The Spring Framework provides a comprehensive programming and configuration model for modern Java-based enterprise applications-on any type of deployment platform. One of the key elements of spring is application-level infrastructure support: Spring focuses on the "plumbing" of enterprise applications, so that teams can focus on application-level business logic without unnecessarily contacting a particular deployment environment.

Features of Spring Framework 5:
    • Dependency Injection
    • Aspect-oriented programming, including Spring's declarative transaction management
    • Spring MVC and Spring Webflux web framework
    • Basic support for JDBC, JPA, and JMS
    • Wait a minute...

?? The above information is from the official website. The website address is as follows:

Direct search See csdn Someone described under: 78980845

Look good.

Spring Boot is a new framework provided by the pivotal team designed to simplify the initial setup and development of new spring applications. The framework uses a specific approach to configuration, which eliminates the need for developers to define boilerplate configurations. In this way, Spring boot is committed to becoming a leader in the burgeoning field of rapid application development (rapid application development).

From Baidu Encyclopedia: Https://baike.baidu.com/item/Spring%20Boot/20249767?fr=aladdin

Spring Cloud is an ordered collection of frames. It uses spring boot's development convenience to subtly simplify the development of distributed system infrastructures, such as service discovery registration, Configuration center, message bus, load balancer, circuit breakers, data monitoring, and so on, all of which can be started and deployed with spring boot development style. Spring Cloud does not reinvent the wheel, it simply combines the more mature, proven service frameworks currently developed by companies, masking the complexities of configuration and implementation through the spring boot style, and finally gives developers a set of easy-to-understand, Easy-to-deploy and maintainable Distributed system Development Kit.


1.Data flow is a unified programming model and hosting service for developing and performing large-scale data processing with its patterns including ETL, batch operations and continuous operations. 2. Spring cloud data flow is a native cloud-configurable service for a composable microservices program in a modern operating environment. With spring cloud data flow, developers can create and orchestrate data pipelines for common use cases like data extraction, real-time analytics, and data import/export. 3.Spring Cloud Data flow is based on the redesign of the Spring xd from the native cloud, which aims to streamline the development of big data applications. Spring XD's stream processing and batch module refactoring are based on the spring boot stream and Task/batch's microservices program. These programs are now automated deployment units and they are native to modern environments such as Cloud Foundry, Apache YARN, Apache Mesos, and Kubernetes. 4.Spring Cloud Data Flow provides a range of models and best practices for microservices-based distributed stream processing and batch data channels.


---------------------I'm a gorgeous split line

They all seem to be complementary.

Let's just ignore it. Look at the SPRINGMVC document first.

Probably looked down. Seems to be all based on the spring Framework

Watch out. This is just a record of the learning process, the route is wrong. The direction error is normal and corrects later.


GitHub address: Https://github.com/spring-projects/spring-framework and so on, should be able to worship some great God wrote the principle.

I like open source.

Looked down, MAVEN's. And there's a gradle. I don't know what it is. Check the information.

Gradle is a project automation building tool based on the Apache Ant and Apache maven concepts. It uses a particular domain-specific language (DSL) based on groovy to declare the project settings, discarding the tedious configuration of XML-based. Https://baike.baidu.com/item/gradle feel this better. Back to study again,

The MAVEN Project object Model (POM) is a software project management tool that allows you to manage project builds, reports, and documents with a small description of the information. In addition to its program building capabilities, Maven offers advanced project management tools. Because MAVEN's default build rules are highly reusable, it is common to build scripts with two or three lines of Maven to build simple projects. Thanks to MAVEN's project-oriented approach, many Apache Jakarta projects use Maven, and the percentage of company projects that are MAVEN-based continues to grow. The word maven is derived from Yiddish (Hebrew), meaning the accumulation of knowledge, originally used in the Jakata turbine project to simplify the building process. There were some projects (with their ant build files), with only minor differences, and the jar files were maintained by CVS. So hopefully there's a standardized way to build a project, a clear way to define the composition of the project, an easy way to publish information about the project, and a simple way to share jars across multiple projects.[1]


All right. I know it's almost there.

There's a direction too.

Then use spring---Maven to write a Hello world!

What about spring mvc going there?

I feel like it's not that far.

Lay the groundwork first.

I'll take a look at this entry document:


I'll see you in 15 minutes.

Oh, it's not like it's live.

All right...

I admit I'm stupid.

What do you need?
    • About 15 minutes

    • Favorite text editor or IDE

    • JDK version 8 or later

Time? I have a lot of.

Text editor. Eclipse Jee Oxygen I'm ready.

and a vscode.

VS can you use not?

JDK 8, I'll take a look at my current version (I forgot I have it installed), there is no, if there is just I do not install it.

There are two ways to view the version of the JDK in eclipse:

The first method:

Click Start-Run-enter cmd--Click OK-Enter java-version in the CMD Command Line window to display the version number of the JDK currently in use, such as:

The second method:

Run Eclipse and click windows--preferences--java--compiler--to the right to see the currently used JDK version number, such as:

Looked down, there are two ways.

Use the first kind.

Very high, completely satisfied.


I found myself on the show again. I don't even know how to read the JDK version. Also need Baidu. Self-contempt for a moment first.


It's finished. Chrome's translation plugin is not translated. How to learn ....

can only first use their own crappy English, stroll.

It seems like you want me to create a MAVEN project. It's simple.

The eclipse artifact.

------------run a little bit.

The code doesn't have to be knocked, and Hello world comes out. I should have got started.

Self-pleased ....

Oh, yes. Not the same as the tutorial.

Go on.

This time it's ready. Well. Go on.

: http://maven.apache.org/download.cgi

The translation is very useful, Anxi.

Horizontal slots. My colleague suddenly told me. MAVEN integrates it. Tried it.

Continue to the next step.

These are created using Eclipse to create a MAVEN project.

Go on...

Then I'll try to do the maven command in VS code.

MVN Compile

Cross-platform? My. NET core is also available.

MVN Package

Try the package.

MVN Install
This should be the installation dependency.

Almost like NuGet. are very useful.

ran a test using JUnit. Not bad.

But I'm more familiar with Xunit. Try it another day.

All right. It seems to be over. Time to eat.

". NET developer Self-study Java series" Using Eclipse Development SPRINGMVC (2)

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.