Web Development Using Spring and AngularJS - Tutorial 5

preview_player
Показать описание
A review of the new classes in the RESTful layer of our application, also covering features: Spring Exceptions, JSON annotations, and the ArgumentCaptor object in Mockito.

Рекомендации по теме
Комментарии
Автор

Tutorial 5 is challenging, yet very informative.. thank you

thabokgobo
Автор

I think i mention in the previous tutorial, Your video is amazing and content is just great. But you speak pretty fast, I took so much of time to understand the content in this video(tutorial 5). I was able to cruise through all other videos, this one was especially tough to understand. If you slowed down a little bit in the future series of your new videos, everybody will love it.

bashupoud
Автор

for those getting jsonPath issues with newer version of jackson:
change line from -
.andExpect(jsonPath("$.password", is(nullValue())))
to - 

webtoasty
Автор

Hi Christopher, thank you for this tutorial. I want to know in which lesson are you facing the angularjs part ?

ALKETCECAJ
Автор

Thank you for these great tutorials! Being a beginner in all areas you touch upon here it is really useful to see a full implementation.

I do have a question around the way you build the RESTful services: You are building controllers with JSON support using ResponseBody - i am trying to understand why one would not use Spring Data REST when working on top of a JPA persistence layer?
As i am learning i started to build a small application that handles employee information and build controllers that would do CRUD operations and came across Spring Data REST. Basically everything i had build repositories, services, implementations etc. for could now be done with a simple @RepositoryRestResource. I am guessing i am missing something here but Spring Data REST seems really powerfull when you hare a JPA persistence layer and want to implement CRUD.

Thank you in advance - and thank you again for these great tutorials!

badedyrdk
Автор

I know that a big issue i was having was because i was using the endsWith method belonging to the mockito.Matchers library. Issues were corrected when i switched the import to hamcrest.Matchers.endsWith. Error i was seeing was expecting collection "".

hfrog
Автор

correct me if I am wrong. The argument passed in createAccount() is any(account.class), but why arguement captor captured account with name "test", password "test".

rooooooist
Автор

It will have been 3 yrs in July, what new or better tools to improve full stack dev have you found?

videoBlasthuebel
Автор

What I am not getting is the difference between a Blog and a BlogEntry!! Cant we be done with only one Entity BLOG/BLOGENTRY...why both are needed?

shubhankarraj
Автор

nice tutorials, but the titles are quite misleading. I'm already familiar with all those TDD shenanigans. I was looking for some angularJS integration with spring. if this is some trap to make ppl get into TDD it won't work. =)

ratowar
Автор

Is there any way to pull the source code from the beginning of this video? I can only pull the completed files and the previous tutorial's files don't have all of the changes that exist at the beginning of this video. 

Thanks!

aasadorian
Автор

Hello, Christopher!

I tried to follow your tutorials with the latest versions of libraries, and Test "getExistingAccount()"  return "java.lang.AssertionError: No value for JSON path: $.password, exception: No results for path: $['password']" (with @JsonIgnore). 


It may be necessary to modify the tests, but I do not know how. Any ideas?


Thanks!

ЕвгенийДемкин-уф