Solved

Implementing webservices using spring

Posted on 2014-01-22
3
498 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
maven example error 3 52
Checkbox and ListView in Android Layout 4 56
Responding to Java JComponent extended classes's resize event 4 52
jar file executable 12 43
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

895 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now