Monday, May 1, 2023

Running Wildfly Application Server in Domain Mode

 Wildfly application server provides two modes of how to run application one wildfly application server. It is very simple if you run your application on a single server for one instance. But in case you are running your application on a cluster of server a cross multliple instances, managing those servers' instances could be quite challenging. In this case, Wildfly Application provide domain mode to run and manage application on multiple instances Read more

Monday, December 26, 2022

Install Jasper Server on FreeBSD

FreeBSD is rock solid unix like operating system that is widely used in the server side. FreeBSD is used in many area such as network, filesystem. Jasperser is opensource reporting platform that provided excellent reporting feature and widely used in Enterprise Java Application. And Tomcat is servlet container that most of Java Web Application deployed on. Read more

Saturday, December 10, 2022

Exception Handlering in Wildfly

In this post, I will show how to create error handler for JSF and Restful web service by using Wildfly Application Server. In the programming development, exception handling is very important part in the development process. Handling exception properly improve user exprerient and elevate security. I'll show how to handle exception for JSF pages and webservices. Read more

Saturday, October 15, 2022

Wildfly JSF Richfaces Ajax Configuration

Java EE container as Wildfly provides dynamic Web UI components along within the package, for example JSP and JSF. Beside JSP, JSF provides MVC framework to give the structure of your application. JSF is very well designed Web interface tools, it glues web components via expression language (EL) and working very well with AJAX. Read More

Wednesday, October 5, 2022

Using In Memory Database H2 with Widlfly 23

H2 is database engine (RDBMS) base on Java. Its features includes in memory database, embeded database as file database. In Wildfly, H2 is installed as default in the application server. In this post, I will show how to connect to H2 database from application and use H2 as an in memory database and file database. Read More

Tuesday, October 4, 2022

Create Jasper Report with Custom Font

Jasper report provides flexibile functionalities for report developements. One of the features that is available in the Jasper report is custom font feature. One of the problem when developing a report is font compatability between platoms. By using custom font, the font that is available on a platform such a Windows could be used in another platform like Linux. In this post, we will exploring detail for how to create custom library for the font from ttf file and using the font library to generate report with particular font. Read More

Wednesday, October 13, 2021

Load balancing Web Application with HA Proxy

 In previous post, I have demonstrated how to use NGINX as the load balancer to devide load between application servers. Beside NginX, another popular software load balancer is HAProxy. HAProxy supports for Layer 4 (TCP) and Layer 7 (HTTP) protocol for load balancing. Read more

Tuesday, September 14, 2021

Create Email Resource On Wildfly and Send/Receive Email Through Email Resources

Email is very basic communication chanel between the business units. Integrating Email to enterprise application becomes the common business requirement for every enterprise application. Wildfly application provides many resource management function, email resource is also included inside resource management facility inside Wildfly. In this post, I will demonstrate how to create email resource and send email. Read more

Tuesday, June 15, 2021

Integrate Authentication on Jasper Report Server with LDAP Server

Jasper Report Server offers its own built-in user manangement module, but in case you want to intregate Jasper Server with the LDAP or AD to centralize user management system so you could manage user access control easier. In this case, Jasper Server also provide LDAP integration feature to integrate Jasper Server User Management Module via LDAP such as OpenLDAP or Active Directory. In this tutorial, I will show how to integrate Jasper Server with Open ldap for user authentication. Read more

Sunday, June 13, 2021

Creating and deploying report with Webservice datasource

 In previous post, I have shown how to creae report in the jasper report studio and deployed the report on jasper server by using JDBC and JNDI datasource. It is very easy if you need only one database to create your reports. but what if you need to use two or more database, xml, excel files to create your reports. In this case, you need new approach to fetch all data you need from the datasources, manipulate in to single datasource and feed those data into your reports. Jasper Report Server support several datasources which included solution for this scenario. Manipluating multiple datasource into single one and allow reports consume those data could be done through,JRDataSource and Webservice datasource. In this post, I will show how to use webservice includes REST and SOAP webservice as datasource to develop and deploy the report into the server. Read more

Saturday, June 12, 2021

Deploy Jasper Report on Jasper Report Server

