Home » Author Archives: Pavithra Siriwardena

Author Archives: Pavithra Siriwardena

RESTful Web Services with Java


REST stands for REpresentational State Transfer, was first introduced by Roy Fielding in his thesis “Architectural Styles and the Design of Network-based Software Architectures” in year 2000. REST is an architectural style. HTTP is a protocol which contains the set of REST architectural constraints. REST fundamentals     Everything in REST is considered as a resource. Every resource is identified ...

Read More »

GlassFish: How to deploy a war file


Before trying this out make sure you have installed GlassFish in your machine. Installation is just easy as downloading the zip archive from here and unzipping it to a desired location. Creating a new domain Open up a terminal, change directory to the GlassFish installation directory and run following.       bin/asadmin This will enable you to use asadmin ...

Read More »

Getting started with JAX-WS


JAX-WS stands for Java API for XML Web Services. It is a Java programming language API for creating web services and clients that communicate using XML. This post is a quick start for JAX-WS. Prerequisites GlassFish integrated with Eclipse. Creating the JAX-WS Web Service 1.In Eclipse create a Dynamic Web Project called ‘com.eviac.blog.jaxwsproj’. Make GlassFish as the Target Runtime.     ...

Read More »

JMS with ActiveMQ


JMS with ActiveMQ  JMS short for Java Message Service provides a mechanism for integrating applications in a loosely coupled, flexible manner. JMS delivers data asynchronously across applications on a store and forward basis. Applications communicate through MOM(Message Oriented Middleware) which acts as an intermediary without communicating directly. JMS Architecture Main components of JMS are: JMS Provider: A messaging system that ...

Read More »

Apache Thrift with Java quickstart


Apache Thrift is a RPC framework founded by facebook and now it is an Apache project. Thrift lets you define data types and service interfaces in a language neutral definition file. That definition file is used as the input for the compiler to generate code for building RPC clients and servers that communicate over different programming languages. You can refer ...

Read More »

MongoDB with Java Kickstart


NoSQL databases due to their scalability are becoming increasingly popular. When used appropriately NoSQL databases can offer real benefits. MongoDB is such a highly scalable opensource NoSQL database written in C++. 1. Installing MongoDB Without much of a trouble you can install MongoDB using the instructions given in the official MongoDB site, according to whatever the OS you are using. ...

Read More »

Getting started with GWT


GWT short for Google Web Development Kit lets programmers to develop Ajax web applications with java. Java codes are converted in to JavaScript and html codes by the GWT compiler. GWT applications are called modules and modules are described using a xml file, assuming the module name as “mymodule” name of the xml file would be “mymodule.gwt.xml”. There is atleast ...

Read More »

Want to take your Java skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • Spring Interview QnA
  • Multithreading & Concurrency QnA
  • JPA Minibook
  • JVM Troubleshooting Guide
  • Advanced Java
  • Java Interview QnA
  • Java Design Patterns