© Peter Späth 2021
P. SpäthBeginning Java MVC 1.0https://doi.org/10.1007/978-1-4842-6280-1_4

4. Hello World for Java MVC

Peter Späth1 
(1)
Leipzig, Sachsen, Germany
 

In Chapter 1, I presented a quick-and-dirty Hello World style Java MVC web application. With the knowledge of how to use Eclipse as an IDE and Gradle as a build framework, we can now investigate a cleaner approach to a Hello World web application. The functionality will be the same: one page serves as a landing page and asks the users for their name. After they submit it, the controller processes the name and shows a submission response page with a personalized greeting.

Starting the Hello World Project

Open Eclipse and choose any suitable workspace. Since in previous chapters we used

Get Beginning Java MVC 1.0: Model View Controller Development to Build Web, Cloud, and Microservices Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.