For stand-alone applications we have started just creating the endpoint directly rather than using the factories and having to deal with managed-beans.xml etc. Take a look at the pattern used in this sample: SocialSDK\samples\java\sbt.sample.app\src\main\java\com\ibm\sbt\sample\app\ExportWiki.java. This is a simpler pattern to use.