Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialEdward Strudwick
2,036 PointsJava: Intro to Functional Programming: Where actually are the 1,000 jobs stored that we are using from the job object?
Maybe a dumb question - I'm following the course fine and the functional programming all makes sense but it occurs to me that I'm pulling out all these jobs from the job object and I have no idea where within the project they are actually stored. Can anyone help??
2 Answers
Jason Larson
8,359 PointsI noticed that your question has been out there for a few days without an answer, so even though I don't know anything about Java, I thought I'd give it a shot. At 2:20 in the video, he says "On the job object, there is a little snippet of what is required for the job. Now it's not the full description, it's just part of it. Now that's because the indeed API, the one that we're using, wants you to come to their site." Based on that statement, it sounds like somewhere earlier in the project, you connected the job object in your project to access the Indeed job listings via their API, so the information would be stored at indeed.com, not in your local project, and you are just connecting and pulling that data when you run your project. I didn't watch all the videos, so I couldn't tell you where that happened, I'm just answering based on what he said and my understanding of how to use APIs.
Edward Strudwick
2,036 PointsThanks Jason, appreciate you taking the time having spotted it was not answered. Getting java answers or any help on this course seems difficult! We used gitHub to download the project which Craig uploaded, but it can't be a live link up because the jobs don't change. I get all the same results Craig does in the videos. So it must be somewhere and static. Hence the question really.