Blog Archives

ES6 Spread Operator


The spread operator, written with three consecutive dots ( … ), is new in ES6 and gives you the ability to expand, or spread, iterable objects into multiple elements.

Tagged with: , , , , ,
Posted in ES6, JavaScript

ES6 for…of Example Program – Replace first letter of String with Uppercase


Below example iterates days array using for…of operation in ES6 and replaces the first character of the day with upper case. /* * Programming Quiz: Writing a For…of Loop (1-4) */ const days = [‘sunday’, ‘monday’, ‘tuesday’, ‘wednesday’, ‘thursday’, ‘friday’,

Tagged with: , , , , ,
Posted in ES6, JavaScript

NgModule Properties in Angular 2


NgModule is a decorator function that takes a single metadata object whose properties describe the module. The most important properties are: declarations – the view classes that belong to this module. Angular has three kinds of view classes: components, directives,

Tagged with: , , , , ,
Posted in Angular

Components of Angular 2


Below are the major  components of Angular 2 Modules − This is used to break up the application into logical pieces of code. Each piece of code or module is designed to perform a single task. Component − This can

Tagged with: ,
Posted in Angular

Angular 2 Features


Angular 2 is a opensource javascript framework developed by developers at google. This framework is used to build the single page applications. Angular 2 has been built by considering the difficulties faced in Angular 1 and Angular 2 removes the

Tagged with: , , , , ,
Posted in Angular

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 = “http://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

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

Join 679 other followers

Calendar
December 2019
M T W T F S S
« Nov    
 1
2345678
9101112131415
16171819202122
23242526272829
3031  
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
  • 321,697 hits
IndiBlogger
malliktalksjava.wordpress.c...
70/100