Solved

Implementing webservices using spring

Posted on 2014-01-22
3
511 Views
Last Modified: 2014-01-27
Planning to implement webservices using java ee, spring and mysql. Can someone please provide some heads up on the same.For spring,what are the latest jar's or eclipse plugins I should use for the same. Are there any documentations which clearly explains webservice development using spring, step by step? If not, can someone provide some simple examples for the same?

PS: I know basics of Java EE development.
0
Comment
Question by:Sreejith22
  • 2
3 Comments
 
LVL 6

Accepted Solution

by:
Mahesh Bhutkar earned 500 total points
ID: 39802349
You can use Spring tool Suite (STS) for spring development. It is based on eclipse only.

Inside it's Help you will found lot's of option for creating web services.

For basics of Spring web services you may refer,
http://www.beingjavaguys.com/2013/04/what-are-web-services-in-spring.html

You can also see JAX-WS + Spring integration example here,
http://www.mkyong.com/webservices/jax-ws/jax-ws-spring-integration-example/

Your core spring jars dependency needs to be uptodate along with versions,

I am sharing all required dependency from my project,

antlr-2.7.6.jar
com.springsource.net.sf.cglib-2.2.0.jar
com.springsource.org.aopalliance-1.0.0.jar
com.springsource.org.apache.commons.logging-1.1.1.jar
com.springsource.org.apache.log4j-1.2.15.jar
com.springsource.org.aspectj.tools-1.6.6.RELEASE.jar
com.springsource.org.aspectj.weaver-1.6.8.RELEASE.jar
commons-collections-3.1.jar
dom4j-1.6.1.jar
hibernate3.jar
hibernate-jpa-2.0-api-1.0.1.Final.jar
javassist-3.12.0.GA.jar
jstl.jar
jta-1.1.jar
mysql-connector-java-5.0.4-bin.jar
org.springframework.aop-3.1.4.RELEASE.jar
org.springframework.asm-3.1.4.RELEASE.jar
org.springframework.aspects-3.1.4.RELEASE.jar
org.springframework.beans-3.1.4.RELEASE.jar
org.springframework.context-3.1.4.RELEASE.jar
org.springframework.context.support-3.1.4.RELEASE.jar
org.springframework.core-3.1.4.RELEASE.jar
org.springframework.expression-3.1.4.RELEASE.jar
org.springframework.jdbc-3.1.4.RELEASE.jar
org.springframework.orm-3.1.4.RELEASE.jar
org.springframework.transaction-3.1.4.RELEASE.jar
org.springframework.web-3.1.4.RELEASE.jar
org.springframework.web.servlet-3.1.4.RELEASE.jar
slf4j-api-1.6.1.jar
slf4j-log4j12-1.6.1.jar
spring-security-config-3.1.3.RELEASE.jar
spring-security-core-3.1.3.RELEASE.jar
spring-security-taglibs-3.1.3.RELEASE.jar
spring-security-web-3.1.3.RELEASE.jar
standard.jar

Probably AOP & Security jars might be not required for you.
0
 

Author Comment

by:Sreejith22
ID: 39802416
1) For webservices development alone, what level of expertise you need to have with Spring?
2) What in addition you need to study in order that one would be able to write webservices that would return json?
0
 
LVL 6

Assisted Solution

by:Mahesh Bhutkar
Mahesh Bhutkar earned 500 total points
ID: 39802620

1) For webservices development alone, what level of expertise you need to have with Spring?
For web services you should know XSD, WSDL, SOAP. You should have basic knowledge of Spring Syntax & API. i.e Spring Core API.


2) What in addition you need to study in order that one would be able to write webservices that would return json?
You can use Restful web services in SPRING
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
spring jars download 1 36
null output 3 36
Select statement in @Query (JPA Repository) - SpringMVC 2 19
jsp error 6 27
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question