Designing a REST-ful API using Spring 3

  Рет қаралды 100,895

SpringDeveloper

SpringDeveloper

Күн бұрын

Recorded at SpringOne 2GX 2012 in Washington, DC
Speaker: Ben Hale
In the course of creating VAS, we did a lot of work to design a useful REST API. REST is generally a very loose collection of principals that can be interpreted in many ways, so this talk would describe a more concrete idea of what a REST-ful API should look like. In addition, the implementation of this API was done with many of the new features in Spring 3 and are a good demonstration of the power it provides.

Пікірлер: 24
@forticek
@forticek 11 жыл бұрын
I am really happy that we're now getting 720p videos from SpringSourceDev channel. Keep it up guys!
@SpringSourceDev
@SpringSourceDev 11 жыл бұрын
trying our best. these are replays from springone that we we able to do in HD. The webex replays are the ones with audio/video issues. we're aware of the problem and trying to fix it for future videos.
@Akkineni555
@Akkineni555 11 жыл бұрын
Nice work guys... Thanks a lot I really appreciate all your effort. Keep Good Work.
@WildonCamera
@WildonCamera 11 жыл бұрын
I tried running github.com/nebhale/spring-one-2012 on Spring STS 3.2.0 importing it as a Maven project, but the project doesn't run. Maven test reports an error running com.nebhale.letsmakeadeal.web.GamesControllerTest: java.lang.NoClassDefFoundError: LMockMvc;
@israellozano855
@israellozano855 11 жыл бұрын
Thanks for this. It helped me a lot!
@ruixue6955
@ruixue6955 7 жыл бұрын
30:40 Spring mvc implementation
@augportofo
@augportofo 11 жыл бұрын
Very helpful, the HATEOAS was very interesting :)
@BuvanAlmighty
@BuvanAlmighty 10 жыл бұрын
Great presentation....
@majidlotfi1680
@majidlotfi1680 11 жыл бұрын
Hi, I just found this tutorial, it's being more than one year since you posted this video, is there any update ? where can I find the source code for this example in your video ? thanks
@rss245x
@rss245x 10 жыл бұрын
Also how do I get the rest shell. I got the gui rest client but not the "rest shell". If you could get back to me on how to get that utility please?
@rss245x
@rss245x 10 жыл бұрын
Also can get it to run in windows 7 cmd shell
@MrYTsucks
@MrYTsucks 11 жыл бұрын
In fact simply replace org.springframework.test.web.mock with org.springframework.test.web.servlet in imports section.
@NoWarForever
@NoWarForever 10 жыл бұрын
Really useful! :)
@bluestome
@bluestome 10 жыл бұрын
Where can i download ppt which we saw in the video.
@ravisangar4167
@ravisangar4167 9 жыл бұрын
I am getting a 404 when I try to access resource files. I configured it using java config following the documentation. @Override public void addResourceHandlers(ResourceHandlerRegistry registry) { registry.addResourceHandler("/resources/**").addResourceLocations("classpath:/resources/"); registry.setOrder(Ordered.HIGHEST_PRECEDENCE); } I have resources folder at the same level as WEB-INF inside src/main/webapp . tomcat logs are not showing anything.
@rss245x
@rss245x 10 жыл бұрын
Can you tell me how I was able to just import in the pom.xml from your github and the source files were recognized from the start I did have problems with the Test code though. Where is that specified? In the pom.xml file? What must I do to get the Test source to compile and run though?
@rss245x
@rss245x 10 жыл бұрын
oops I meant into Eclipse-Kepler IDE
@MehediHasan-uj3gi
@MehediHasan-uj3gi 9 жыл бұрын
Please give the Source Code ...
@MrYTsucks
@MrYTsucks 11 жыл бұрын
First change spring.version 3.2.0.BUILD-SNAPSHOT to 3.2.0.RELEASE in pom. Next, you need to import: import org.springframework.test.web.servlet.MockMvc; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.*; import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status; import static org.springframework.test.web.servlet.setup.MockMvcBuilders.webAppContextSetup;
@fermin5564
@fermin5564 7 жыл бұрын
31:56
@ruixue6955
@ruixue6955 7 жыл бұрын
37:55 showGame()
@vladimirromanovskiy9862
@vladimirromanovskiy9862 10 жыл бұрын
badly annoying waterfall
@handsome_man69
@handsome_man69 7 жыл бұрын
enough with the hate please
@handsome_man69
@handsome_man69 7 жыл бұрын
EJB is better
Spring Data Repositories -- A Deep Dive
1:31:49
SpringDeveloper
Рет қаралды 31 М.
Securing Rest-ful Web Services with OAuth2
1:26:25
SpringDeveloper
Рет қаралды 67 М.
Or is Harriet Quinn good? #cosplay#joker #Harriet Quinn
00:20
佐助与鸣人
Рет қаралды 51 МЛН
My daughter is creative when it comes to eating food #funny #comedy #cute #baby#smart girl
00:17
Bike vs Super Bike Fast Challenge
00:30
Russo
Рет қаралды 23 МЛН
Touching Act of Kindness Brings Hope to the Homeless #shorts
00:18
Fabiosa Best Lifehacks
Рет қаралды 18 МЛН
Does Your API Need A REST? Check Out GraphQL
52:10
SpringDeveloper
Рет қаралды 1 М.
Spring Data REST: Easily export JPA entities directly to the web
1:31:16
SpringDeveloper
Рет қаралды 21 М.
Webinar: Building REST-ful services with Spring
1:29:31
SpringDeveloper
Рет қаралды 63 М.
Modern Enterprise Java Architectures with Spring 3.1
1:00:44
SpringDeveloper
Рет қаралды 50 М.
Understanding Java Garbage Collection and what you can do about it
1:32:23
SpringDeveloper
Рет қаралды 196 М.
Webinar: Architecture of a modern web app
1:24:14
SpringDeveloper
Рет қаралды 48 М.
Webinar: Introduction to Spring Framework 4.0
1:30:45
SpringDeveloper
Рет қаралды 38 М.
Or is Harriet Quinn good? #cosplay#joker #Harriet Quinn
00:20
佐助与鸣人
Рет қаралды 51 МЛН