Giter VIP home page Giter VIP logo

spring-angularjs's Introduction

Spring3 rest webservice with jackson library and calling from angularJS & html.

ReSTFul WebServices using Spring-3.2.11 , Jackson-2.4.3 with AngularJS-1.3.0 with html5. #Prerequisites:- You should be having jdk1.7.x ,apache tomcat7.x, apache-maven-3.2.3-bin ,Git-1.9.4 client tool, Curl Command line tool. #step1:- clone the project from repo. #step2:- run the pom.xml maven build which is alredy exist in project. build-log
#step3:- you got the war file in target folder , just copy war in apache tomcat. WarFile
#step4:- open the page in browser 'http://localhost:8080/spring-angularJS/myapps.html'and see the result.
now see the html page , I used angular js script 'myapps.js' for calling the rest webservice(http://localhost:8080/spring-angularJS/springcontent.json). #step5:- you can call the rest webservice using CURL command line tool, download curl and issue below command.see the screenshot for more details. you can get the diffrent type of result from rest service(xml,json)
$curl -XGET http://localhost:8080/spring-angularJS/springcontent.json
$curl -XGET http://localhost:8080/spring-angularJS/springcontent.xml
curl-call

spring-angularjs's People

Contributors

gurdeepss avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.