Elastic Search Index- What is that? Answer will not be as simple as sound. In layman language- An index is a data structure for storing the mapping of fields to the corresponding documents. The objective is to allow faster searches, often at the expense of increased memory usage and preprocessing time. Till now developers have […]

ElasticSearch is an Open Source (Apache 2), Distributed Search Engine built on top of Apache Lucene. Elasticsearch is a NOSQL, distributed full text database. Which means that this database is document based instead of using tables or schema, we use documents. Elasticsearch is much more than just Lucene and much more than “just” full text search. […]

Hi All, File upload in Oracle ADF is done with af:inputFile component. To implement file upload functionality, follow the below steps: 1. add af:inputFile component to the form. 2. set usesUpload property of the af:form element to true. 3. create binding of inputFile and its valueChangeListener in managed bean. 4. write code to implement file […]

In my previous article , I talked about JWT introduction and how it works. There are multiple libraries by which you can implement JWT in Java. 1. Java JWT: JSON Web Token for Java and Android Installation Use your favorite Maven-compatible build tool to pull the dependency (and its transitive dependencies) from Maven Central: Maven: […]

JSON Web Token (JWT) is a compact, URL-safe means of representing claims to be transferred between two parties. The claims in a JWT are encoded as a JSON object that is used as the payload of a JSON Web Signature (JWS) structure or as the plaintext of a JSON Web Encryption (JWE) structure, enabling the […]

The default (that is, active) security realm for WebLogic Server includes a WebLogic Role Mapping provider. The WebLogic Role Mapping provider computes dynamic security roles for a specific user (subject) with respect to a specific protected WebLogic resource for each of the default users and WebLogic resources. The WebLogic Role Mapping provider supports the deployment […]

Using the Oracle-supplied Java SDK’s The sample code below uses the OID SDK’s to bind to the OID directory server and then create a new user under a specific location in the directory tree. To use the above sample code do the following: 1. Save the above text indicated between the begin/end cut lines into […]

Requirement – To have persistent storage in ehcahce Solution- cacheManagerPeerProviderFactory –It is used for saying “Hello, I’m here!” and allows to discover the other CacheManager in the cluster and be discovered by other nodes. It accepts only two arguments (class and properties). cacheEventListenerFactory — It is used for receiving notification about cache update by other […]

JSF can save state of component tree in either session or on clients machine inform of serialized data . While creating component tree JSF creates a key and keep all objects of component tree as UIViewRoot in session with against it.For next JSF request it will use same key to restore that view 🙂 For […]

Problem- I am using JNDI to connect to ldap active directory, and i want to search for users with the name contains the search string,. Its very slow. my search method is as follows: connection to ldap: ldap credentials: its very difficult to understand why the search takes too much time to retrieve the data. […]