Java Spring MVC

2. Using eclipse, create a SpringMVC application.

3. Initialize a git repository

4. Create the appropriate .gitignore file, you must justify each line of your .gitignore file with a statement as to why the entry in .gitignore exists and what the ide uses it for.

.classpath file stores java settings that are specific to the local machine, team members may have different settings. .classpath

5. You will create your own object model the model of your SpringMVC app create a parent class for your object hierarchy, be sure to use the naming convention.

6. Add the changes to your git repo

7. Create two child classes from your classes. Add two non-trivial methods and two properties to each class, default constructors and the toString() method do not count.

8. Add the changes to your git repo

9. Use an interface to implement the at least two methods across both of your classes, these methods should be different from those in the previous step.

10. Commit the changes to your git repo

11. Create a Controller uses SpringMVC to instantiate one type of each of the classes and execute the methods.

12. Create a corresponding view to initialize the objects. You must have text fields (“INPUT” tags) to set the various properties, but you also must use the VALUE attribute to pre-populate these fields, When the user submits your web form your controller must process the form post data. Name the view “Assignment1View.jsp”

. Using git rename AssignmentView to reflect the naming convention for example (assignment1-shi89.jsp). Of course you will use your own name.

14. Commit all your changes

15. Test your program to make sure it runs.

16. Package your submission make sure there are no outstanding changes to be committed in your repository, make any final commits and zip up your eclipse project and submit the properly named zip file to Blackboard (example: assignment1-shi-89.zip). Be sure to adhere to the naming convention corresponding to your own name and student number.

17. Create github account, and then sign up for an educational account.

SAMPLE ASSIGNMENT
Powered by WordPress