Archive for the Category: Java EE

Why would I prefer Liberty Profile over TomEE?! No easy answer

That’s the question which keeps bothering me lately: “Why would I prefer IBM WebSphere Application Server V8.5 Liberty Profile over Apache TomEE?” I’m pretty sure I’m not alone who struggles with the question and there’ll be more people soon. Since they’re new product offerings such questions will pop up quite often. TomEE has just passed [...]

Also posted in WebSphere Tagged , 2 Comments

Java EE and Clojure on Allegro RoadShow in Torun

Clojure makes my life so much fun! I’ve recently been invited for a talk about my current interests in functional programming during Allegro RoadShow in Torun and chose Clojure with Java EE 6 as the topic to present. It has been an event where an employee of Allegro – *the* e-commerce company in Poland – [...]

Also posted in Languages Tagged 2 Comments

Java EE web apps with Clojure (Maven and Leiningen are there, too!)

Sorry for party rocking! That’s really a crazy song, isn’t it? I do hope, the demo won’t be far from it :) How could I never come up with the idea?! I’m just a day before I again showcase Clojure for Warszawa Java User Group (WJUG) and since there’ll be lots of people with Java [...]

Also posted in Languages Tagged 4 Comments

Help needed with “Unsupported execution environment” deploying Equinox Declarative Services onto JBoss AS 7 CR1

The recent candidate release of JBoss AS 7.0.0.CR1 (codenamed “White Rabbit”) caught my attention for its support for the OSGi 4.2 Core (with the JBoss OSGi component). I’m currently swamped with book reading – OSGi and Equinox, and OSGi in Action – and got wild about trying it out. I meant to have written an [...]

Also posted in Frameworks Tagged , 3 Comments

Serializing reference of @Stateful session beans in EJB 3.1 with GlassFish 3.1

It’s all started with the EJB 2.1 and the javax.ejb.Handle interface. I remember I’ve always been meaning to check it out myself – how it is to save a reference of a stateful session EJB. There’s a myriad of use cases that would justify the need to figure it out – storing a @Stateful EJB [...]

Tagged , Leave a comment

Throwable.printStackTrace() for code comprehension

It’s been a while since I’ve been looking into Apache OpenEJB. With my recent affair with JAX-WS Web Services I thought I’d give it a try again. Not only would it help me understand the JAX-WS specification, but also would let me contribute to the project I’ve been in for a long time. I raised [...]

Also posted in Frameworks Tagged , , 1 Comment

Eclipse trick – drag projects onto a server in Servers view to deploy them

What a refreshing experience! While running a workshop about Java EE 5 development with IBM Rational Application Developer (RAD) 8.0.1 and IBM WebSphere Application Server V7 I stumbled upon a feature of RAD I had not even imagined might exist – it’s possible to deploy a EAR file/project in RAD onto WAS7 as simply as [...]

Also posted in Rational, WebSphere Tagged , , 1 Comment

Learning Clojure and JAX-WS at once – Clojure supports annotations, but JAX-WS doesn’t like it

While reading the redbook IBM WebSphere Application Server V7.0 Web Services Guide, I’ve stumbled upon JAX-WS javax.xml.ws.Endpoint class. It’s been a while since I worked with Clojure and since one of the selling points of dynamic languages like Clojure is their ability to boost prototyping to the maximum, a weird idea crossed my mind – [...]

Also posted in Languages Tagged , 2 Comments

SOAP 1.2 over JMS in Rational Application Developer 8.0.1

People who wrote the SOAP 1.2 spec was very kind and provided a short introduction in SOAP Version 1.2 Part 0: Primer (Second Edition). I had a very pleasant reading and didn’t expect to learn it as easily and quickly. It was just before I was wondering whether to use the SOAP 1.2 or SOAP [...]

Also posted in WebSphere Tagged , , , , 1 Comment

Text Message off and No response returned in Generic Service Client gone

A problem – No response returned in Generic Service Client for EJB Web Services with JMS transport and its solution – Text Message option in IBM WebSphere JMS Transport Configuration should’ve been off. Easy, isn’t it? Didn’t they tell you to turn options on only when they’re really needed?! As the saying goes “Once burnt [...]

Also posted in WebSphere Tagged , , , Leave a comment