Once you have created report on the report studio. You are going to need to deploy your report into the server or application. In this post, I will show how to deploy deploy the report into Jasper report server by using Jasper Report Studio.Deploying reports by using is very easy. But before I could deploy the reports, I need to create datasource in the server. JasperReport Server provide many facilities to reports from Jasper Report Studio by connecting direct from the studio to the server. In this post, I will demonstate how to create JNDI datasource, JDBC datasoure, Web service and Custom Java Bean Datasource. Once creating datasource, I will deploy reports by using created datasources.Read more

Saturday, April 24, 2021

Developing Report on Jasper Report Studio

 Reporting is very important item in every industry. And also reporting is very dynamic change from time to time base on business requirement. Jasper report server provide the facility to allows user to customer report as per requirement. Read more.

Sunday, February 21, 2021

Installing Jasper Report Server On Wildfly

In the enterprise world, reporting plays a very crucial part of enterprise application. In the market, there are several products such as Power BI, Oracle Business Intelligence, etc. But those of products is proprietary and comes with very expensive cost. So in this post I will demonstrate how to use jasper report server community edition for the reporting system and deploy it on Wildfly application server. Read more

Thursday, December 31, 2020

Real-Time Application with Websocket and Postgres

 On this post, I will discuss the problem about the problem I have often faced in my entire career. That is system integration. If you could imagine once you have to monitor data on database's table. Base on that change you need so show data in the page, etc. The solution for this situation, commonly most of what people will do is apply pooling. But pooling is not practical way to deal with this kind of situation. Read more

Monday, December 21, 2020

Widlfly Hiberate OGM (Object Grid Mapper) with MongoDB

In the real world of enterprise application, Relational Database Management System (RDBMS) is dominant product. There are several most widely used propeitry and opensource products, the most well known and popular propeitary products are Oracle Database, IBM DB2, Microsoft SQL Server and for the opensource products are MariaDB, PostgreSQL. The most important feature that push RDBMS to be top of the choice for database that deployed on any production application is ACID complied feature. ACID property asure data consistency, integrity and durability, but it also comes with obstacles. it is very hard to scale out the system that comply with ACID property once the data volume is grow. In some industry, ACID property is not mandatory such as IoT, BigData, AI, this is where NOSQL database comes in the picture. Recently, NOSQL database like MongoDB, CouchDB, Cassanda is becoming very popular among companies in the industry. Read more

Thursday, December 17, 2020

Integrate Testing Java EE (JPA, EJB, CDI) with Arquillian

When it comes to JavaEE, the biggest obstacle is conducting test, especially for EJB. This makes EJB is drawback for most developers. In fact EJB offer several enterprise features for business logic implementation such as remote call, security, transaction, etc. So, it will be waste to give up those benefits. Fortunately, Java EE provides testing framework like Arquillian for conducting the test. In this post, we will demonstrate how to perform enterprise business component by using Arquillian . Read more

Saturday, November 28, 2020

Create Full Duplex by using Websocket with Wildfly 10.1.0

 In this post, we demonstrate how to use websocket to implement two way communication between server and client. Typical HTTP, only client could initiate request to server. Right after server received request from client, server will send back the response to that particalar client.  Read more

Monday, November 23, 2020

Wildfly Custom Authentication with JAAS (MongoDB)

 In this post, we will demonstrate how to configure custom login on wildfly by using JAAS. Wildfly provides most common use for login method such as database, LDAP or even flat file. But in the practical situation, there are some requirements that need to combine or customize logic procedure, for example, using multiple source of user management systems, using NO-SQL database for user management, connecting with the legacy system to perform user authentication, etc. To meet these requirement, customize logic mechanism in application server is required. Fortunately, Wildfly also provide module to customize login. Read more.

Saturday, August 22, 2020

Secure EJB Access on Wildfly Application Server With JDBC Authentication Realm

 EJB is used to create business logic in Java EE application. Setting up authorization to limit the access to your business execution base on the role. In the enterprise level, security concern is very crucial to ensure the authorized user shall be the only on who those business logic is available to. EJB provide two types of methodologies for securing business logic for instance, declarative and programmatic. Read more

Wednesday, August 12, 2020

Sharding Table with postgres_fwd on PostgreSQL-12

 In previous post, we have create table partitioning to scale out database. Table partition is stored in the same server, data will store in the single database. In case, we need to distribute data across remote database, we need to use sharding to distribute data in the table. Bellow is the figure of sharding concept. read more


Feature Recently

Running Wildfly Application Server in Domain Mode

  Wildfly application server provides two modes of how to run application one wildfly application server. It is very simple if you run your ...

Most Views