News from December, 2010

  2010/12/21
How to - Install Android market on Emulator
Last changed: Dec 21, 2010 10:22 by Bartolomeo Sorrentino
Labels: android

Introduction

Android Emulator is a virtual mobile that is packaged along with the Android SDK. It runs on your computer and can be used to prototype, develop and test applications without having to buy a physical device. Almost all of the hardware and software features of a typical mobile device are mimicked in the Android emulator. However, if you want to try out some apps from the Android market, you can’t do that with the emulator as it does not include ‘Android market’. Here is a step-by-step guide to enable Android market in the emulator..... >> Continue

Posted at 21 Dec @ 10:19 AM by Bartolomeo Sorrentino | 0 Comments
Understanding Android local data store APIs
Last changed: Dec 21, 2010 10:21 by Bartolomeo Sorrentino
Labels: android

Summary

The ability to store data locally on the mobile device is a critical function for mobile applications that are required to maintain essential information across application-executions or the lifetime of the application. As a developer, you constantly need to store information such as user preferences or application configurations. You must also decide if you need to tap internal or external storage, depending on characteristics, such as access visibility, or if you need to handle more complex, structured types of data. Follow along in this article to learn about Android data storage APIs, specifically the preferences, SQLite, and the internal and external memory APIs. >> Continue

Posted at 21 Dec @ 10:22 AM by Bartolomeo Sorrentino | 0 Comments
  2010/12/22
Convert your web application to a multi-tenant SaaS solution
Last changed: Dec 22, 2010 00:21 by Bartolomeo Sorrentino
Labels: cloud, saas

Summary

You've built a single-tenant web-enabled application, but need to make it compatible with and effective in a cloud environment. What steps do you need to take to convert your application to a full-fledged, multi-tenant, cloud-ready SaaS application? The author takes a sample web application, discusses the necessary considerations and alterations to make it a cloud winner, and outlines the steps you need to take to get it there. Then, as a bonus, he demonstrates the software his company has designed to provide a "plug-in" approach to multi-tenancy.>> continue....

Posted at 22 Dec @ 12:20 AM by Bartolomeo Sorrentino | 0 Comments
Building a Java-based Mail Relay for the SAAS Model
Last changed: Dec 22, 2010 10:47 by Bartolomeo Sorrentino
Labels: cloud, saas, mail

Summary

In the SAAS (Software as a Service) deployment model, using components to handle common client requests makes a lot of sense. Each common component can serve all client requests of a particular type. One such common component is mail relay: a single point for receiving all incoming mail for multiple clients. A mail relay relays the mail to different application instances based on domain address >> Continue ...

Posted at 22 Dec @ 10:49 AM by Bartolomeo Sorrentino | 0 Comments
GPE flags MenuItem as an error
Last changed: Dec 22, 2010 11:12 by Bartolomeo Sorrentino
Labels: gwt, uibinder

Summary

The Google Plugin for Eclipse (GPE) has decided to complain about elements that are non-widgets, but those are allowed . In fact, they're required for menu items. <g:MenuItem> causes a annoying warning. To avoid this navigate to Preferences -> Google -> Errors/Warnings -> UIBinder and set the "Widget is not a subtype" problem to IGNORE. GWT Issue

Posted at 22 Dec @ 11:15 AM by Bartolomeo Sorrentino | 0 Comments
Debugging Using Maven Tomcat Plugin
Last changed: Jan 16, 2013 11:16 by Bartolomeo Sorrentino
Labels: maven, tomcat, debug

Summary

If you like to use Tomcat or Jetty plugin for Maven to run your web applications on the fly without installing any of standalone versions of these servlet containers, you may want to debug your code through these plugins. Personally i like using these plugins for development phase of a project in a team because it eliminates the time you spend for running the applications painlessly as soon as checking out the project from it’s code base. But debugging the running code under maven process can be tricky if you don’t know how to >> Continue ...



Java Debug Command Line Arguments
-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000



Using from maven command line
> export MAVEN_OPTS='-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000'
> mvn tomcat:run
Posted at 22 Dec @ 7:34 PM by Bartolomeo Sorrentino | 0 Comments
  2010/12/28
The Simple Cloud API Writing portable, interoperable applications for the cloud
Last changed: Dec 28, 2010 15:41 by Bartolomeo Sorrentino

Summary

The recently announced Simple Cloud API provides a common API to a variety of cloud services. A collaborative effort by Zend, GoGrid, IBM®, Microsoft®, Nirvanix and Rackspace, the API allows you to write portable code that can interoperate with multiple cloud vendors. Best of all, the API allows you to use services specific to a particular vendor as necessary. >> Continue ...

Posted at 28 Dec @ 3:42 PM by Bartolomeo Sorrentino | 0 Comments
REST - How do I build a Jersey web app with Maven
Last changed: Dec 28, 2010 15:50 by Bartolomeo Sorrentino

Summary

This article figure out how to build a Jersey web app with Maven, and running it on Tomcat. >> Continue ....

Posted at 28 Dec @ 3:44 PM by Bartolomeo Sorrentino | 0 Comments
  2010/12/29
Add OAuth authentication support to HttpClient

Summary

With modern web applications, accessing resources using the HTTP protocol can be cumbersome. In this article, learn how HttpClient's authentication modules can help provide OAuth authentication support. Learn to extend the authentication module to use a customized authentication scheme. An example, including sample code, shows you how to use the open source library provided by oauth.net to add OAuth authentication support to the HttpClient component.>> Continue ....

Posted at 29 Dec @ 11:02 PM by Bartolomeo Sorrentino | 0 Comments