Author Archives: admin
Android read file from URL
Access an URL on Android and prevent Authentication error & HTTP response code: 401 on public URLS
Read More...Android XML parsing workaround
The problem I came across a problem while using XML in my android application. When trying to parse XML in android 2.2 and above, I read the qName variable and use that to do my magic. But in sdk version 7 (2.1) this poses a serious problem. A bug in the Android code, causes the [...]
Read More...Android Form Field Validation
A simple method for the validation of your Form values in Android.
Read More...JEE Webservice basic auth security check with Glassfish
@rolesAllowed custom implementation for JEE Webservices in GlassFish and others
Read More...Flex: Dynamic binding using a mapping file
Introduction Binding can be an time consuming task in Flex. If you have a domain model and the DTO’s for your components, you need an easy way to bind the two together. Here you have two options. The first is to write alot of BindingUtils statements in either models. And finally you can write a [...]
Read More...Flex 3 Custom validation of grouped input fields
In this article I am going to show you a Flex 3 validation customization that enables you to validate multiple input fields with 1 validator and place the validation results in a component instead of a tooltip.
Read More...How To: Load a spring application from a jar file
Consider the following situation: Loading 3 application context files in a Swing application. 2 of the context files are in jar-files. All context files depend on the component-scan option. The Application context gets loaded from my Swing app. The method I use, is the import resource option in the context file. Read on how to [...]
Read More...Webservices with Spring and Castor
Today, webservices are used primarily to expose some services of an application to the outside world. There are a lot of tools available to consume webservices. Tools like Mule, Axis and Spring. This article describes a method of exposing Java services as webservices. The technique’s / tools used to accomplice this are; Java, Spring and [...]
Read More...Easy JavaScript client-side form validation
When you are developing a website or an application, there will come a moment that you have to start using Javascript to validate your HTML forms. Here you have 4 options. Option one is not to validate. Although tempting, it is not the best option to use. Option two is to depend on your application [...]
Read More...