jPOS Server in-out

jPOS Server in-out HI!! i’m back, finally! hehe Hi, everybody! Its been a while from my last post. I almost forgot that i have this blog. 😀 So, in this post i will share about jPOS Server in-out, have you experienced a case where you as a server need to initiate request? it could be network management message. This post is related topic with my previous post about jPOS Client Receive Request From Remote Server We are lucky, jPOS can handle this case. all we need to do is to

Continue reading

How to Configure Basic Auth Spring RestTemplate

Hi, its been a while since my last post. there are some project that taking more time, so i’m not updating this blog until now, some friends contact me asking about my post, i try my best to reply them. How to Configure Basic Auth Spring RestTemplate. Today, i will share about How to Configure Basic Auth on Spring RestTemplate. Spring ResTemplate is very useful class to consuming any rest api, by default its not using any Authentication Method. The example of Basic Auth is something like this: Authorization:Basic ZXllc29jY2VyOmV5ZXNvY2NlcjIwMTc=

Continue reading

Create Custom jPOS ISO8583 Packager

It’s been a long time since my last post, because some freelance project and current company projects. Today someone ask me about how to create custom jPOS ISO8583 packager for financial transaction. On this post, i wanna share about create custom jPOS ISO8583 packager using java class instead for xml. Creating custom packager is pretty easy, all we need to do is just extending ISOBasePackager abstract class, override the fld[] and creating constructor. for example packager bellow:

Continue reading

Create Dynamic Tree Grid using TreeGrid jQuery Plugin

Today i want to share how to Create Dynamic Tree Grid using TreeGrid jQuery Plugin. I will use Treegrid jQuery Plugin for this case. TreeGrid jQuery plugin has some feature that meet with my requirment, this plugin is very easy to understand and the most important is compatible with bootstrap 3. Because i use Gentelella for templating. Some feature TreeGrid jQuery Plugin is Create TreeGrid from HTML table Simple and flexible javascript Compatible with bootstrap Ability to save the state of the tree Events support Let’s start with some case.

Continue reading

Receiving Http Request using jPOS

Today i wanna share about Receiving Http Request using jPOS. when we talk about http request, its mean that we can use restful or soap Service. In this post, we will use Restful service as example. Mostly when we use restful service, we use JSON as data format. First, jPOS is TCP based framework. its not possible to receive http request, but it’s possible if we can integrate jPOS with Servlet container like jetty. Jetty will open connection to receive http/s request, and then we can manipulate the data, wether

Continue reading