Blog Archives

Create Web service using wsgen in command line


Generally bottom up approach, where the service implementation is done first and wsdl will be generated next, is not a suggested way of implementing a web service. In some cases where the service implementation class is already exists in the

Tagged with: , , ,
Posted in JAVA

Differences between wsimport and wsgen


wsimport: The wsimport tool reads a WSDL and generates all the required artifacts for web service development, deployment, and invocation. The wsimport tool supports the top-down approach to developing JAX-WS Web services, where you are starting from a wsdl. The

Tagged with: , , , , , , ,
Posted in JAVA, Web Services

Create web service in Bottom Up approach using command line


Create Service Interface MyJaxWSSEI.java package in.malliktalksjava.ws; import in.malliktalksjava.ws.pojo.*; import javax.jws.WebMethod; import javax.jws.WebParam; import javax.jws.WebResult; import javax.jws.WebService; import javax.jws.WebParam.Mode; import javax.jws.soap.SOAPBinding; import javax.jws.soap.SOAPBinding.Style; import javax.jws.soap.SOAPBinding.Use; import javax.xml.ws.RequestWrapper; import javax.xml.ws.ResponseWrapper; @WebService(name = “MyJaxWSHello”, targetNamespace = “http://malliktalksjava.in”, wsdlLocation = “https://malliktalksjava.in/MyJaxWS?wsdl”) @SOAPBinding(style=Style.RPC, use=Use.LITERAL) public interface

Tagged with: , , ,
Posted in JAVA, Web Services

Spring Security Namespace Designs


The namespace is designed to capture the most common uses of the framework and provide a simplified and concise syntax for enabling them within an application. The design is based around the large-scale dependencies within the framework, and can be

Tagged with: , , , , , ,
Posted in Spring, Spring Security

SOAP Vs REST Web Services


SOAP REST 1) SOAP is a protocol. REST is an architectural style. 2) SOAP stands for Simple Object Access Protocol. REST stands for REpresentational State Transfer. 3) SOAP can’t use REST because it is a protocol. REST can use SOAP web services because it is a concept and

Tagged with: , , , , ,
Posted in Web Services

Features of Spring Web MVC


Spring’s web module includes many unique web support features: Clear separation of roles. Each role—controller, validator, command object, form object, model object, DispatcherServlet, handler mapping, view resolver, and so on—can be fulfilled by a specialized object. Powerful and straightforward configuration

Tagged with: , , , , , , ,
Posted in Spring

Introduction to Apache Cordova


Apache Cordova is a platform for building native mobile applications using HTML, CSS and JavaScript. It is a set of device APIs that allow a mobile app developer to access native device function such as the camera or accelerometer from JavaScript.

Tagged with: , , , , , , , , ,
Posted in Apache Cordova, Mobile Platforms

Methods of Bean Configurations for Spring Container


There are three ways to provide the configuration metadata to Spring container. Below are the more details about them. 1. Xml based configuration file <?xml version=”1.0″ encoding=”UTF-8″?> <beans xmlns=”http://www.springframework.org/schema/beans&#8221; xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance&#8221; xsi:schemaLocation=”http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd”&gt; <!– A simple bean definition –> <bean id=”…” class=”…”>

Tagged with: , , ,
Posted in Spring

Spring Bean Scopes – Examples


There are 5 spring bean scopes as below: 1. Singleton:  If scope is set to singleton, the Spring IoC container creates exactly one instance of the object defined by that bean definition. This single instance is stored in a cache

Tagged with: , , , , ,
Posted in Spring

How to Inject Null or Blank values to a Spring Bean


To inject an NULL value which is equivalent to bean.setMessage(null): <bean id=”beanId” class=”bean”> <property name=”message”><null/></property> </bean> To inject an empty Stringe which is equivalent to bean.setMessage(“”) <bean id=”beanId” class=”bean”> <property name=”message” value=””></property> </bean>  

Tagged with: ,
Posted in Spring

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 680 other followers

Calendar
June 2017
M T W T F S S
« Dec    
 1234
567891011
12131415161718
19202122232425
2627282930  
Mallikarjun Gunda

This is Mallikarjun Gunda, I am working as a software professional. Blogging is my Passion. This blog contains the posts on Java related technologies and programming languages. I am happy to share my knowledge through the blogs.

Blog Stats
  • 219,950 hits
IndiBlogger
malliktalksjava.wordpress.c...
70/100
All tags
Apache Cassandra Arrays in Java Cassandra Cassandra Database Cassandra examples client stubs creating a java web service creating a web service using java difference between interface and abstract class Differences between SOAP and RESTfull webservices Display div as Overlay using JQuery download the spring basic application File directory Generating webservice client stubs Hibernate hibernate exceptions How to display over using JQuery how to generated web service client stubs in STS How to implement Spring basic application how to write singleton design pattern in java interface in java Java Java Arrays Java Example Programs Java examples Java interview questions java programs java project Java sample Programs JavaScript Java Script JavaServer Faces Java Sorting alogorithms Java Tutorials javatutorials Java Web services JDBC open shift openshift Overlay implementation using JQuery Overlay in JQuery POI API POI Examples public class public static void main Redhat OpenShift representational state transfer Restfull webservices Sample Overlay html with JQuery sample programs in java Service-oriented architecture Singleton design pattern in java SOAP SOAP Webservices software Spring Framework Spring Interview Questions Spring MVC Spring MVC Example program Spring MVC sample Program Spring Sample Programs Spring Tutorials Struts technology Top Java Interview questions w3c dom Web service web service client Web Service Description Language Web services webservices writing singleton design pattern in Java WSDL Xml xml parsers