Archive for February 2010

    How to Exclude Jars from a Grails 1.2.x WAR

    February 26, 2010 11:10 PM

    I have a Grails application that we’re developing and we’re targeting JBoss 5.1 as the production server. Our CI tool (Atalassian Bamboo) produced a production WAR for me which I tried to deploy. Of course I got numerous exceptions and stack traces because I had a copy of servlet-api.jar and xercesImpl.jar already packaged inside my WAR which conflicted with JBoss’ server libs classpath. If you need to remove any artifacts from the Grails build (i.e. grails war), you can write a closure in the bottom of the conf/BuildConfig.groovy such as

    posted by Bill Gloff

    Sling JSON Query Servlet + YUI TreeView

    February 24, 2010 12:50 AM

    I have been working with version 5 of Day Software’s CQ WCM platform since it was released. One of the great things about developing on version 5.x is the rich set of frameworks and API’s at your disposal (Sling, JCR, etc.).

    posted by John Kraus

    Apache Wicket applications have baked in protection against the number 1 and 2 Most Dangerous Programming Errors

    February 21, 2010 10:06 PM

    Wicket has been my framework of choice for the past year. There are many reasons for this, but one of the big ones is security. Wicket applications have built in protection against Cross Site Scripting (XSS) and SQL Injection attacks, numbers 1 and 2 respectively on the CWE/SANS top 25 most dangerous programming errors. A developer has to consciously enable this functionality for wicket applications to be susceptible.

    posted by Jeff Schwartz

    Thoughts on Snoracle and Why I like JBoss

    February 10, 2010 11:48 AM

    There are two blog posts I have read over the past few weeks that I think give good summary of how to digest the whole “Oracle-buying-Sun-thing”. The first is from Rich Sharples of Redhat on his personal blog. The second is from Mark Little, also of Redhat.

    posted by Matt Campbell

    Earthquake?

    February 10, 2010 11:12 AM

    Last night, my wife and I were woken at 4AM by what we thought for sure were just high winds. But 20-30 mph winds don’t cause the house to creak and you to feel a small, but real sense of motion. Turns out there was an Earthquake last night in Northwestern Illinois, about 30 miles from where we live. Only a 3.8 on the Richter scale, but I still must say I’d never thought I would experience an earthquake in the Midwest. Wild.

    posted by Matt Campbell

    Making a mockery of CQ5 with JMockit

    February 8, 2010 5:14 PM

    Java mocking tools are notorious for their limitations. Ideally, one would not have to compromise design and code integrity for testability, but the reality is that the restrictions of popular testing frameworks such as jMock, Mockito, and EasyMock cause headaches for many developers. Does this look familiar?

    posted by Mark Daugherty

    Silverlight 3 – Network Availability

    February 4, 2010 5:52 PM

    Once you have an application that is running ‘Out of Browser’, network availability will most likely be your next concern. The good news is Silverlight 3 comes through and gives you a way to check if there is an actual network connection available. An interesting caveat here is that you are checking if a network connection is available, but aren’t checking to see if that network is connected to the internet. In order to check for an internet connection a WCF service can be developed that can ping a common website. Kunal Chowdhury’s Blog does a great job of explaining a possible way to do this.

    posted by Pat McLoughlin

    Silverlight 3 – Out of Browser

    February 3, 2010 7:01 PM

    ‘Out of Browser’ support is one of the most exciting features of the latest release of Silverlight 3. A Silverlight application can now be pulled out of the browser and installed on a local machine. The possibilities of a web deployed thick client are now very much a reality. As more features are continually added to Silverlight it will be interesting to see what happens to WPF. Will there even be a need for WPF if Silverlight can provide all of the same features and can deliver them through a browser. I am looking forward to playing with a lot of the ‘Out of Browser’ features and figuring out how to make use of it them in a ‘disconnected’ environment.

    posted by Pat McLoughlin

    RESTful Web Services and .NET

    February 1, 2010 3:06 PM

    Up until this point I had never worked with RESTful Web services.  I had heard lots about them from my friends in the java world, but hadn’t had a need to use them.  I wanted to connect to a REST web service in the simplest way possible. Here are 2 ways to easily connect to a RESTful web service and parse the reply.

    posted by Pat McLoughlin
Top