MySQL provides a good step-by-step guide to install MySQL on GlassFish. However, it is manual so I have taken their information and converted it to set of
asadmin commands to set up MySQL on Glassfish and also set it as the default JPA datasource.
Continue reading Set up MySQL on Glassfish using asadmin
WebSphere Liberty 184.108.40.206 has a bug in the implementation of JASPIC that prevents developers from making their own modules that do not have a user realm that is managed by WebSphere’s UserRegistry. To work around it I took some hints on Arjan Tijms’ work testing with JASPIC on WebSphere Liberty and combined it with my knowledge of Maven and OSGi.
Continue reading WebSphere Liberty NoopUserRegistry Add-On
Recently I had to tackle on yet another Java EE server to see how it fares against my OpenID Connect JASPIC module as WildFly had a critical flaw preventing my JASPIC module from working among other issues.
Where WildFly and Glassfish vendors do not make any specific mention that they are production ready, the IBM team had made a claim that WebSphere Liberty is a production-ready Java EE 7 environment. So I decided to give it a go with my module and unfortunately it didn’t work right away. It turned out I needed to create a NoopUserRegistry and deploy it as a feature. The instructions are pretty much too convoluted and tool centric for my tastes so I decided to tackle it my way.
Continue reading Developing add-on for WebSphere Liberty using Maven
The TL;DR version: JAX-WS is meant for XML based web services such as SOAP. JAX-RS does not have the same restriction.
JAX-WS is generally geared towards server to server interactions with well defined contracts (WSDLs) and usually when the service and client side are from separate groups. It is very resource intensive so it isn’t feasible for client-to-server interactions where the network or client device capability is less than optimal.
JAX-RS is geared towards client to server interactions, although server-to-server is okay. As it has little service obligations, it can be tuned to whatever the client needs are.
Continue reading JAX-WS vs JAX-RS
This blog post provides instructions on how to setup SSL on Wildfly mostly from the
jboss-cli.sh rather than modifying
standalone.xml directly unlike the instructions provided by JBoss which is more error-prone.
Continue reading Set up SSL with WildFly
grep is great for scanning through patterns, dealing with XML files like the UIM/VIM files in Curam would require more smarts than simple text strings. For those smarts, you need XPath which Java does provide. This provides a simple example for traversing through files and listing the ones that match an XPath pattern using only the JDK.
Continue reading xpath find grep
I have been on Yelp for a while now. I primarily use it as a way of offloading my opinion from my head to something more tangible.
I have developed this mentality since my university days when I allowed read access to my assignments. There’s no need to hide my opinions or approach especially since I don’t monetize my ideas.
Everyone’s entitled to my opinion, but I am not forcing everyone to follow or agree.
Continue reading How I do my Yelp reviews
There had been some sporadic news regarding Yelp Extortion most of which I just poo-pah. It’s much like complaining that your company lost so much business because Google decided to change its Page Rank algorithm.
As far as extortion goes, if your establishment is so affected by a few bad Yelp reviews even by Elites, then there is something fundamentally wrong with your business model.
Continue reading Yelp Blackmail and Extortion
In a previous post, I described how to set up H2 with Curam. This bodes the question… why? Well aside from H2 being lighter weight than Oracle or DB2 which makes it great for development machines that have only 8GB of RAM or less, it creates an integration issue in that you’re not testing against the target platform. However, it is because of that integration issue that makes this a really good idea when it comes to development.
Continue reading Why do H2 with Curam
Though using Oracle or DB2 for testing would be the more correct approach, having a heavy enterprise grade database running on your workstation can take up so much of your limited resources. This document details how I configure H2 with Curam in “remote” mode so I can peruse through the database using SQuirreL SQL Client.
Continue reading Getting H2 working on Curam