Monthly Archives: January 2011

Factorial, type hints and tail recursion in Clojure 1.3.0-alpha4 – ArithmeticException integer overflow?!

If there’s anything I could’ve noticed changed lately in my professional interests since I’ve started programming in Clojure, that’s a gradually rising wish, or I’d say a sort of a desire, to learn more about programming language concepts. It’s not that long ago when I had to write an application in Haskell, OCaml or SML […]

Languages Tagged 5 Comments

How to import existing WebSphere Installation in IBM Installation Manager – WID7 installation woes

The process of IBM WebSphere Integration Developer V7.0‘s installation uses IBM Installation Manager and is a 3-step process. First, you install the main product – WID7 – and then move on to installing WebSphere Application Server and the WebSphere test environment. It ensures that not only can you develop an integration solution, but also can […]

WebSphere Tagged 3 Comments

Clojure’s doto vs -> for GUI development

I’ve been reading the source code of a Clojure snippet in Is this a closure? If so, why? that eventually made me wonder why people keep using doto over the -> (“threading”) macro. You can find a bit information on the -> macro in Understanding the Clojure -> macro or fire up Clojure’s REPL and… […]

Languages Tagged 4 Comments

Endpoint address of JAX-WS binding empty when…Enter pressed too early

I’d certainly have called it “interesting” when it’d happened to me before I started a presentation, but it was grim to face it while I was showing a demo of a JAX-WS binding of a SCA module in IBM WebSphere Integration Developer (WID) 7.0.0.3-IFix-20101103_1147 and run it in a test environment – IBM WebSphere Process […]

WebSphere Tagged , Leave a comment

Clojure concurrency with agents – no more explicit Threads

Let me state it now before it gets too late and I get blamed for spreading FUD or alike – I’m no expert at concurrency and have had very little to no exposure to the area. It’s been on my todo list for way too long and when I’ve heard about Clojure and its attempt […]

Languages Tagged 2 Comments

How to install IBM WebSphere ILOG JRules 7.1.1 on Windows 7

If someone’s interested in the topic of installing IBM WebSphere ILOG JRules 7.1.1 with the fixpack 7.1.1.1 on Windows 7 and don’t want to do it yourself, yet wonder how commercial offerings do simple things, here is my take on it – a document with screenshots How to install IBM WebSphere ILOG JRules 7.1.1 on […]

WebSphere Tagged , 7 Comments

Maps as data structures in Clojure are functions of their keys – a nifty use case

There’re many ways to replace one character set to another, and after a year or so with Clojure I’ve just realized there’s one truly functional (and possibly idiomatic) – use of map as a function of its keys to make it happen. With the map function, they make the conversion really pleasant. So, instead of […]

Languages Tagged 4 Comments

Dynamically redefining classpath in Clojure REPL

In my previous blog entry Clojure for module development in Google Guice? I presented a way to start Guice from within Clojure REPL. It was fun and turned out easy (yet possibly irrelevant for most people). It however paved the way for creating the new self-learning environment of mine. The idea is to learn Guice […]

Frameworks, Languages Tagged , 6 Comments

AbstractModule.bindConstant(), @Inject and @Named in Google Guice

I’ve recently come across the bindConstant() method of com.google.inject.AbstractModule. I had a vague idea of its use and value, and decided to google it. I was looking for some code examples and got really surprised when it took me quite a while until I was finally able to find one at Guice: Difference between Binder#bindConstant() […]

Frameworks Tagged 2 Comments

Clojure for module development in Google Guice?

I’ve been learning Clojure for some time and been meaning to use it for development with Java EE. So far, I’ve been unable to find anything very inspiring and stumbled upon Google Guice. One reason to learn dynamic languages like Clojure, Scala or Groovy is that they’re dynamic and can still run on JVM. That’s […]

Frameworks, Languages Tagged , 1 Comment