XML Introduction

XML – Extensible MarkUp Language What is MarkUp Language? Markup language is a language that defines the format of document or web page, so that the browser/systems understands and apply the formats to the contents and visually provide formatted contents to the users. Markup languages are used only to format the text.,and while displaying the … Continue reading “XML Introduction”

Learn Angular JS In 10 minutes

Config/Factory/Service/Controller Example This example provides the usage of following components in angular -js., in a simple example. The following example provides the details of all the below components, so we can use it for an enterprise application very easily. Config Factory Service Constants Controller Config – Config is nothing but the Configuration block which is … Continue reading “Learn Angular JS In 10 minutes”

Angular JS – Introduction

Angular JS is a UI framework maintained by Google, helps to separate the model, view and Controller(MVC) components in front end UI. It clearly separates client side execution from the application logic. It enables developers to easily create custom HTML elemens with new attributes which helps re-use custom defined tags. Angular JS has scope variables … Continue reading “Angular JS – Introduction”

BlockingQueue

BlockingQueue is a thread-safe queue where we can enqueue on one end of queue, and dequeue on another end of queue., All BlockingQueue implementions on array or linked queues are thread-safe implementations. Below is a simple usage of BlockingQueue.

Output:

BlockingDeque

BlockingDeque is an extended implementation of queue where we can enqueue or dequeue on both ends of the queue. All BlockingDeque implementions on array or linked queues are thread-safe implementations. Below is a simple usage of BlockingDeque

Output:

Encoding/Decoding In Java

Encoding/Decoding is the method of representing an data, to a different format so that data can be transferred through the network or web. Encoder usually converts the data into web representation and after received in the other end, decoder converts back the web representation data to original data. 1. Base64 Encoding/Decoding Base64 is a way … Continue reading “Encoding/Decoding In Java”