Behavior, Content, Money – 3 Things you should never give away for free!!!

BCmoney MobileTV

Making a Rock-Paper-Scissors game Multiplayer

Posted by bcmoney on March 16, 2017 in Java, PHP with No Comments

No Gravatar

Multiplayer features require networking capabilities of some sort, and typically, a form of persistent data storage (i.e. to save things like “Leaderboards” to keep track of Wins/Losses/Draws in the case of our RPS game).

Integrate PHP based SOAP RPS game server in another language, JAVA desktop GUI

Posted by bcmoney on February 23, 2017 in Gaming, Java, PHP, Web Services with No Comments

No Gravatar

Rock-paper-scissors chart

Rock-paper-scissors chart (Photo credit: Wikipedia)

Now that we have a Web Service ready to consume (even though it is SOAP based), it should be pretty easy to extend to Java, which also means it should be possible with a little bit of effort to create a Desktop GUI.

For more on creating a Java-based SOAP server to have an all-Java version of this solution, see:



See the other parts here:

Will the real Developers please stand up!

Posted by bcmoney on February 26, 2014 in Java, Mobile with 1 Comment

No Gravatar

Graphite, on tan wove paper, laid down on comm...

Early “Standing Work Desk” (Photo credit: Wikipedia)

In my industry of IT (and indeed all Technology jobs in general), it is extremely easy to develop unhealthy and border-line self-destructive habits. From staring at a screen for too long to bad posture slouching over a keyboard, and from tendonitis in the wrist due to bad hand/wrist joint alignment to forgetting to stand up regularly in order to keep the blood circulating; these are just some of the many common pitfalls of being a developer, engineer or technologist of any kind. Furthermore, in our digital society, these now also apply almost equally to the majority of other professions as almost everyone has to use a computer or electronic device of some sort in their line of work today. Compounding this even more is the fact that once we get home, we are often interacting with more and more computers and devices (interface in our cars, on mobile phones, TVs, personal computers, tablets, etc). It’s not too surprising that digital overload is a major trending health concern in the 21st century.

Recently, if only in the interest of self-preservation, I’ve become extremely interested in the growing Fitness movements online to take one’s health back from the digital distractions and electronic that seek to steal it away. What started out innocently enough (yet often times insulting/disgustingly/self-deprecatingly enough) with Reddit’s Fitness discussion thread has now grown into an experiment with several different Fitness Tracking, Calorie Counting and Nutrition Planning tools, as well as keeping track of any ailments or injuries that cropped up during my training using Patient-to-Patient Networks and related resources. At this point I had not yet gone full “Fit Geek” yet, as I wholeheartedly rejected one of the primary driving forces behind this so-called “Fit Geek movement”; namely, the “wearable gadgets” fitness technology category. I knew things were really starting to get out of hand though, when my own mother got into said technocratic gadgetry craze by purchasing a FitBit ONE which is basically a Pedometer, Heart Monitor, Sleep Analyzer and Watch/Timer/Stopwatch all in one, complete with a secured Web 2.0 style RESTful API to allow you to access your personal Fitness Activity data.

So, not to be outdone by my own mother, I finally decided to crack and give this fit tech thing a try (stubbornness and rejection of mainstream trends/agendas aside, I really do need to know about this health & fitness technology stuff at a deep level since I believe it will be tightly entwined with my career in Health IT). Not being exactly sure what I was looking for, and at the same knowing I didn’t want to put much time, money or effort into this investigation initially, I decided to take up Nintendo on their offer of a free downloadable copy of $59.99 Wii Fit Plus for people who already had the Wii Balance Board that came with previous versions of Wii Fit who purchased the WiiU FitMeter before January 31st, 2014. Sadly, if you’re reading this, you’ve missed that deal; but I can tell you that I’ve been pleasantly surprised about the ease of use and convenience of using the FitMeter to track your distance walked/jogged/run/skied/biked and a rough estimate of the total calories burned from that basic activity.

Read the rest of this entry »

The Getting Started in JAVA Guide (That I Wish I Had In University)

Posted by bryan on September 24, 2012 in Java with 5 Comments

No Gravatar

History Language Installing Examples
Compiling Running Programs IDEs
Java (programming language)

Java (programming language) (Photo credit: Wikipedia)

The Java programming language is one of the most widely used and widely supported programming languages in the world (in terms of total number of devices and systems running it). Since its inception, it has also been the subject of several major lawsuits (i.e. Oracle .vs. Google, Google .vs. Oracle countersuit,  US Gov .vs. Microsoft, Apple .vs. Android OEMs – Samsung, Motorola, HTC and  Sun .vs. Microsoft) due in no small part thanks to its aforementioned widespread use in just about every major device from mobile phones to back-end server infrastructure and from individual desktops/laptops to large-scale distributed computing grids (like Amazon’s AWS & EC2).

Java didn’t set out to be a better C for every programmer, and in fact had an identity crisis early in its life. It started out in 1991 as a language called “Oak”, part of a small project called the “Green Team” initiated by Patrick Naughton, Mike Sheridan, and James Gosling, who is primarily credited with the design of the language that became Java. (Bryan Youmans has a page on the history of Java, with some interesting thoughts on the language design. There’s also an official version of the history from Sun/Oracle.)

Read the rest of this entry »

How to deploy an Apache Tiles project

Posted by bcmoney on August 22, 2011 in Java, XML with No Comments

No Gravatar


Apache Tiles is Java’s leading version of a widget container, built on the Portlet specification. In Java, portlets are similar in concept and serve almost the same functional purpose as widgets in the web world

Long before the release of the W3C’s Widget specification, most modern programming languages had already (predictably) evolved a system for plugins, extensions and/or the representation of widgets. One such platform (also happens to be a web platform) known for its high degree of modular design and use of separate templates to comprise a given view, is Apache Tiles.

I’ve accepted a new position at TeamSpace / TheREDspace in Halifax, NS; and, while I’m not at liberty to divulge much juicy information about their clients or the specific technology stacks they use, I can mention that Tiles is a great open source project on which some of their very popular (i.e. heavily trafficked) online services are currently running quite successfully. They are able to perform updates in near real-time with Continuous Integration build servers that push to an staging server where business owners and testers can then sign-off on a given release on a feature-by-feature basis. Usually, even with good deployment practices, you need to sign off on a whole release, but with this approach leveraging Apache Tiles, individual functionality within the release can be given a green, yellow or red light.

As a developer, that means the feedback is instantaneous, so for this new position, I’ve really had to up my game and taken the time to brush up on my understanding of portlets. I wish I could share more, I actually prepared a 30-page document summarizing all the steps in great detail but it can’t be shared and is the property of my employer. That said, in case someone wants to try to integrate Tiles to their own Java web projects, I’ll include some useful steps here for getting started with your first Tiles project:

SHORTCUT IF YOU’RE USING MAVEN Read the rest of this entry »

BC$ = Behavior, Content, Money

The goal of the BC$ project is to raise awareness and make changes with respect to the three pillars of information freedom - Behavior (pursuit of interests and passions), Content (sharing/exchanging ideas in various formats), Money (fairness and accessibility) - bringing to light the fact that:

1. We regularly hand over our browser histories, search histories and daily online activities to companies that want our money, or, to benefit from our use of their services with lucrative ad deals or sales of personal information.

2. We create and/or consume interesting content on their services, but we aren't adequately rewarded for our creative efforts or loyalty.

3. We pay money to be connected online (and possibly also over mobile), yet we lose both time and money by allowing companies to market to us with unsolicited advertisements, irrelevant product offers and unfairly structured service pricing plans.

  • Archives