Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
- Building Our Model 7:46
- In Memory DAO implementation 1 question
- Template Reuse and Static Resources 11:04
- Template Reuse 1 question
- Adding to and Iterating a List 13:43
- Redirecting 1 objective
- Using Filters and Request Attributes 8:25
- Using filters 3 questions
- Accessing Specific Items 12:54
- Details 8:34
- URL Parameters 2 questions
- Messaging 6:10
- Build Your Own Flash Messages 14:13
- Review Messaging 3 questions
- Request Handled 1:39
Well done!
You have completed Intro to Java Web Development with Spark!

- 2x 2x
- 1.75x 1.75x
- 1.5x 1.5x
- 1.25x 1.25x
- 1.1x 1.1x
- 1x 1x
- 0.75x 0.75x
- 0.5x 0.5x
Let’s use the Data Access Objects pattern to build an interface that you can use to store your data. You will not be connecting to a database in this course, but this is one way to ensure that your code will work when you do.
Learn more:
- The Spark site has some great tutorials. Here is one on using sql2o with Spark which will get you up and running with a database.
- Data Access Object Pattern and a pretty good tutorial on them.
- Check out our Hibernate Basics Course!
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
Lee Haney
395 Points0 Answers
-
Pavle Delic
8,088 Points1 Answer
-
Henry Lin
11,636 PointsWhy do we use CourseIdeaDAO dao = new SimpleCourseIdeaDAO() instead of SimpleCourseIdeaDAO dao = new SimpleCourseIdeaDAO
Posted by Henry LinHenry Lin
11,636 Points1 Answer
-
Ricardo Rodriguez
9,758 Points1 Answer
-
Gustavo Michael Carrion
5,278 Points2 Answers
-
Binyamin Friedman
14,615 Points3 Answers
-
Brendan O'Brien
5,521 Points1 Answer
-
Timothy Boland
18,237 Points3 Answers
-
Sergei Makarov
13,839 Points2 Answers
View all discussions for this video
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up