Artima.com - tech-oriented blog directory

Inspired by java.blogs, Bill Venners has set up Artima Weblogs for tech-oriented blog owners to submit their blogs so that it appears on an aggregated list. It does need a little redesign to make it look less “academic” though.

I’ve signed up on the Open Source forums (only 3 of us at the time of writing).

java.blogs gets confused

java.blogs apparently gets confused when I updated the title of a blog entry - the updated blog becomes the newest entry and my subsequent blog entry does not appear on the java.blogs front page, nor on the blog details page.

I apologize to java.bloggers for being lead to my old entry yet again.

I may yet have to re-add by blog unless this fixes itself soon. (It’s an unresolved issue.)

EDIT: It appears that an update of my blog details fixed the problem.

Integrating JADE into JBoss with BlueJADE

The following are installation instructions for integrating JADE (Java Agent DEvelopment Framework) as a managed container in JBoss using BlueJADE. It addresses several issues with group installation, which doesn’t seem to work as indicated in the official installation instructions. I’ve posted them more for reference than as a weblog entry per se.

What is BlueJADE?

BlueJADE makes the JADE agent system a manageable service under a J2EE application server. BlueJADE allows JADE to become a service that can be managed through JMX (Java Management Extension).

Installation in WinXP

Setting up the environment
- Install JADE, BlueJADE and JBoss. It is recommended that a version of JBoss with Tomcat already integrated be used. Refer to their respective documentation on the installation process. This often involves simply unarchiving the binaries, or compilation if you’re building from sources.
- Set the JADE_HOME, BLUEJADE_HOME and JBOSS_HOME environment variables to point to the respective directories.

Group Installation
- Pick a group under $BLUEJADE_HOME/groups to install. It’s simplest to choose the ’simpleagent’ group.
- To install the group, run the install script (install.bat) in $BLUEJADE_HOME/groups/simpleagent. 1 argument, the group to install, should be specified. A 2nd argument would copy over an existing JBoss environment if specified.
Eg.
$ install simpleagent default
- At this point, you could run into problems. Apparently, the environment variables are not picked up properly by the installation script/program so you have to edit $BLUEJADE_HOME/bin/win/install.properties to add in the “missing” environment variables.
The variables include:
LOCALHOSTNAME, GROUP, TEMP, JBOSS_HOME, JADE_HOME, BLUEJADE_HOME
Set these to point to the exact path/name.
- If installation goes well (no error messages), open the file $JBOSS_HOME/server/simpleagent/deploy/jade-service.xml. The element with name=”ConfigDocName” should be pointing to an incorrect path - change it to point to $JBOSS_HOME/server/simpleagent/conf/jade-service-config.xml. Depending on the group you’re installing, there could be more bogus paths - just keep an eye out for them and correct accordingly.
- Open that jade-service-config.xml file and make similar corrections for the 2 (or more, depending on your group) paths there:
xsi:noNamespaceSchemaLocation=$JBOSS_HOME/server/simpleagent/conf/JADE-1_0.xsd
jadeArgs=$JBOSS_HOME/server/simpleagent/conf/jadeboot.properties

Running JBoss with JADE container
- Run JBoss with the simpleagent environment by executing the following command at $JBOSS_HOME/bin
run -c simpleagent
- If all goes well, you should see no errors in the startup process and a JADE Remote Agent Management GUI appears (only for simpleagent and demoagent groups).
- JADE is now manageable as a service under JMX - go to http://localhost:8080/jmx-console/

Winners of JavaWorld 2002 Editors’ Choice Awards

JavaWorld has announced the winners of the JavaWorld 2002 Editors’ Choice Awards. These are the results (with my predictions ;))

Best Java Data Access Tool:
  Winner: Oracle 9iAS TopLink
  Finalists: CocoBase Enterprise O/R 4.5, Hibernate 1.2.4
  My prediction: N/A
Best Java IDE:
  Winner: IntelliJ IDEA 3.0
  Finalists: Borland JBuilder 8.0, Eclipse 2.1
  My prediction: Borland JBuilder 8.0 (makes me want to evalute IntelliJ IDEA)
Best Java Performance Monitoring/Testing Tool:
  Winner: JUnit 3.8.1
  Finalists: JProbe 5.0, Optimizeit Suite 5
  My prediction: JUnit 3.8.1 (no doubts about this one)
Best Java Application Server:
  Winner: BEA WebLogic Server 8.1
  Finalists: IBM WebSphere Application Server 5.0, JBoss 3.0
  My prediction: BEA WebLogic Server 8.1 (no doubts about this either)
Best Java Device Application Development Tool:
  Winner: Java 2 Platform, Micro Edition (J2ME) Wireless Toolkit 2.0
  Finalists: IBM WebSphere Studio Device Developer 5.0, Sun ONE Studio 4 Update 1 ME
  My prediction: J2METWK (I’ve used this and it’s perfect! Sun ONE Studio ME is a
    little too cumbersome to use.)
Best Java-XML Tool:
  Winner: Xerces2 Java Parser 2.4
  Finalists: JAXB (Java Architecture for XML Binding), Xalan-Java 2.5
  My prediction: N/A
Best Java Installation Tool:
  Winner: Java Web Start 1.2
  Finalists: InstallAnywhere 5, InstallShield MultiPlatform 5
  My prediction: N/A
Best Java Book:
  Winner: Patterns of Enterprise Application Architecture (Martin Fowler et al.)
  Finalists: Java Development with Ant, Java Performance Tuning, Second Edition
  My prediction: Java Development with Ant (I’m reading it now. And it is GOOD.)
Most Useful Java Community-Developed Technology:
  Winner: Apache Ant 1.5
  Finalists: Eclipse 2.1, Tomcat 4.1
  My prediction: Apache Ant 1.5 (Of course)
Most Innovative Java Product or Technology:
  Winner: AspectJ 1.0.6
  Finalists: Eclipse 2.1, JavaServer Faces
  My prediction: N/A (unfortunately I’ve not caught up with what AspectJ is)

Design Patterns ebook

I came across this great free ebook entitled the The Design Patterns Java Companion available here. I’m not sure why it is free, but it seems a legitimately free copy seeing as JavaCoding.net links to it prominently. I’m barely past the first chapter and skimmed through it quite a bit, and it seems to be a very useful example type book.