I routed an article on RegEx earlier, and I thought I’d follow it up with a simple usage of RegEx in Java. The attached file will grab a web page from the web and print the title and all the links on the page. Give it a look. It [...]
Archive for the ‘Java’ Category
There are many times when I have wanted a way to write scripts against webapps.
One of the normal cases is the need to make changes to the DB using the Managers in the application. Using SQL is great but in complicated schemas I’d like to be able to do inserts and deletes [...]
So while I was trying to scrape a Groovy mess off of my heel I found a real gem in the Pro Spring book.
For those who want to read it themselves you can find what I read on pages 95-110 in the Yellow and black book called Pro Spring.
The Spring Framework provides two interfaces that [...]
You can enable server-side includes (SSI) in Jetty by taking the SSI servlet from Apache Tomcat and dropping it into your Jetty app. Here’s how I did it.
Copy the servlet configuration from Tomcat’s web.xml, located in Tomcat5.x/conf, and add the servlet-mapping tag at the bottom.
<!– NOTE: An SSI Filter is also available as [...]
While I was on vacation I played with my LISP interpretor. It is written in Java and is my has been my experiment project or a few years. As I learn about new stuff I put it in here. Like Unit testing, and then TDD, and SVN and ….
If any of [...]
Interesting presentation on Struts Action 2.0 and Webwork merger.
Short comparison with other frameworks
Conversation on Continuations
Rapid Development (Why is RoR so popular?)
It’s a long-ish presentation (~50 minutes), but gives a good summary of some of what I’ve been reading about the direction of java web development thinking
Did you see this recent announcement? Since we use file upload in a number of projects, this update looks interesting — particularly the “support for progress listeners”.
From: Jochen Wiedmann [mailto:email@example.com]
Sent: Wednesday, February 21, 2007 11:40 AM
Subject: Announce: Commons Fileupload 1.2
the Jakarta Commons team is glad to announce the availability [...]
It’s always shocking that native Java is so clunky in dealing with dates. One of the popular libraries that makes life more enjoyable is Joda, so if you’re dealing with a ton of dates and finally get fed up, try it out.
I’ve been doing a ton of Hibernate mapping recently, and it seems like I’m always looking up options to match my database architecture.
Here is a nice one page summary of the mapping options. You will need to do some reference checks in the complete docs, but it gives you some ideas.