Passing Parameter With PrettyFaces

Today i want to share about Passing Parameter With PrettyFaces or sending parameter on Java Server Faces that use Primefaces and Prettyfaces library. sometimes, we need to pass parameter to the url of our jsf Page. there are three simple steps to do this approach. we need to configure url mapping on pretty-config.xml file, and pass parameter to the button in xhtml page. first, we need to add url mapping on pretty-config file. <url -mapping id= "newsForm"> <pattern value= "/newsForm/#{ id : newsAdmin.newsId }"></pattern> <view -id value= "/pages/admin/target/newsForm.jsf"></view> </url> and

Continue reading

jPOS MUXPool as Load Balancer

As promised before, today i want to share about using jPOS MUXPool as Load Balancer. This is internal load balancer, so we don’t need to buy external load balancer. The idea is using two layer instance, the load balancer instance and worker instance. The benefit when using MUXPool is, that when there are fault for example link down on Instance 1, MUXPool will automatically send the request with next available MUX. In this post, i will share the MUXPool configuration. But, if you really need the source, you can contact

Continue reading

jPOS Client Asynchronous Request

Today, i want to share about jPOS Client Asynchronous Request. When we look at MUX interface there are two overloading request(ISOMsg, timeout) and request(ISOMsg, timeout, ISORequestListener, handback) method for synchronous and asynchronous messaging. usually, i’am using request(ISOMsg, timeout) method for sending request to server. But when i look at MUX source for fun, i realize that there are asynchronous way to send request. So in this post i will share about jPOS Client Asynchronous Request. You can see the different with my old post about jPOS Client Receive Response to

Continue reading

jPOS Deploy Directory Structure Tips

Today i want to share about jpos deploy directory structure and give some tips how to use organize the directory. first thing, deploy directory is used when we are using Q2. Deploy directory is directory where we place the QBean object, QBean can be QServer, logger, QMUX, ChannelAdaptor, or a class that extend the QBeanSupport class. We may deploy multiple server and mux on single instance, and when there are many QBean object we need to deploy, so there will be many xml files we deployed. The jpos Q2 will

Continue reading

jPOS Custom Message Interchange Specifications

Hi, Today i want to share about jPOS custom message interchange specifications. When we talk about ISO-8583 over socket messaging, there are many interchange specifications. It is very important to know the interchange specifications, so we can determine a message for every single request/response. Once we have a binary representation of a given ISO-8583 message, we have to transmit it over the wire using some communication protocol, for example TCP/IP, UDP/IP, SSL, etc. The communication protocol is not part of ISO-8583 definition, so each vendors may have different communication protocol.

Continue reading

Create jPOS Custom XML Channel not ISO8583 Format

Today, i have new project for creating TCP server and client for electronic financial transaction. Actually, i feel strange to the requirment because we have to sent xml messaging through an TCP, my big question is WHY DONT YOU USE HTTP??? and my boss said, “we have to coddling the clients!” so i can’t say anything. I am jPOS ISO8583 framework fanatics, so i want to use jPOS for this project. My big problems is, the messaging is not ISO8583 format, so i have to custom to fits the jPOS

Continue reading