A A A i

lundi 24 mars 2003lundi 24 mars 2003

JBoss, JMS and WebSphere MQ

Trying for two days to run WebSphere MQ (formerly MQSeries) within JBoss and its JMS provider. The problem is that... it's the first time I use those 3 things :-) Regarding the development, JBoss works surprisingly well: fast startup time, "easy" configuration. It's not easy in the sense that you have to throw yourself into the sea of config files, whereas Weblogic, WebSphere and Tomcat 4 made us used to web admin interfaces. But after some attempts, given that you start with 3 different sets of config files and that the startup process is robust, it proves to be really usable.

The JMS thingy is really a joy to work with: clean and simple API, I would like to work with that everyday!

Now the tough part, well... after you did it, it's not tough at all. WebSphere MQ exposes two Java APIs, the "native" one, and the JMS bindings. If you choose JMS, you lose the ability to do synchronous request/answer through messaging. In my case it's pure asynchronous conversation, so the choice is really quickly done.

Making JBoss 3 to use MQSeries instead of JBossMQ is really... nothing (after reading JBoss' forums: a great help). Simply erase jbossmq-destinations-service.xml and jbossmq-service.xml from the default configuration, and populate the JNDI tree with JMSAdmin. And... it simply works. I would prefer a way to keep my configuration persistent in the JNDI tree, but I don't understand how "pcallies" solution works. Mapping jndi entries to the filesystem seems rather strange to me in this case, or maybe I'm missing some way to configure MQSeries through property files. Any help regarding this point is welcome.

Regarding the bad side of those attempts, I regret IBM's lock-in. You can't use an external access to WebSphereAS JNDI tree without the IBM JRE. In fact, the InitialContextFactory provided with WSAS is at one point strongly linked with IBM own CORBA implementation. I tried to access it with the standard J2EE 1.3 implementation, and then WebSphereAS has thrown at my face a 1229124488 CODESET_INCOMPATIBLE, which is an undocumented error (ORB errors)... So for now I wont use WebSphereAS as a true application server, but just as a glorified web server.(Cyberpunk, 2003/03/24 18:54) lien permanent


qui est

nom : Damien Bonvillain
courriel : kame à cinemasie.com
bloggercode:
B9 D+ T+ K S F I- O X+ E- L- C-- Y1 R+ W- P+ M5 N-- N+
un peu plus : Google Whoring tortue

Messagerie instantanée

    les koms

    m'enfin

    Quant à mes invectives imaginaires, je vous laisse chercher un endroit adéquat pour les ranger. Elles craignent la lumière, si vous voulez une piste.
    Lien associé
    Eolas - « Aimez moi, c'est un ordre. »

    les bons vieux


    archives

    « mars 2003 »
    lunmarmerjeuvensamdim
    12
    3456789
    10111213141516
    17181920212223
    24252627282930
    31

    XML RSS 2.0 XML RSS 2.0 commentaires A A A i

    liens

    allégeance

    Blog sans chat

    colophon

    Propulsé par pointClairMerci à la caféineDevelopment with EmacsBadges from GTMcKnightFreeListed on BlogSharesGeoURL