Memi.Reflection

Private members of memi's thoughts

DLL Hell...In Java?

I am now functioning (beside the regular technological activities) as a team leader for two parallel projects in our company - one medium (web based) .NET project, and one huge J2EE project. This has been the reason for lack of writing lately.

This is of course a good opportunity to compare the two technologies, although I'm not going to (re-)open a holy war, nor am I consider myself being Java expert.

Anyway, one of the (surprising) problems we encounter in the J2EE environment is no less than the Java equivalent to the DLL Hell.

In both projects, we maintain three environments: Dev, QA and Prod. For each project, the three environments are on the same server (.NET 1.1 on win2003 for the .NET project, WebSphere 5.02 on AS/400 for the J2EE one), and have their own database (SQL Server and DB2, respectively). When we want to deliver new modules to the QA env of the .NET project, we just...well...copy it. Maybe some changes in the web.config to direct to the appropriate database, but that's all, actually.

To my big surprise, this was not the situation in the J2EE project. This project rely heaviliy on CMP EJB (in short: O/R mapping technology for distributed applications in the J2EE environment. Has some common features with the yet-to-come ObjectSpaces.). Looks like the application server (WAS 5, as mentioned before) cannot maintain two versions of EJB, and the result is the Dev and QA talks to the same database. Once there is one EJB “registered“ in the WebSphere, you cannot hold another one with the same name, but of different version. Sounds familiar?

I have a full time programmer trying to solve that for already two weeks, and on Thursday last week he was helped by some WebSphere expert.  We'll know tomorrow whether the problem was solved or not.

Posted: Jul 17 2004, 11:34 PM by memi | with 2 comment(s)
Filed under:

Comments

TrackBack said:

S dot One heeft het over .NET » TFBL Award…
# July 18, 2004 9:20 PM

WyldOne said:

Oh this is becoming quite common anymore, and I just see it from the application side.

How so?

I need one _particular_ version of java JRE for the firewall software + and this is stupid a particular version of  web browser as well. This one is also bad because you have to manually put in the dll code to the plugin directory or it will use the wrong version by default. Good thing there are two browsers to be able to use

Need another for the java app for time management software. (that is NOT computable with above) Furthermore; they released a version that required two _different_ version s of Java in the same app.

A third java version for a outside agency app that get this, eats all memory(massive memory leak) and can't be run with the other two.

O Joy to the world of 'convenient programming'

Whatever happened to backward computability, to testing, to simple and easy to understand software? Oh I forgot the compiler (whoops I mean super uber-duper application development suite version 123.23.4) that will take care of that?

Sarcastic? you bet! true, you bet.

We keep trying to hack fit a system that was never designed to do it in the first place. Add to that all the 'steering committees' where the participants are not there to improve the product, but to sabotage the efforts of all.

# November 19, 2009 12:24 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)