submited by krishnas on Fri Nov 16th, 2007
java
OC4J 10.1.3.1 and later supports dependency injection from web container. I've seen this question from many customers via email or in OTN forum that using dependency injection from web container generates NPE. If you are running into such problems, make sure that you have specified version as "2.5" in your deployment descriptor (web.xml) as follows:...
more »
submited by krishnas on Fri Nov 16th, 2007
java java5 jboss
Want to know what meta-annotations are or how they are being used? Click here for some thoughts on the subject......
more »
submited by krishnas on Mon Oct 22nd, 2007
java
As a follow up to my previous post, here is the sample Sales Force Automation application I built to demonstrate the Flex/Google Gears integration, and that Kevin Lynch demonstrated during the Google Developer Day keynote last week in San Jose....
more »
submited by krishnas on Mon Oct 22nd, 2007
java
One of the exciting features of AIR is that it enables drag-and-drop between your Flex applications and the desktop: For example, you could drag a chart from your Flex application and drop it on your desktop as a JPG, or directly inside a Word document. Similarly, you could grab some rows from a Datagrid and drop them on your desktop as an XLS file, or directly inside an Excel spreadsheet....
more »
submited by krishnas on Mon Oct 22nd, 2007
java
The AIR database access API is asynchronous. This works well for executing expensive queries without blocking the user interface. However, sometimes you may need to run a series of short and interdependent statements, and in that case, executing each statement asynchronously and independently can make your code difficult to manage....
more »
submited by krishnas on Mon Oct 22nd, 2007
java
I spent some time improving the Salesbuilder Flex / AIR demo application I posted a couple of weeks ago. This version is a lot more complete and polished than the initial incarnation of the application....
more »
submited by krishnas on Mon Oct 22nd, 2007
java
As promised, here is the source code for the Salesbuilder Flex / Air sample application:...
more »
submited by krishnas on Mon Oct 22nd, 2007
java
A little known feature of Flex 3 is that you can annotate ActionScript classes with your own metadata. For example you could annotate a class as follows:...
more »
submited by krishnas on Tue Oct 16th, 2007
java j2ee ajax
This article highlights some techniques for restricting access to Ajax-based services. It then focuses on using URL-based API keys, which gives you fine-grained protection and allows you to track, meter, and restrict usage of a service....
more »
submited by krishnas on Tue Oct 16th, 2007
java
Learn to use the Swing Application Framework to manage life-cycle events, UI component event handling, threading, localizable resources, and simple persistence in your Java technology applications....
more »