Dynamic Code Evolution VM

One of the arguments dynamic language enthusiasts bring up as a negative attribute against the java ecosystem is that during development they do not have to stop and restart their servers when a code change is made.

While this statement isn't totally true, I do agree that it is a pain to always restart your application server just to see a simple change in any environment.

In the Java world, there are several cases when you really do not have to restart the application server to make a simple change.

Most notably would be making a change to a JSP page. JSPs are normally dynamically compiled.

Easy Java web services - JAXWS Deployments

One of the things I like about Java 6 is definitely the introduction of web services to the core of its APIs. I remember about two years ago when I was frustrated about working with flat files and wanted a way to run my client test files easily.

I work with an application that interacts with other applications owned by State agencies. If you are in the tech world, and your job is to work with any State agency, you would notice that most of the applications are written in some language that is losing its workforce(COBOL).

Some of these applications communicate with other applications by generating flat files, which get loaded by the receiving applications. Reading these flat file is definitely a pain. Luckily for me I was in an environment that allowed me to be creative and I took that opportunity to introduce web services as an alternate means of communicating with the State agencies.

Integrating Jmesa with Stripes

In my current project, I received a requirement were the user would like to do some sorting, exporting and filtering on a table we display on several screens in our application.

We use Stripes Framework for our web layer because of its simplicity. I know people might echo STRIPES! What is stripes? At the time I had the privilege of moving from Struts 1.2.9 to a less stressful Java web framework(about late 2008), Stripes was the only Java web framework that gave me a Rails like feel with its convention over configuration principles.

DisplayTag is probably the most popular table rendering API in the Java world, but it did not look like it was going to fulfill my requirement.

 

Referenced file contains errors (http://tuckey.org/res/dtds/urlrewrite3.0.dtd)

eclipse thumbnail

If you are like me, you must hate it when your project in Eclipse shows up with annoying errors not relating to your source code. Such an error was turkey's urlrewrite dtd file.

The way I got rid of this error was to delete Eclipse's cache of the dtd file.

Simply go to Preferences>General>Network Connections >Cache.

Select the URL http://tuckey.org/res/dtds/urlrewrite3.0.dtd and click on Remove.

Save your urlrewrite.xml file and Eclipse would download and cache the file again.

The annoying error should be gone now!

Pages