Register   Login   About   Study   Enterprise   Share
Internet / AI Technology University (ITU/AITU)
Fast Login - available after registration







|

Top Links: >> 80. Technology >> Internet Technology Summit Program >> 4. Web Apps Frameworks
Current Topic: 4.4. Spring with Apache Maven and Data Service Frameworks
Sub-Topics: 4.4.1.Spring MVC Framework | 4.4.2.Spring MVC and Apache Maven with Eclipse | 4.4.3.Spring Test | 4.4.4.Data Service Framework and Troubleshooting | 4.4.5. Data Service and JPA/Hibernate frameworks in Maven Project
-- Scroll to check for more content below...
You have a privilege to create a quiz (QnA) related to this subject and obtain creativity score...
4.4. Spring with Apache Maven and Data Service Frameworks

First of all, what is a software framework?
A software framework is a reusable set of components integrated in a convenient package that serves a specific set of goals.

We will consider two frameworks that help creating web applications. Spring is the most popular software framework in a Java world. Spring uses its library of reusable components that saves a developer time by providing “trivial” services for handling web events and database services.
Spring framework is often used with Apache Maven, a software project management tool that can automatically find and download the latest versions of necessary jar files for your project library, can build and deploy the project and makes more magic ... based on a project object model (POM), described in the pom.xml file.

Eclipse is familiar with Apache Maven and can work with Apache Maven projects while debugging the code. If for unknown reason your code is running beautifully without any need for debugging, you might not need Eclipse at all. Maven can do all work by itself with several keystrokes from the command line.

Here is the plan:
a) Download and install Maven
b) Create Spring project with Maven and
c) Use Eclipse for debugging the code

Download and install Maven

Use this link https://maven.apache.org/download.cgi to download the latest Maven, for example, apache-maven-3.3.3-bin.zip

Unzip Maven zip file into your c:/tools – directory (create, if you did not have it) and rename the new directory, for example, apache-maven-3.3.3-bin into maven.


Add the path to c:\tools\maven\bin to the PATH variables in the system environment.
Was it clear so far?

To do this use WindowKey+S (search) and type Environment Variables.

In the System Properties window click on Environment Variables button and then in the System variables click on the Path control and Edit control.

Add semicolon (;) to the end of the long line of the Path variables and add the path to the maven binaries: c:\tools\maven\bin.

Save this updated record. Now your command line window can take maven commands.
Open a command line window and enter:

mvn –version

If you see the polite response with the version – you are done with installation.

If the command line window screams at you “…not recognized as an internal or external command..” – check manually c:/tools/maven/bin – if you have binary files there and check if you properly edited the Path in the Environment Variables.


Assignments:

1. Read more about Maven at https://maven.apache.org
2. Check the Run section and try entering the commands in the command line window. (We have no project so far, so it will not do much good yet.)
3. Read the section “Build a project with Maven”
4. Create 2 QnAs and email as 4.4.Maven.QnA.Your.Name.txt to dean@ituniversity.us
5. Check out this video: https://www.youtube.com/watch?v=mpNnbBmh5J4
and try to find a better one, then email the best link to dean@ituniversity.us
| Check Your Progress | Propose QnA | Have a question or comments for open discussion?

Have a suggestion? - shoot an email
Looking for something special? - Talk to me
Read: IT of the future: AI and Semantic Cloud Architecture | Fixing Education
Do you want to move from theory to practice and become a magician? Learn and work with us at Internet Technology University (ITU) - JavaSchool.com.

Technology that we offer and How this works: English | Spanish | Russian | French

Internet Technology University | JavaSchool.com | Copyrights © Since 1997 | All Rights Reserved
Patents: US10956676, US7032006, US7774751, US7966093, US8051026, US8863234
Including conversational semantic decision support systems (CSDS) and bringing us closer to The message from 2040
Privacy Policy