Home » Tag Archives: Web Services (page 3)

Tag Archives: Web Services

Web Services with JAX-WS on Tomcat

apache-tomcat-logo

Let us assume an enterprise is maintaining user authentication details in a centralized system. We need to create an AuthenticationService which will take credentials, validate them and return the status. The rest of the applications will use the AuthenticationService to authenticate the Users. Create AuthenticationService interface as follows: package com.sivalabs.caas.services; import javax.jws.WebService; import com.sivalabs.caas.domain.AuthenticationStatus; import com.sivalabs.caas.domain.Credentials; import com.sivalabs.caas.exceptions.AuthenticationServiceException; @WebService public ...

Read More »

JSON web service with Java and Axis2

json-logo

I have recently met a client who asking me to rebuild their legacy product using Java web service. They want it modular and easy to use. The first thing crossed my mind is using restful approach. But there is only thing that bothers me, Java restful approach is using XML!, I would prefer a simpler way to communicate, easy to ...

Read More »

Spring 3, Spring Web Services 2 & LDAP Security

spring-interview-questions-answers

This year started on a good note, another one of those “the deadline won’t change” / “skip all the red tape” / “Wild West” type of projects in which I got to figure out and implement some functionality using some relatively new libraries and tech for a change, well Spring 3 ain’t new but in the Java 5, weblogic 10(.01), ...

Read More »

Web-service learnings with Apache CXF

apache-logo

In my last couple of projects I worked with web-services, creating them at some places and consuming them at others. I felt that the standard tasks like creating a client, creating a web service etc are quite straight forward and there are enough resources if you get stuck. But with web services, it is some trivial task that can take ...

Read More »

Web Services in Ruby, Python and Java

ruby-logo

Today I’ve had to prepare some examples to show that web services are interoperable. So I’ve created a simple web service in Java using Metro and launched it on Tomcat. Then tried to consume them using Python and Ruby. Here’s how it all finished… Web service in Java I’ve started with a simple web service in Java: package com.wordpress.jdevel.ws; import ...

Read More »

JAX–WS with Spring and Maven Tutorial

eclipse-logo

Spring framework provides remoting support for web services via JAX–WS, in fact, as stated in Spring reference documentation, there are three ways of exposing Spring POJO services as a JAX–WS web services : Exposing Servlet – based web services (suitable for Java EE 5 environments) Exporting standalone web services (suitable when utilizing Sun’s JDK 1.6 build–in JAX–WS provider) Exporting web ...

Read More »
Want to take your Java Skills to the next level?
Grab our programming books for FREE!
  • Save time by leveraging our field-tested solutions to common problems.
  • The books cover a wide range of topics, from JPA and JUnit, to JMeter and Android.
  • Each book comes as a standalone guide (with source code provided), so that you use it as reference.
Last Step ...

Where should we send the free eBooks?

Good Work!
To download the books, please verify your email address by following the instructions found on the email we just sent you.