Web chat using Strophe and Openfire
XMPP is now widely used to implement messaging and presence services. Popular applications and services such as Google Voice, Google Talk, Jabber etc are based on it. Openfire is one really popular...
View ArticleWeb chat using Strophe and Apache Vysper
I like Openfire, it is feature rich and mature, and open source. I just don’t understand why they would build their clustering support around a commercial product. [It seems that the clustering plugin...
View ArticleUse Tile Studio to construct tiled maps
Tile Studio is a free and open source utility for making tile based games. The key features of Tile Studio are: Manage several tile sets in a single project. Multiple maps can be created with each tile...
View ArticleMicrosoft.NET vs Java on portability
Portability is a much sought after objective of high-level (as opposed to machine-level) languages. Portability reached a water-shed moment with Java, which defined an intermediate language (IL) that...
View ArticleHibernate 2
What to me seems a long while back, I wrote an article on Hibernate. Spring was just beginning to take root, and everyone was raving about POJOs. I am studying Spring and Hibernate, and thought posting...
View ArticleTackling OAuth 2.0 in an Android app
This post shows how you can perform OAuth 2.0 authorization in an Android app using WebView. It is meant for those of you in need of tackling OAuth 2.0 yourselves, because your identity provider does...
View ArticleOAUTH 2 with google-oauth-java-client
This post is a quick reference for running the dailymotion-cmdline-sample, a Java console sample app for the google-oauth-java-client OAUTH 2 library. The sample app performs authorization code grant...
View ArticleRetrieve OAuth 2.0 authorization code using JavaFX WebView
This post documents a snippet of code that can be added to Browser class in JavaFX WebView sample, to extract OAuth 2.0 authorization code. Assuming you’ve configured WebView’s WebEngine to load the...
View ArticleUse JavaFX in a Swing or console app
This short post explores how to integrate JavaFX into a legacy console or Swing application. Assuming you’ve created an application such as the WebView Sample, create a separate thread to launch...
View Article