How To Install Comodo SSL Certificate Chain On Payara / Glassfish 4.x

Java EE, SSL

This is a quick guide on how to install a trusted SSL certificate chain, specifically Comodo on Payara/Glassfish 4. We hope that this guide will save someone from hours and hours of laborious plumbing, without much technical details on SSL, but with sufficient pointers for a successful deployment.

SSL Certificate Chain – How To Generate Private Key and CSR With OpenSSL

Be it for securing an server / application or to request for a purchase a trusted SSL Certificate Chain pack from a 3rd party Certificate Authority, both the SSL private key and Certificate Signing Request (CSR) is needed. This is a how-to to…

Java Cloud Hosting – Heroku Review

Not many companies could successfully roll out Java Cloud Hosting solution as the Java / Java EE stack is a quite a beast to tame. For us in CloudClefs, exploration in the Java Cloud Hosting solution as part of the Java Cloud Computing…

2 Ways of Passing Properties / Parameters in Java EE 7 Batch

When it comes to the Java EE 7 Batch Processing facility, there are 2 ways in passing properties / parameters to the chunks and batchlets. This quick guide shows you the 2 ways, which could be use very frequently when developing batch processing…

Java EE 7 / JAX-RS 2.0: Simple REST API Authentication & Authorization with Custom HTTP Header

REST has made a lot of conveniences when it comes to implementing web services with the already available HTTP protocol at its disposal. By just firing GET, POST and other HTTP methods through the designated URL, you’ll sure to get something done through…

Java EE 7 / JAX-RS 2.0 – CORS on REST (How to make REST APIs accessible from a different domain)

Java EE REST application usually works well out of the box on a development machine where all server side resources and client side UIs point to "localhost" or 127.0.0.1. But when it comes to cross domain deployment (when the REST client is no…

Quick Fix: Solving org.glassfish.deployment
.common.DeploymentException: CDI deployment failure – Cassandra Datastax Java Driver, Maven, Glassfish 4

I have posted this on stackoverflow.com, but I'm posting this here for other readers and myself as a reference just in case anybody bump into this issue. This as a short solution/workaround for those who encounters error in using Datastax's Java Driver on…

How to setup Ubuntu Linux Server OpenSSH (private/public key pair only authentication) and access through SSH from Windows

This is a quick tutorial especially for Windows users who would like to configure Ubuntu Linux to only allow SSH private/public key access and it is also a HowTo for Windows users to access Ubuntu Linux with only SSH private/public key. (more…)

Building and Deploying Java EE EAR with Maven to Java EE Application Server (Part 5) – Deployment To WebLogic 10.3.x & WebLogic 12.x

So far, we've covered Maven deployment of Java EE EAR to Glassfish 3.x, JBoss 5.x & 6.x. In this article, I'm going to show you how to deploy the EAR through Maven to Oracle's WebLogic (both 10.3.x and 12.x). I truly have to…

Quick Fix: Weblogic 10.3.x – How To Solve “org.apache.openjpa.
persistence.
InvalidStateException: Detected reentrant flush…”

I was performing a Java EE App migration to Weblogic 10.3.6, that worked very well in other Java EE Application Servers. The Java EE App runs on MySQL DB. Unfortunately, there was this annoying little problem that caused the whole application to fail.…

PHP, Doctrine ORM & MySQL – How To Deal With Chinese, Korean, Japanese & Other Non-English UTF-8 Character Encoding

There was a web application project, PHP in nature, that my team and I had developed for the past couple of months and it was time to setup and move all of the application to the production server which is running on Ubuntu…