Archive for the ‘WILT’ Category

Override in Java 5

April 21, 2005

I just read another article on some features of Java 1.5 [hangs head in shame for not tinkering enough on the side to know this stuff already]. I like the @override tag they’ve added. You can add an annotation (like javadoc tag’s but not in a comment block) to indicate the method is meant to override another. Helps find some bugs that I know have happened to me on occassion.

You can read the article here.

I also especially like the generics…more and more info on using them for more than just strong-typed collections.

Bonus: I heard eclipse auto-generates the tag when generating the override stub for you.

Upgrade Websphere’s Ant version

April 21, 2005

Few months back had some issues with WebSphere 5.1.1. and ant…don’t remember the specifics now, but it had something to do with a plugin class loader leak bug. Found some posts online…followed a slightly modified path:

  1. Close WebSphere
  2. Copy C:\apache-ant-1.6.0\lib\ant.jar to C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.1\eclipse\plugins\org.apache.ant_1.5.3
  3. Open WebSphere to your workspace
  4. Open Window->Preferences
  5. Select Ant->Runtime
  6. Check the Set Ant Home checkbox and browse to C:\apache-ant-1.6.0
  7. Delete the xerces-impl.jar from the jar list
  8. Switch to the Properties tab and add a property with the key ‘build.compiler’ and a value of ‘org.eclipse.jdt.core.JDTCompilerAdapter’.

Struts and Wildcards for Action Mappings

April 15, 2005

I just found out that stuts supports wildcards in action mapping paths. The example they give in the docs is:

<!– Generic edit* mapping –>
<action path=”/edit*”
type=”org.apache.struts.webapp.example.Edit{1}Action”
name=”{1}Form”
scope=”request”
validate=”false”>
<forward
name=”failure”
path=”/mainMenu.jsp”/>
<forward
name=”success”
path=”/{1}.jsp”/>
</action>

I think its interesting…certainly could clean up some of my config files. I need to get in and see if it works with the AutowiringStrutsRequestProccessor (and, thus the DelegatingStrutsRequestProcessor)

Blogpulse

April 5, 2005

Just found out about BlogPulse (I read about it on Mark Jen’s blog). I love the trends and analysis of what is going on in the blogosphere. Also the Conversation tracker is cool too. Basically, you can see what bloggers are saying about a particular issue/topic as one big conversation thread. Bloglines has something similar, but BlogPulse feels better.

Hello from Google

March 26, 2005

I just notice ‘Hello’ listed under googles ‘more’ link. Looks like I’m a bit slow as its been there since at least October (maybe not listed on its own though). Anyway it sounds neat. Imagine sending an instant message to your blog with photos attached…then the messenger resizes and compresses the photos automagically for you and then creates a post on your blog. My wife would love it…now if we could only get something like this for wordpress. Read more here.

JNDI and Nuclues

March 8, 2005

Ok so just one more…Dynamo makes all ATG components available via JNDI. That means I don’t need a custom factory bean to grab a Nucleus component…I can just use the JndiObjectFactoryBean. I think this actually shows the strengths of both frameworks.