Giter Club home page Giter Club logo

jaxrs_rest_webservices's Introduction

Pre-requisites
1. Apache Ant 1.7.1
2. Apache Tomcat 7.0.11 or greater
3. Java 6
4. MySQL 5.1
5. mySQL JDBC driver under ${TOMCAT_HOME}/lib

Important points
1. In case you are using local mySQL5, ensure that you create a new database "jaxrs" on the mySQL5 database. The command is
	create database jaxrs;
	use jaxrs;
2. To enable security on the Tomcat side; open the "${tomcat_home}/conf/tomcat-users.xml" file and at a minimum, add these 2 lines.
	<role rolename="tomcat"/>
	<user username="tomcat" password="tomcat" roles="tomcat"/>
3. If you are building the application using "ant"; please ensure that you have the tomcat root folder defined in the "ant.properties" file as below.
	tomcat.dir=F:\\Program Files\\apache-tomcat-7.0.11
4. The command to create the war and deploy to tomcat is "ant deploy"
5. You can access the running application at (assuming tomcat running at port 8080)
	1. http://localhost:8080/JAXRS_REST_WebServices/hello
	2. http://localhost:8080/JAXRS_REST_WebServices/rest/employee
6. The client examples can be run as JUnit tests    

jaxrs_rest_webservices's People

Contributors

anilallewar 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.