Posts

Showing posts from June, 2017

Core Java - Program sample

1) Object Comparison: import java.util.HashMap; import java.util.Map; public class TwoObjects {         public static void main(String args[]){                 TwoObjects t1 = new TwoObjects();         TwoObjects t2 = new TwoObjects();                System.out.println(t1==t2);         System.out.println(t1.equals(t2));                  Map<Object, String> map = new HashMap<Object, String>();                map.put(t1, "Shailesh");         map.put(t2, "Bhaskar");                System.out.println(map.get(t1));         System....

WSO2 Enterprise Integrator

Image
Overview WSO2 EI is an open source technology. It offers integrated enterprise platform that enables business to build, integrate, manage, secure and analyze their APIs, applications and web services in the cloud. Features Service Bus [Includes Functionalities – EBS, DSS, AS] Business Processing Management [BPS] Transports [HTTP, HTTPS, POP, IMAP, SMTP, JMS, TCP, FTP, SFTP, SMS, Apache Kafka, ActiveMQ, RabbitMQ, IBM WebSphere MQ, Oracle AQ] Formats : JSON, XML, SOAP, HTML, Text, JPEG, MP4, All Binary Formats Route, Mediate and Transform [Route Header Based, Content Based, Rule Based Mediation: Msg Filters, Dead Letter Channels, Guaranteed Delivery, DB Integration, Event Publishing, Logging and Auditing, Validation Transformation: XSLT 1.0/2.0, XPATH, Xquery and Smooks] Basic Activities Read CSV File From a Folder Write the CSV file into Another Folder Insert the CSV File Data into DataBase [Used MySQL Currently] Send Email with CSV Data in HTML Format...

NATS IO (High Performance Cloud Native Messaging)

Overview NATS is an open source messaging system NATS server is written in Go programming language Apcera develops and provide support for NATS (Developed by Derek Collision in Ruby earlier) The core design principle of NATS are Performance, Scalability and Easy of Use Security - Pluggable Integration with External Authorisation Required Activities NATS Streaming Server setup Java Program - Publisher & Subscriber Integration With Spring Boot Testing with JMeter by Pushing millions of messages Scalability NATS Streaming Server setup ------------------------------------- 1) Download the NATS Streaming server from https://nats.io/download/nats-io/nats-streaming-server/ (nats-streaming-server-v0.4.0-linux-386) 2) Unzip the file in your own directory 3) Open Terminal (Linux) and follow the path to get nats-streaming-server-v0.4.0.sh 4) Run nats-streaming-server-v0.4.0.sh  Java Program - Publisher & Subscriber --------------------...