It’s been 1 weeks since I left my job at TMA Solutions and there are a lot of things to settle down. Until this weekend, I get time for updating the last module of my “pirent-homm3” project. This module is used for building the command line application to interact with the “pirent-homm3” app deployed on JBoss server. For the version 1.0 Final, I don’t want to spend much time for the user interface, so the command line interface seems to be a good choice (Honestly, I’m the guy from the back-end world :D). There also a Java library for helping building command line program which is Apache Commons CLI. Even though this sounds simple, the “pirent-homm3” has passed all of my tests and deployed successfully to server, there still a lot of things give me troubles.
The logic of the “pirent-homm3-cli” command line app is simple: enter your option with value then it looks up the appropriate enterprise bean to handle request. To implement EJB invocation from remote client via JNDI API, the following is a useful one:
EJB invocations from a remote client using JNDI Continue reading “Diary of developing “pirent-homm3″ – The remote client application”