adamruggles.net

Full Text Search

I have been recently tasked with looking into upgrading the libraries we used for full text search on a site that I help maintain.  Search has become a pretty integral part of our site and performance has gotten worse over time.  We currently use Compass to power the full text searches, but it is no longer…

Read More »

| Permalink | Comments Off

Pre-compile JSP pages for Apache Geronimo with Maven

In Apache Geronimo 2.2/w tomcat 6 they don’t appear to be using the tomcat jasper JSP compiler. So to pre-compile JSP pages you will need to modify the dependencies of the jspc maven compiler. <plugin> <groupId>org.codehaus.mojo.jspc</groupId> <artifactId>jspc-maven-plugin</artifactId> <version>2.0-alpha-3</version> <executions> <execution> <goals> <goal>compile</goal> </goals> </execution> </executions> <dependencies> <dependency> <groupId>org.codehaus.mojo.jspc</groupId> <artifactId>jspc-compiler-tomcat6</artifactId> <version>2.0-alpha-3</version> <exclusions> <exclusion> <groupId>org.apache.tomcat</groupId> <artifactId>jasper</artifactId> </exclusion>…

Read More »

| Permalink | Comments Off

Solution to DVFactoryException for wsdl2java

If you’re seeing this error when using cxf-codegen-plugin, there is an easy solution: org.apache.xerces.impl.dv.DVFactoryException: DTD factory class org.apache.xerces.impl.dv.dtd.DTDDVFactoryImpl does not extend from DTDDVFactory. <plugin> <groupId>org.apache.cxf</groupId> <artifactId>cxf-codegen-plugin</artifactId> <version>${cxf.version}</version> <dependencies> <dependency> <groupId>xerces</groupId> <artifactId>xercesImpl</artifactId> <version>2.8.1</version> </dependency> </dependencies> … </plugin> The key part is to add the Xerces dependency. After that you should no longer see that error when…

Read More »

| Permalink | Comments Off

Building SalesForce client stubs using CXF and Maven

As part of a project at work we’ve been migrating from using ANT scripts and maintaining our libraries manually to using maven both for the build and for library/dependency management.  As part of that project we have also been updating our libraries which some haven’t been updated in 4 years.  We have also decided to…

Read More »

| Permalink | Comments Off

New WordPress theme

Screenshot

I finally had a chance to play with WordPress some more and learn all the in and outs of building a theme.  I just updated this site with my first WordPress theme.  I figured since I was going to start with a new theme I might as well make the theme use HTML5.  If you’re…

Read More »

Permalink | Comments Off

WWDC 2011

Moscone West Convention Center

I had the opportunity through work to attend Apple’s Developer Conference this year.  This is my first time going and it was a lot of fun.  I was really impressed with what Apple announced. Since I’m under NDA I won’t discuss the specifics, but it looks like a lot of work that apple has been…

Read More »

| Permalink | Comments Off
Page 1 of 212