Quantcast
Channel: Stick 2 Code
Browsing latest articles
Browse All 30 View Live

3DES Encryption of a Credit Card Pin Using ASNI 9.8 Format 01 Pin Block Using...

The first step in encrypting the card pin is to generate the Pin block using the card Number and and pin.This method of encryption is also referred by the following names:ECI 4ISO 9564-1 - Format 0The...

View Article


Image may be NSFW.
Clik here to view.

Passing Custom SOAP Headers in ADF Mobile

Usecase:This document shows how custom SOAP Headers can be passed in ADF Mobile to make web service calls. Pre-requisites:JDeveloper Version - 11.1.2.4.0 with Mobile supportFor the purpose of this...

View Article


Image may be NSFW.
Clik here to view.

Configuring authentication using remote server in ADF Mobile

Usecase:This usecase shows how basic authentication can be configured using a remote login server in ADF Mobile.Pre-requisites:JDeveloper 11.1.2.4.0.For Jdeveloper 12.1.3.0.0, check Updates section...

View Article

Image may be NSFW.
Clik here to view.

Accessing REST Service secured with Basic Authentication in ADF Mobile

Usecase:This usecase talks about how a REST service secured with basic authentication can be accessed in ADF Mobile. For this demo, I have used a REST service which returns employee information, and...

View Article

Handling HTTPS (one-way SSL) requests in ADF Mobile

Usecase:This usecase shows how ADF Mobile applications can be configured to handle one-way SSL.The service runs on weblogic server, in which one way SSL has been enabled.The weblogic server has been...

View Article


Partial Form Validation With Spring/Hibernate Validator (Using the Validated...

Use Case:The default behavior of the @Valid annotation in a spring controller is to validate all the annotation. This works well when we need to validate all the input received from the form. This is...

View Article

Image may be NSFW.
Clik here to view.

Creating WADL friendly RESTFul Service using JDeveloper

Usecase:This blog post talks about creating RESTful services from a java class in JDeveloper. The service is an Employee information service consisting of various operations involving GET, PUT, POST...

View Article

Angularjs Directive for an Animated Highlight Slider

Recently I had to work on angularjs and one of the component that had to be reproduced was a slider to slide across to the selected element. This is an attempt to write out the same. Any suggestion for...

View Article


Image may be NSFW.
Clik here to view.

Creating web socket service in JDeveloper

Usecase:This blog post talks about creating web socket based services in JDeveloper. At the end of this post, you will be familiar with creating a basic web socket based service that takes in a path...

View Article


Image may be NSFW.
Clik here to view.

Consuming a web socket service through java proxy

Usecase:This is in continuation to my previous blogpost which talked about creating a web socket service. Here, I will show you how the web socket service can be consumed through a java...

View Article

Image may be NSFW.
Clik here to view.

Performing GZIP compression in JAXRS 2.0 services using Interceptors

Usecase:This blogpost talks about using GZip compression on a REST service through the use of JAXRS 2.0 interceptors. The usecase below uses Jersey 2.x. Details on interceptors and filters can be found...

View Article

Image may be NSFW.
Clik here to view.

Decoding GZIP compressed data using Interceptors & Filters in Jersey 2.x clients

Usecase:Previously, we created a service that handles gzip encoding of data. Refer this for details. In this blogpost, I will show you how you can decode the gzip encoded data. Be sure to use Jersey...

View Article

Image may be NSFW.
Clik here to view.

Stretching image icon within af:link in ADF using CSS

Usecase:Consider a scenario where you are using an af:link component and would like to display an image for the icon. You would also like to stretch the image icon to fit the parent pane. As per the...

View Article


Angular Tab Slider Directive Part 2

This is continuation to the Slider Directive (Angularjs Directive for an Animated Highlight Slider).Refer this git for full source code.See the Pen Angular Js Based slider Tab by Ganaraj (@gtejasvi) on...

View Article

Image may be NSFW.
Clik here to view.

Configuring parameters in REST Data Control wizard

REST Data Control is a cool feature introduced recently in JDeveloper which enables you to consume JAX-RS RESTful services in ADF apps. By configuring the various operations in the data control wizard,...

View Article


Image may be NSFW.
Clik here to view.

Declarative Hyperlinking using @InjectLink - Part 1

Declarative hyperlinking is one of the features introduced in Jersey 2.x. This feature is powerful, in that it enables you to create hyperlinks on the fly, thereby helping you in making your REST...

View Article

Image may be NSFW.
Clik here to view.

Declarative Hyperlinking using @InjectLink - Part 2

In my previous post, I talked about the set-up required to use declarative hyperlinking feature provided by Jersey 2.x. This post is a continuation to that post. In this post, we will create links to...

View Article


Image may be NSFW.
Clik here to view.

Google API Getting OAUTH2 Access Token (Part 1 Create Project and Get Access...

This post is aimed at exploring the Google API access through an access token. In order to do so one needs to get the access token and the steps to do so is detailed below.Step 1: Register An App in...

View Article

Image may be NSFW.
Clik here to view.

Add Web Service Policy Reference for JEE clients - Explored

While working on something, I recently bumped into this cool feature in JDeveloper whereby you can easily consume secure web services through servlets. As usual, Jdevloper takes care of a lot of things...

View Article

Image may be NSFW.
Clik here to view.

"GraphMethodException - No node specified" Error on accessing Facebook API

Sometimes on hitting the methods provided by Facebook API, you may see an error such as below:Cause:The code 100 with this error indicates that there is an invalid parameter that is being passed in the...

View Article

Obtaining the name of the key in fasterxml

In this blog, I have just presented a simple sample of using fasterxml API to parse JSON data. This shows you how you can get the name of the key within a JSON object.Suppose, you have a JSON sample as...

View Article


Image may be NSFW.
Clik here to view.

Creating ADFBC REST services - A new feature in Oracle JDeveloper 12.2.1

With the release of JDeveloper 12.2.1, a number of new features have come in. One particular feature w.r.t web services that has been introduced in this release is the ability to create RESTful...

View Article


React-Native DrawerLayoutAndroid - How to Open the Menu on Click of an Menu Icon

Recently had a chance to develop an app using the react native. On of my requirement for the app was a hamburgur menu. While the DrawerLayoutAndroid available does the job, to a great extend, had a...

View Article

Image may be NSFW.
Clik here to view.

Consuming REST service through JavaScript Client in JDeveloper

Purpose:This blog is intended to give you a basic idea on the application and usage of the new JavaScript client feature introduced in JDeveloper 12.2.1.0.0.Usecase:This usecase talks about using the...

View Article

Preparing for the PMP exam - The Journey, The Experience

Its been a while since Ganaraj and me blogged. Both of us have been slightly busy for the past few months and hence couldn't take time out for this. Finally, I have decided to sit down and just blog!!...

View Article

Browsing latest articles
Browse All 30 View Live