Download the spring rest stack Free Java Code
Description
the deck to my talk on building more powerful REST APIs.
Icons
Source Files
The download file the-spring-rest-stack-master.zip has the following entries.
.gitignore//ww w .ja v a2s . c om
README.md
code/client/android/.gitignore
code/client/android/AndroidManifest.xml
code/client/android/build.gradle
code/client/android/gradle/wrapper/gradle-wrapper.jar
code/client/android/gradle/wrapper/gradle-wrapper.properties
code/client/android/gradlew
code/client/android/gradlew.bat
code/client/android/project.properties
code/client/android/res/drawable-hdpi/action_search.png
code/client/android/res/drawable-hdpi/drawer_shadow.9.png
code/client/android/res/drawable-hdpi/ic_drawer.png
code/client/android/res/drawable-hdpi/ic_launcher.png
code/client/android/res/drawable-mdpi/action_search.png
code/client/android/res/drawable-mdpi/drawer_shadow.9.png
code/client/android/res/drawable-mdpi/ic_drawer.png
code/client/android/res/drawable-mdpi/ic_launcher.png
code/client/android/res/drawable-xhdpi/action_search.png
code/client/android/res/drawable-xhdpi/drawer_shadow.9.png
code/client/android/res/drawable-xhdpi/ic_drawer.png
code/client/android/res/drawable-xhdpi/ic_launcher.png
code/client/android/res/drawable-xxhdpi/ic_launcher.png
code/client/android/res/drawable/earth.jpg
code/client/android/res/drawable/jupiter.jpg
code/client/android/res/drawable/mars.jpg
code/client/android/res/drawable/mercury.jpg
code/client/android/res/drawable/neptune.jpg
code/client/android/res/drawable/saturn.jpg
code/client/android/res/drawable/spring_crm_logo.png
code/client/android/res/drawable/spring_logo.png
code/client/android/res/drawable/springsource_welcome_image.jpg
code/client/android/res/drawable/springsource_welcome_transparent_bg.png
code/client/android/res/drawable/uranus.jpg
code/client/android/res/drawable/venus.jpg
code/client/android/res/layout-large/news_articles.xml
code/client/android/res/layout/action_bar_search.xml
code/client/android/res/layout/action_bar_search_item.xml
code/client/android/res/layout/crm_activity.xml
code/client/android/res/layout/main_activity.xml
code/client/android/res/layout/profile_photo_fragment.xml
code/client/android/res/layout/text.xml
code/client/android/res/menu/main.xml
code/client/android/res/values/config.xml
code/client/android/res/values/strings.xml
code/client/android/res/xml/searchable.xml
code/client/android/run.sh
code/client/android/src/com/jl/crm/android/Crm.java
code/client/android/src/com/jl/crm/android/CrmConnectionState.java
code/client/android/src/com/jl/crm/android/CrmModule.java
code/client/android/src/com/jl/crm/android/InjectAndroidApplicationContext.java
code/client/android/src/com/jl/crm/android/activities/MainActivity.java
code/client/android/src/com/jl/crm/android/activities/MenuContributingFragment.java
code/client/android/src/com/jl/crm/android/activities/NamedFragment.java
code/client/android/src/com/jl/crm/android/activities/fragments/CustomerSearchFragment.java
code/client/android/src/com/jl/crm/android/activities/fragments/MenuItemUtils.java
code/client/android/src/com/jl/crm/android/activities/fragments/ProfilePhotoFragment.java
code/client/android/src/com/jl/crm/android/activities/fragments/SecuredCrmFragment.java
code/client/android/src/com/jl/crm/android/activities/fragments/SignInFragment.java
code/client/android/src/com/jl/crm/android/activities/fragments/SignOutFragment.java
code/client/android/src/com/jl/crm/android/activities/fragments/WelcomeFragment.java
code/client/android/src/com/jl/crm/android/activities/secure/AuthenticatedFragment.java
code/client/android/src/com/jl/crm/android/activities/secure/CurrentUserAware.java
code/client/android/src/com/jl/crm/android/utils/AndroidUiThreadUtils.java
code/client/android/src/com/jl/crm/android/utils/DaggerInjectionUtils.java
code/client/android/src/com/jl/crm/android/utils/IoUtils.java
code/client/android/src/com/jl/crm/android/widget/CrmOAuthFlowWebView.java
code/client/android/src/org/springframework/hateoas/Identifiable.java
code/client/android/src/org/springframework/hateoas/Link.java
code/client/android/src/org/springframework/hateoas/Resource.java
code/client/android/src/org/springframework/hateoas/ResourceSupport.java
code/client/android/src/org/springframework/hateoas/Resources.java
code/client/ios/.gitignore
code/client/ios/SpringCRM.xcodeproj/project.pbxproj
code/client/ios/SpringCRM/CRMActivityAlertView.h
code/client/ios/SpringCRM/CRMActivityAlertView.m
code/client/ios/SpringCRM/CRMAppSettings.h
code/client/ios/SpringCRM/CRMAppSettings.m
code/client/ios/SpringCRM/CRMAuthController.h
code/client/ios/SpringCRM/CRMAuthController.m
code/client/ios/SpringCRM/CRMAuthControllerDelegate.h
code/client/ios/SpringCRM/CRMAuthorizeViewController.h
code/client/ios/SpringCRM/CRMAuthorizeViewController.m
code/client/ios/SpringCRM/CRMAuthorizedRequest.h
code/client/ios/SpringCRM/CRMAuthorizedRequest.m
code/client/ios/SpringCRM/CRMBaseController.h
code/client/ios/SpringCRM/CRMBaseController.m
code/client/ios/SpringCRM/CRMConnectionSettings.h
code/client/ios/SpringCRM/CRMConnectionSettings.m
code/client/ios/SpringCRM/CRMCoreDataManager.h
code/client/ios/SpringCRM/CRMCoreDataManager.m
code/client/ios/SpringCRM/CRMCustomNavigationBar.h
code/client/ios/SpringCRM/CRMCustomNavigationBar.m
code/client/ios/SpringCRM/CRMCustomToolbar.h
code/client/ios/SpringCRM/CRMCustomToolbar.m
code/client/ios/SpringCRM/CRMCustomersViewController.h
code/client/ios/SpringCRM/CRMCustomersViewController.m
code/client/ios/SpringCRM/CRMFormTextFieldCell.h
code/client/ios/SpringCRM/CRMFormTextFieldCell.m
code/client/ios/SpringCRM/CRMKeychainManager.h
code/client/ios/SpringCRM/CRMKeychainManager.m
code/client/ios/SpringCRM/CRMProfileController.h
code/client/ios/SpringCRM/CRMProfileController.m
code/client/ios/SpringCRM/CRMProfileControllerDelegate.h
code/client/ios/SpringCRM/CRMProfileMainViewController.h
code/client/ios/SpringCRM/CRMProfileMainViewController.m
code/client/ios/SpringCRM/CRMSignInViewController.h
code/client/ios/SpringCRM/CRMSignInViewController.m
code/client/ios/SpringCRM/CRMURLPostRequest.h
code/client/ios/SpringCRM/CRMURLPostRequest.m
code/client/ios/SpringCRM/CRMURLRequest.h
code/client/ios/SpringCRM/CRMURLRequest.m
code/client/ios/SpringCRM/CRMURLRequestParameters.h
code/client/ios/SpringCRM/CRMURLRequestParameters.m
code/client/ios/SpringCRM/CRMUserSettings.h
code/client/ios/SpringCRM/CRMUserSettings.m
code/client/ios/SpringCRM/CRMWebImageView.h
code/client/ios/SpringCRM/CRMWebImageView.m
code/client/ios/SpringCRM/DLog.h
code/client/ios/SpringCRM/Default-568h@2x.png
code/client/ios/SpringCRM/NSData+Base64.h
code/client/ios/SpringCRM/NSData+Base64.m
code/client/ios/SpringCRM/NSDate+Helpers.h
code/client/ios/SpringCRM/NSDate+Helpers.m
code/client/ios/SpringCRM/NSDictionary+Helpers.h
code/client/ios/SpringCRM/NSDictionary+Helpers.m
code/client/ios/SpringCRM/NSString+Encoding.h
code/client/ios/SpringCRM/NSString+Encoding.m
code/client/ios/SpringCRM/OA2AccessGrant.h
code/client/ios/SpringCRM/OA2AccessGrant.m
code/client/ios/SpringCRM/OA2AuthorizedRequest.h
code/client/ios/SpringCRM/OA2AuthorizedRequest.m
code/client/ios/SpringCRM/OA2SignInRequest.h
code/client/ios/SpringCRM/OA2SignInRequest.m
code/client/ios/SpringCRM/OA2SignInRequestParameters.h
code/client/ios/SpringCRM/OA2SignInRequestParameters.m
code/client/ios/SpringCRM/Profile.h
code/client/ios/SpringCRM/Profile.m
code/client/ios/SpringCRM/Settings.bundle/Root.plist
code/client/ios/SpringCRM/Settings.bundle/en.lproj/Root.strings
code/client/ios/SpringCRM/SpringCRM-Info.plist
code/client/ios/SpringCRM/SpringCRM-Prefix.pch
code/client/ios/SpringCRM/SpringCRM.xcdatamodeld/.xccurrentversion
code/client/ios/SpringCRM/SpringCRM.xcdatamodeld/SpringCRM.xcdatamodel/contents
code/client/ios/SpringCRM/SpringCRMAppDelegate.h
code/client/ios/SpringCRM/SpringCRMAppDelegate.m
code/client/ios/SpringCRM/UIColor+CustomColors.h
code/client/ios/SpringCRM/UIColor+CustomColors.m
code/client/ios/SpringCRM/en.lproj/CRMAuthorizeViewController.xib
code/client/ios/SpringCRM/en.lproj/CRMCustomersViewController.xib
code/client/ios/SpringCRM/en.lproj/CRMProfileMainViewController.xib
code/client/ios/SpringCRM/en.lproj/CRMSignInViewController.xib
code/client/ios/SpringCRM/en.lproj/InfoPlist.strings
code/client/ios/SpringCRM/en.lproj/MainWindow.xib
code/client/ios/SpringCRM/main.m
code/web/hateoas-data/pom.xml
code/web/hateoas-data/src/main/java/com/jl/crm/web/CrmWebApplicationInitializer.java
code/web/hateoas-data/src/main/java/com/jl/crm/web/CustomerEventHandler.java
code/web/hateoas-data/src/main/java/com/jl/crm/web/CustomerLinks.java
code/web/hateoas-data/src/main/java/com/jl/crm/web/CustomerResourceProcessor.java
code/web/hateoas-data/src/main/java/com/jl/crm/web/ErrorControllerAdvice.java
code/web/hateoas-data/src/main/java/com/jl/crm/web/H2EmbeddedDatbaseConsoleInitializer.java
code/web/hateoas-data/src/main/java/com/jl/crm/web/UserLinks.java
code/web/hateoas-data/src/main/java/com/jl/crm/web/UserProfilePhotoController.java
code/web/hateoas-data/src/main/java/com/jl/crm/web/UserResourceProcessor.java
code/web/hateoas-data/src/main/resources/config.properties
code/web/hateoas-data/src/main/resources/log4j.properties
code/web/hateoas-data/src/main/resources/messages.properties
code/web/hateoas-data/todo.txt
code/web/hateoas/pom.xml
code/web/hateoas/src/main/java/com/jl/crm/web/ApiUrls.java
code/web/hateoas/src/main/java/com/jl/crm/web/CrmWebApplicationInitializer.java
code/web/hateoas/src/main/java/com/jl/crm/web/CustomerResourceAssembler.java
code/web/hateoas/src/main/java/com/jl/crm/web/H2EmbeddedDatbaseConsoleInitializer.java
code/web/hateoas/src/main/java/com/jl/crm/web/UserController.java
code/web/hateoas/src/main/java/com/jl/crm/web/UserProfilePhotoController.java
code/web/hateoas/src/main/java/com/jl/crm/web/UserResourceAssembler.java
code/web/hateoas/src/main/resources/config.properties
code/web/hateoas/src/main/resources/log4j.properties
code/web/hateoas/src/main/resources/messages.properties
code/web/hateoas/todo.txt
code/web/oauth/pom.xml
code/web/oauth/src/main/java/com/jl/crm/web/CrmSecurityApplicationInitializer.java
code/web/oauth/src/main/java/com/jl/crm/web/CrmWebApplicationInitializer.java
code/web/oauth/src/main/java/com/jl/crm/web/CurrentUser.java
code/web/oauth/src/main/java/com/jl/crm/web/CurrentUserController.java
code/web/oauth/src/main/java/com/jl/crm/web/CustomerEventHandler.java
code/web/oauth/src/main/java/com/jl/crm/web/CustomerLinks.java
code/web/oauth/src/main/java/com/jl/crm/web/CustomerResourceProcessor.java
code/web/oauth/src/main/java/com/jl/crm/web/ErrorControllerAdvice.java
code/web/oauth/src/main/java/com/jl/crm/web/H2EmbeddedDatbaseConsoleInitializer.java
code/web/oauth/src/main/java/com/jl/crm/web/JdbcClientDetailsServiceConfigurer.java
code/web/oauth/src/main/java/com/jl/crm/web/OAuthController.java
code/web/oauth/src/main/java/com/jl/crm/web/PageControllers.java
code/web/oauth/src/main/java/com/jl/crm/web/UserLinks.java
code/web/oauth/src/main/java/com/jl/crm/web/UserProfilePhotoController.java
code/web/oauth/src/main/java/com/jl/crm/web/UserResourceProcessor.java
code/web/oauth/src/main/resources/config.properties
code/web/oauth/src/main/resources/log4j.properties
code/web/oauth/src/main/resources/messages.properties
code/web/oauth/src/main/webapp/WEB-INF/crm/access_confirmation.jsp
code/web/oauth/src/main/webapp/WEB-INF/crm/signin.jsp
code/web/oauth/src/main/webapp/WEB-INF/crm/welcome.jsp
code/web/oauth/src/test/java/com/jl/crm/web/OAuthTest.java
code/web/oauth/src/test/java/com/jl/crm/web/SecurityRequestPostProcessors.java
code/web/oauth/todo.txt
code/web/pom.xml
code/web/rest/pom.xml
code/web/rest/src/main/java/com/jl/crm/web/ApiUrls.java
code/web/rest/src/main/java/com/jl/crm/web/CrmWebApplicationInitializer.java
code/web/rest/src/main/java/com/jl/crm/web/H2EmbeddedDatbaseConsoleInitializer.java
code/web/rest/src/main/java/com/jl/crm/web/UserController.java
code/web/rest/src/main/java/com/jl/crm/web/UserProfilePhotoController.java
code/web/rest/src/main/resources/config.properties
code/web/rest/src/main/resources/log4j.properties
code/web/rest/src/main/resources/messages.properties
code/web/rest/todo.txt
code/web/services/pom.xml
code/web/services/src/main/java/com/jl/crm/services/CrmService.java
code/web/services/src/main/java/com/jl/crm/services/Customer.java
code/web/services/src/main/java/com/jl/crm/services/CustomerException.java
code/web/services/src/main/java/com/jl/crm/services/CustomerRepository.java
code/web/services/src/main/java/com/jl/crm/services/CustomerWriteException.java
code/web/services/src/main/java/com/jl/crm/services/JpaCrmService.java
code/web/services/src/main/java/com/jl/crm/services/ProfilePhoto.java
code/web/services/src/main/java/com/jl/crm/services/ServiceConfiguration.java
code/web/services/src/main/java/com/jl/crm/services/User.java
code/web/services/src/main/java/com/jl/crm/services/UserException.java
code/web/services/src/main/java/com/jl/crm/services/UserProfilePhotoReadException.java
code/web/services/src/main/java/com/jl/crm/services/UserProfilePhotoWriteException.java
code/web/services/src/main/java/com/jl/crm/services/UserRepository.java
code/web/services/src/main/java/com/jl/crm/services/security/CrmUserDetailsService.java
code/web/services/src/main/resources/config.properties
code/web/services/src/main/resources/crm-schema-h2.sql
code/web/services/src/main/resources/crm-schema-postgresql.sql
code/web/services/src/main/resources/log4j.properties
code/web/services/src/main/resources/messages.properties
code/web/services/src/main/resources/sample-photos/spring-dog-1.jpg
code/web/services/src/main/resources/sample-photos/spring-dog-2.png
code/web/services/src/test/java/com/jl/crm/services/TestCustomerService.java
code/web/services/src/test/resources/spring-dog-1.jpg
code/web/services/src/test/resources/spring-dog-2.png
code/web/social/pom.xml
code/web/social/src/main/java/com/jl/crm/client/CrmApiAdapter.java
code/web/social/src/main/java/com/jl/crm/client/CrmConnectionFactory.java
code/web/social/src/main/java/com/jl/crm/client/CrmOperations.java
code/web/social/src/main/java/com/jl/crm/client/CrmServiceProvider.java
code/web/social/src/main/java/com/jl/crm/client/CrmTemplate.java
code/web/social/src/main/java/com/jl/crm/client/Customer.java
code/web/social/src/main/java/com/jl/crm/client/ProfilePhoto.java
code/web/social/src/main/java/com/jl/crm/client/User.java
code/web/social/src/main/resources/META-INF/mime.types
code/web/social/src/main/resources/config.properties
code/web/social/src/main/resources/crm-social-schema-h2.sql
code/web/social/src/main/resources/crm-social-schema-postgresql.sql
code/web/social/src/main/resources/log4j.properties
code/web/social/src/main/resources/messages.properties
code/web/social/src/test/java/com/jl/crm/client/ClientExample.java
code/web/social/src/test/resources/s2-logo.jpg
code/web/social/src/test/resources/s2-logo.png
code/web/social/todo.txt
docs/images/h2_database_console_configuration.png
misc/crm-schema.sql
misc/file_upload.html
tutorial.asc
Download
Click the following link to download the-spring-rest-stack-master.zip.
the-spring-rest-stack-master.zip