Tag Archives: Java

Amazon EC2 Elastic Beanstalk Basic Authentication

I wanted to set up a secure update center for a NetBeans Platform application Tetrad IT is working on. I also wanted to play with Amazon EC2… As the update center is for Tetrad staff only I wanted to do … Continue reading

Posted in Programming | Tagged , , , , , , | 3 Comments

September Jozi JUG – Scala Introduction

If you’re in the Johannesburg area, come check out the Jozi JUG! Monday‚Äôs Jozi JUG session will be on Scala! Mitchell Wong Ho, Scala enthusiast and founder of the SA Scala User Group, will give us an introduction to the … Continue reading

Posted in IT | Tagged , , , , | Leave a comment

Making JGoodies Easier With Client-Objects

JGoodies is a selection of easy to use libraries for GUI development. One of which is JGoodies Binding. This allows you to bind your UI components to your domain objects and have changes in one reflected in the other. The … Continue reading

Posted in Programming | Tagged , , , | Leave a comment

JGoodies Maven Dependencies

There doesn’t seem to be a Maven repository with the latest JGoodies dependencies. They need to be added manually. It’s a bit of a pain so here are the steps to do it for Forms (1.4.1), Common (1.2.0), Validation (2.3.0) … Continue reading

Posted in Programming | Tagged , , , , , | 3 Comments

NetBeans Platform And Maven: An annotation processor threw an uncaught exception

In the interests of making the solution easier to find, the workaround described in http://jira.codehaus.org/browse/MCOMPILER-98 will solve the error below. Workaround – Add the sourcepath compiler argument in your application pom <build> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <configuration> <compilerArguments> <sourcepath>${project.basedir}/src/main/java</sourcepath> </compilerArguments> </configuration> … Continue reading

Posted in Programming | Tagged , , | Leave a comment

NetBeans Platform And Maven: Bad package component in

I created a NetBeans Platform application and module using Maven. When NetBeans tried to load the module on application startup, the following error was shown on the output: WARNING [org.netbeans.core.startup.ModuleList]: Error encountered while reading your.module java.lang.IllegalArgumentException: Bad package component in … Continue reading

Posted in Programming | Tagged , , , | Leave a comment

NetBeans Platform Module Library Dependencies In Maven

I created a NetBeans Platform Application and Module through the NetBeans IDE using the provided Maven archetype. When I tried to create a new Window, the ConvertAsProperties annotation was not recognized in the generated code. The compilation error: package org.netbeans.api.settings … Continue reading

Posted in Programming | Tagged , , | Leave a comment

Basic JavaScript Static Analysis With Google Closure

Closure is a JavaScript compiler from Google, that will generate an AST from JavaScript. I’m exploring it in the hopes of using it to do static analyses of JavaScript embedded in Siebel. To start with I decided to implement a … Continue reading

Posted in Programming | Tagged , , , , | 3 Comments

COM4J Error – QueryInterface failed : Access is denied. : .\com4j.cpp

After generating the COM4J code to wrap a COM object, via the tlbimp.jar, I was getting the following error when calling the createComObjectName method on the ClassFactory: QueryInterface failed : Access is denied. : .\com4j.cpp:163 at com4j.ComThread.execute(ComThread.java:203) at com4j.Task.execute(Task.java:25) at … Continue reading

Posted in Programming | Tagged , , , | Leave a comment

BIRT 2.5.2 Maven Dependencies

There doesn’t seem to be a Maven repository with the BIRT 2.5.2 dependencies. They need to be added manually. It’s a bit of a pain so here are the steps to do it. Step 1: Add BIRT dependencies to pom … Continue reading

Posted in Programming | Tagged , , | Leave a comment