tag:blogger.com,1999:blog-52793572954721877202024-03-17T20:03:27.634-07:00Knowledge for AllAnonymoushttp://www.blogger.com/profile/13947124320398607143noreply@blogger.comBlogger89125tag:blogger.com,1999:blog-5279357295472187720.post-87286984217727002382018-01-22T22:55:00.000-08:002018-01-22T22:55:20.492-08:00Build Node.js Mongodb RESTful APIs in 5 Minutes
Rest is the web standards architecture and HTTP Protocol. REST stands for Representational State Transfer and handle the server side of the web application well. That means that the backend is built once and can provide content or data for frontend, mobile, or other server-side apps.
here will see how to create a RESTful API using Node.js.
Tools:
Node.js
MongoDB
Text editor
PostmanAnonymoushttp://www.blogger.com/profile/13947124320398607143noreply@blogger.com2tag:blogger.com,1999:blog-5279357295472187720.post-83076539167377948532017-04-14T09:28:00.000-07:002017-04-14T09:28:13.835-07:00What to do with PermGen space when login WSO2EI 6.1.0
After the successful start of the WSO2 Enterprise Integrator (EI) 6.1.0 I tried to log in the management console and encountered an error java.lang.OutOfMemoryError: PermGen space. Please follow the steps to solve the issue.
Error
java.lang.OutOfMemoryError: PermGen spaceDumping heap to /home/rajjaz/Documents/support/wso2ei-6.1.0/repository/logs/heap-dump.hprof ...Heap dump fileAnonymousnoreply@blogger.com0tag:blogger.com,1999:blog-5279357295472187720.post-51848714817244283912017-04-14T07:29:00.002-07:002017-04-14T07:31:01.405-07:00WSO2 ESB 4.8.1 support for FileConnector V2
WSO2 ESB File connector version2 introduces the atomic operation related to the file system and allows you to easily manipulate files based on your requirement. The file streaming functionality using Apache Commons I/O lets you copy large files and will reduce the file transfer time between the two file systems resulting in a significant improvement in performance that can be utilised in file Anonymousnoreply@blogger.com0tag:blogger.com,1999:blog-5279357295472187720.post-8275480644296776992016-08-26T03:36:00.000-07:002016-09-10T03:44:55.154-07:00Custom Window extension for siddhi
Siddhi Window Extension allows events to be collected and expired without altering the event format based on the given input parameters like the Window operator. In this post, we are going to look how to write a custom window extension for siddhi and test case to test the function. By default in window extension archetype 2.0.0 it generates the code for length window so let's go Anonymousnoreply@blogger.com0tag:blogger.com,1999:blog-5279357295472187720.post-82295607168188970482016-06-25T00:56:00.000-07:002016-08-20T00:58:40.443-07:00Analytics Event Publisher for WSO2 CEP
WSO2 Complex Event Processor (CEP) is a lightweight, easy-to-use, open source Complex Event Processing server (CEP). It identifies the most meaningful events within the event cloud, analyzes their impact, and acts on them in real-time. Event publishers publish events to external systems via various transport protocols. and store data to databases for future analysis. Like the event Anonymousnoreply@blogger.com0tag:blogger.com,1999:blog-5279357295472187720.post-2734032972073399062016-06-23T21:57:00.000-07:002016-08-18T22:01:02.472-07:00Stream Definitions for wso2 complex event processor
An event is a unit of data, and an event stream is a sequence of events of a particular type. The type of events can be defined as an event stream definition. so different stream definitions are required to be used to store several data streams into the same column family, different stream versions should be used with the same stream name corresponding to the column family.
After the stream Anonymousnoreply@blogger.com0tag:blogger.com,1999:blog-5279357295472187720.post-16985596724541074512016-05-19T02:31:00.000-07:002016-09-10T03:35:13.251-07:00Use siddhi Try it for Experimentation
This blog post explains how to use Siddhi Try It tool which comes with WSO2 CEP 4.2.0. The Siddhi Try It is a tool used for experimentation of event sequences through Siddhi Query Language (SiddhiQL) statements in real time basis. You can define an execution plan to store the event processing logic and input an event stream to test the Siddhi query processing functionality.
Follow the Anonymousnoreply@blogger.com0tag:blogger.com,1999:blog-5279357295472187720.post-83064700980677672612016-04-29T13:00:00.000-07:002016-06-07T06:59:14.398-07:00WSO2 Jaffna: Extending Platforms meetup - 01
How does the WSO2 platform work, and how can you contribute while
studying? If you're a student at the University of Jaffna, join us as we
discuss extensions and how to begin your journey of open source
contribution.
This is the summery of meetup if some one miss the meetup please find the slides here.
See how the authenticator works
and more
References:
httpAnonymousnoreply@blogger.com0tag:blogger.com,1999:blog-5279357295472187720.post-7415899165064158142016-04-16T23:19:00.000-07:002016-05-31T21:00:09.059-07:00Federated Authenticator in WSO2 Identity Server 5.1.0
An authenticator allows you to authenticate the user
using third party authentication systems such as LinkedIn, Clef
and Foursquare. You can configure the authenticators for your identity provider to
reach out to third party authentication systems to authenticate a user
who logs in to your application. For example, if you configure LinkedIn authenticator as your authenticator in Anonymousnoreply@blogger.com0tag:blogger.com,1999:blog-5279357295472187720.post-59144491868606800982016-03-19T03:14:00.000-07:002016-08-05T22:48:17.008-07:00Pass Dynamic Values through Class Mediator in ESB Connector methods
In this post, let's discuss how we can pass a dynamic number of arguments to connector methods, Normally we work with pre-defined parameters in connector but here let's see how we can pass dynamic parameters with dynamic value and name and how we can use inside the connector method.
There are two types of actions we can do to get dynamic parameters. First one is set some key Anonymousnoreply@blogger.com0tag:blogger.com,1999:blog-5279357295472187720.post-49092220455639176062016-02-20T02:25:00.000-08:002016-08-05T02:26:16.820-07:00Git for Team Projects
In this post, I'm gonna explain how to use Git for our personal projects and contribute to others projects most importantly team works. We assume that every reader knows about Git before this post. Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. Git is easy to learn and Anonymousnoreply@blogger.com0tag:blogger.com,1999:blog-5279357295472187720.post-87962311159465302912016-01-12T03:24:00.001-08:002016-01-12T03:50:57.069-08:00WSO2 Identity Server Dropbox Authenticator
Each authenticator provides you a way to authenticate the user using
specific external authentication system. For example if you want to
authenticate a user who logs into your application using Dropbox
authenticator, you need to configure the Dropbox authenticator for your
identity provider .The Dropbox authenticator allows you to authenticate user using Dropbox through WSO2 IS.&Anonymousnoreply@blogger.com0tag:blogger.com,1999:blog-5279357295472187720.post-88947139207322253802016-01-10T12:16:00.000-08:002016-06-20T03:11:10.932-07:00Creating WSO2 IS Custom Federated Authenticator
WSO2 IS custom authenticators provides you a way to authenticate the user using specific external authentication system. through the authenticators we can secure our systems. Before start development Research the APIs provided by the service for which you want to create an authenticator.
Create a folder name called Sample
within folder generate archetype. then you will get the Anonymousnoreply@blogger.com1tag:blogger.com,1999:blog-5279357295472187720.post-48026684985996893882015-12-15T01:11:00.000-08:002015-12-15T01:11:55.796-08:00Run Integration Test with WSO2 ESB EJB2 Connector and Jboss 5.1
As we discussed earlier EJB2 connector is a tool to make calls between remote EJB2.X objects and wso2 ESB. there are two type of calls we can call.Stateless and stateful where stateless is a one time call and stateful maintain a state between remote object and client. Integration Test for EJB2.X connector written based on Jboss 5.1 server so there are some pre configuration we need to Anonymousnoreply@blogger.com0tag:blogger.com,1999:blog-5279357295472187720.post-73639936237742000182015-12-13T22:46:00.001-08:002015-12-15T01:12:32.146-08:00WSO2 ESB EJB 2.x Connector
Enterprise
JavaBeans is an architecture for transactional, component-based
distributed computing. The specification for EJBs lays out not just the
format of a bean itself, but also a set of services that must be
provided by the container in which the bean runs. This makes EJBs a
powerful development methodology for distributed application
development. Neither the bean developer nor theAnonymousnoreply@blogger.com0tag:blogger.com,1999:blog-5279357295472187720.post-89002757828172162022015-11-14T00:41:00.000-08:002016-05-30T04:27:43.370-07:00Writing WSO2 ESB Connector Integration Test
We assume that readers have basic knowledge about TestNG and Connector. If not please get the knowledge about connector development from here before read this post. In this post we are analyzing how we can implement a connector integration test. Integration test is very important to evaluate the effectiveness of the connector functions. This post will focus on integration test based on Hello Anonymousnoreply@blogger.com0tag:blogger.com,1999:blog-5279357295472187720.post-66456946631542967592015-10-15T04:35:00.000-07:002015-10-15T04:40:22.531-07:00Getting Started with Simple wso2 ESB EJB Mediator Sample
The EJB mediator calls an external Enterprise
JavaBean(EJB) and stores the result in the message payload or in a
message context property. Currently, this mediator supports EJB3
Stateless Session Beans and Stateful Session Beans.
Before Start first look what is EJB Mediator and what is EJB
now Let's see how to Run a Simple Hello Name using EJB Mediator. in
order to run the the sampleAnonymousnoreply@blogger.com0tag:blogger.com,1999:blog-5279357295472187720.post-90830686231865656082015-10-07T23:14:00.001-07:002015-10-07T23:43:56.398-07:00 WSO2 ESB EJB Mediator
The EJB mediator calls an external Enterprise
JavaBean(EJB) and stores the result in the message payload or in a
message context property. Currently, this mediator supports EJB3
Stateless Session Beans and Stateful Session Beans.
Syntax
<!-- HTML generated using hilite.me -->
<ejb beanstalk="string" class="string" [sessionId="string"] [remove="true | Anonymousnoreply@blogger.com0tag:blogger.com,1999:blog-5279357295472187720.post-5844112450457406492015-10-07T01:16:00.001-07:002016-08-05T23:37:10.692-07:00Getting Started with Simple Remote EJB 3.X Server Sample
This sample will give you a simple working experience with EJB client server . here I’m using netbeans as IDE and JBoss 5.1 as my EJB Container. and I created seperate client for Stateful an Stateless EJB sessions in order to make easy the development .We'll create a ejb module project named EJBTestServer.
1. In NetBeans IDE, select ,File > New Project Select project Anonymousnoreply@blogger.com0tag:blogger.com,1999:blog-5279357295472187720.post-69819419427246670242015-09-30T22:52:00.000-07:002015-10-01T11:38:00.762-07:00Getting Started with Simple RMI services
Writing your own RMI services can be a little difficult at first, so we'll start off
with an example which isn't too ambitious.In this example, we have followed all the 6 steps to create and run the
rmi application. The client application need only two files, remote
interface and client application. In the rmi application, both client
and server interacts with the remote interface. The Anonymousnoreply@blogger.com0tag:blogger.com,1999:blog-5279357295472187720.post-26547996551284803752015-09-30T03:54:00.001-07:002015-09-30T22:53:01.117-07:00JAVA Remote Method Invocation (RMI)
Remote method invocation allows applications to call
object methods located remotely, sharing resources and processing load across systems.
Unlike other systems for remote execution which require that only simple data types or
defined structures be passed to and from methods, RMI allows any Java object type to be
used - even if the client or server has never encountered it Anonymousnoreply@blogger.com0tag:blogger.com,1999:blog-5279357295472187720.post-83365206204815092442015-09-29T07:28:00.000-07:002015-09-29T23:45:52.384-07:00Study About Enterprise Java Beans (EJB) Introduction
Enterprise Java Beans (EJB) is a development architecture for building
highly scalable and robust enterprise level applications to be deployed
on J2EE compliant Application Server such as JBOSS, Web Logic etc.
A recent study by Java developer Raghu Kodali has shown that porting Sun's Java EE tutorial application RosterApp from EJB 2.1 to EJB 3.0 resulted in
more than a 50-percent Anonymousnoreply@blogger.com0tag:blogger.com,1999:blog-5279357295472187720.post-88276590630821323202015-09-27T06:52:00.000-07:002015-09-30T08:08:06.562-07:00WSO2 ESB Mediator
Mediators provide an easy way of extending the ESB functionalities.
WSO2 ESB is based on the WSO2 Carbon platform, which uses OSGI as the
underlying technology. It implies everything that runs inside the WSO2
ESB to be OSGI bundles.
There are two ways of writing the ESB mediator:
Using Class Mediator - This does not allow mediator specific XML configurations. See Writing Custom Anonymousnoreply@blogger.com0tag:blogger.com,1999:blog-5279357295472187720.post-62804142903715020162015-09-17T01:53:00.001-07:002015-09-17T07:44:53.612-07:00WSO2 ESB Feed Inbound Endpoint
Atom 1.0
Atom
is the name of an XML-based Web content and metadata syndication
format, and an application-level protocol for publishing and editing Web
resources belonging to periodically updated websites. All Atom feeds
must be well-formed XML documents, and are identified with the application/atom+xml media type.
General considerations:
All elements described in Atom must be in Anonymousnoreply@blogger.com0tag:blogger.com,1999:blog-5279357295472187720.post-32288189621262528152015-08-28T22:07:00.000-07:002015-10-19T22:08:15.274-07:00WSO2 ESB Feed Connector
Atom
is the name of an XML-based Web content and metadata syndication
format, and an application-level protocol for publishing and editing Web
resources belonging to periodically updated websites. All Atom feeds
must be well-formed XML documents, and are identified with the application/atom+xml media type.
To use the Feed Connector first we need to configure the Server on
BackendAnonymousnoreply@blogger.com0