I am an application developer, database administrator, technical writer, and Java evangelist. Frequent this blog to learn from my experiences in Java, JavaEE, PL/SQL, and Python/Jython development. Follow my tweets @ http://twitter.com/javajuneau
Monday, June 26, 2006
Still Using JDBC?
Still using JDBC? I am...I still like the power of using JDBC. I do like the new EJB 3.0 ease of use with both Netbeans and JDeveloper, but I still revert back to JDBC on my older applications. There are several new features in JDBC 3.0 which is part of Java EE 5.0. Check out this article for a look at the WebRowSet.
Sunday, June 18, 2006
JSF Managed Bean Binding
When coding any significant JSF application, it is always useful to have access to managed bean values from any other managed bean. This is almost a trivial procedure, but I often forget how to implement the code (after I haven't done it for a while) and end up looking in previous programs. Here is a good quick refrence for solving these issues:
JSF Managed Bean FAQ
JSF Managed Bean FAQ
Saturday, June 17, 2006
Log4J Bug
I painfully found a bug within Log4J while working on a project. It appears that intermittantly, the following error will be thrown while using version 1.2.13:
NullPointerException at org.apache.log4j.NDC.get(NDC.java:209)
There is no work around. The best bet (and my choice of action) is to download and use the repaired version 1.3-alpha 8...even though it is still in test mode.
NullPointerException at org.apache.log4j.NDC.get(NDC.java:209)
There is no work around. The best bet (and my choice of action) is to download and use the repaired version 1.3-alpha 8...even though it is still in test mode.
Saturday, June 10, 2006
Monday, June 05, 2006
Jython Update
I'm a huge fan of the Jython scripting language. In case you've never heard of this excellent language, it is basically Python on the JVM. Well...it is almost Python on the JVM. At this point, Jython is a few steps behind the current Python release in terms of functionality. There are also some issues which are currently under review regarding translation of some Python constructs into the Java platform. I am currently trying to juggle my time between many things (aren't we all), and one of the things I am doing is taking a look at the Jython Bug Listing and trying to find some bugs which I can repair. If you enjoy Python then you should definitely try Jython...and if you are interested in becomming part of the Jython project, submit a bug fix. Here is a listing of the current bugs in Jython.