jPOS Space Tips

Today i want to review about Chapter 7 on jPOS Programmer guide. from the programmer guide, jPOS’s Space is a general-purpose coordination component inspired after The Linda Coordination Language. You can think about jPOS’s Space component as being like a Map where its entries are lists of objects and its operations are fully synchronized. I think, space is very usefull. In this post, i will share some jPOS Space Tips. we can communicate between servers and clients on deployed jPOS application. For example on my post jPOS client receive response

Continue reading

Custom DataTables Filter Enter Event

Today, i want to share about customizing one of DataTables feature. The feature that i want to change the behavior is filter function. Before we start with the code, you have to read the DataTables description on their website here. DataTables is a plug-in for the jQuery Javascript library. It is a highly flexible tool, based upon the foundations of progressive enhancement, and will add advanced interaction controls to any HTML table. You can read the all function on DataTables official website. Here, i want to change the behavior of

Continue reading

Integrating Hibernate and jPOS Framework

Today i want to share about Integrating Hibernate and jPOS Framework. The implementation will based on my old post about Implementation jPOS Transaction Manager you can read the jPOS project on these post. The jPOS System is look like: i will add new participant for FinancialTransaction group called FinancialTransactionLogging, the participant is responsible for inserting the FinancialTransactionQueryRemoteHost response into database using Hibernate framework. First, For integrating Hibernate and jPOS, i create new qbean called HibernateManager that extends org.jpos.q2.QBeanSupport the initService methods will buildSessionFactory for init the hibernate SessionFactory object.

Continue reading

Implementation Template Methods Design Pattern

Today i want to share about Implementation Template Methods Design Pattern for hibernate session management. Based on javapapers website, Template pattern is: Template method design pattern is to define an algorithm as skeleton of operations and leave the details to be implemented by the child classes. The overall structure and sequence of the algorithm is preserved by the parent class. you can read more about Template method design pattern on javapapers site. This post will explain the Implementation Template Methods Design Pattern for hibernate session management. this methods is ensure

Continue reading

jPOS Server Forward Message Simulator

Hi, Today i want to share my code about jPOS Server Forward Message Simulator. The simulator flow is described on my old post here: JPos Server Forward Request Message to Another Server. My old post is talk about the “front end” server that receive request from client and forward to “back end” server, so in this post we will talk about the client and backend server. I have refactor my code from my old post, so maybe you’ll find different term. We start with the backend server, or on my

Continue reading

Custom jPOS Channel binary bitmap Active Bit Indicator

Today, i have implement new Custom jPOS Channel binary bitmap Active Bit Indicator for communicate between some bank with goverment tax system. there are strange ISO 8583 message structure like this [ISO HEADER] [BODY], there are no message length indicator, and tail. The strange occure in the body message, they are not using hexa format for the ‘active bit indicator’ or we call it bitmap (primary/secondary/tertiary bitmap), but in binary format. So, i create Custom jPOS Channel binary bitmap Active Bit Indicator that can fit that requirment called BinaryX25Channel. The

Continue reading