jaxws client and ws security

Wikipedia defines WS – Security as : WS-Security (Web Services Security, short WSS) is a flexible and feature-rich extension to SOAP to apply security to web services. It is a member of the WS-* family of web service specifications and was published by OASIS. Setting up web service security can be very tricky. I am going [...]

Gosu thoughts – List and Array Expansion(*.)

Gosu is a language I have been working with since October of last year. October was not the first time I encountered Gosu. My first brief meeting with Gosu was back in 2007  when I was on an insurance project in Wisconsin. At that time it was called GScript. My first impression was that this [...]

Rails 3.1 undefined method `[]‘ for false:FalseClass

Today I decided to upgrade my rails 2.3.8 application to rails 3.1.3 when I discovered the error below: undefined method `[]‘ for false:FalseClass The error gets thrown when I call a save(false) method on an ActiveRecord model class. Changing the method call to save(:validate=>false) solved the problem for me. I guess this was changed in [...]

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 [...]

Java – Reversing a String object

I got asked a question recently about reversing a string in java. The first thing that came to my mind was to use ruby to solve the problem since there is a reverse method on the string object in ruby. Since I love java so much, I would like to discuss a solution in java. [...]

EXP-00056: ORACLE error 12514 encountered

Last week I was doing some performance testing and needed some data sets on a remote oracle database and encountered the error you see as the title of this post. My preferred way of exporting a dump file from an oracle database is to use the export utility from the command line. exp schema_name/schema_password file=data_i_am_exporting.dmp [...]

Port value out of range

Have you ever seen the error below when you try to start up a servlet container in java? What about when you try to access a port greater than 65535 on your pc or mac? Protocol handler start failed: java.lang.IllegalArgumentException: Port value out of range: Take a look at the InetSocketAddress class’s constructor detail section. [...]