Sending and receiving attachments with JAX WS and MTOM

In this article, we will learn about transmitting binary data like images in JAX-WS without MTOM and with MTOM. What is MTOM? MTOM stands for Message Transmission Optimization Mechanism It provides an efficient mechanism for transmitting the binary data (like Image,pdf etc) between client and web service It uses XOP to serialize and deserialize the […]

Share this article on

Spring Rest service Hello world with XML

Create a new Maven Web project in eclipse (Refer Spring MVC Hello World project for the same) Project structure Step 1 Update pom.xml with below dependencies <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">     <modelVersion>4.0.0</modelVersion>     <groupId>SpringRestHelloWorldXML</groupId>     <artifactId>SpringRestHelloWorldXML</artifactId>     <packaging>war</packaging>     <version>0.0.1-SNAPSHOT</version>     <name>SpringRestHelloWorldXML Maven Webapp</name>     […]

Share this article on
< Previous Next >