Buttso Does the BLOG Thing : Getting down and dirty with OC4J, JMX, Mountain Biking ...
Updated: 6/4/2004; 5:03:38 PM.

 

Subscribe to "Buttso Does the BLOG Thing" in Radio UserLand.

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.

 
 

Friday, June 04, 2004

A Trip to the Corner Shop .... An Expedition to Everest

Maybe because it's a Friday afternoon, but I'm really struggling with getting the latest Sun Blueprint application -- Adventure Builder -- to build away from the Sun Reference Implementation environment.

I was really hoping to be able to do a quick build of the application against our latest OC4J build, and then start to add some extensions in the JMX arena to it as a demonstration. What started out as a nice Friday afternoon task has ended up as bugger of a job. I thought it'd be a simple trip to the shop ... now it's looking like a full scale expedition up Mt Everest.


For a start, I certainly don't claim to be an authority on best practices with Ant -- I got the older Petstore app building against OC4J really quickly -- but I can say that I'm finding it really hard to get this build environment to work against OC4J.

It just looks and feels too complicated as I'm wading my way through all the build components trying to change the relevant targets to work against another J2EE implementation. There's lots of calls in the Ant scripts to specific functionality in the J2EE RI to create the required resources (can't these just get put into a completely separate script!), calls out to ws compilers for all the client code which relies on the scripts in the RI, and about a billion properties to keep track of and try and debug when the shit hits the fan during a build.

If I was someone looking at J2EE and thinking I'd use this as a way to learn a bit about it on my preferred J2EE container, then I reckon I'd be jumping at the .NET wagon rolling past ...

I guess I'll keep going -- perhaps the onus is actually on us as a J2EE vendor to provide a distribution of this so it'll build against our specific J2EE implementation. I know the Sun folks can't make it that generic so it'll build against every product, but it does look like it's very tightly coupled to the J2EE RI -- hmm, which I think is now actually used as the official Sun Application Server .... perhaps there is a method in their madness after all ....

Maybe I really am being a dumb arse and should just go out for a ride. Hye, good idea. Seeya.

5:01:52 PM    your say []

© Copyright 2004 buttso.



Click here to visit the Radio UserLand website.

 


June 2004
Sun Mon Tue Wed Thu Fri Sat
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30      
May   Jul

My Musings

DateTitle
5/21/2004 Mutlicast Checker
4/28/2004 OC4J as a Windows Service
4/23/2004 Using Form Based Authentication
4/20/2004 OC4J and MC4J
4/14/2004 OracleAS and getServerName
4/5/2004 Reset DMS Metrics
3/30/2004 Using the DOS for command to find a class
3/24/2004 A walk in the JCA park
3/19/2004 My spots have changed
3/16/2004 Ant deployment to OC4J
3/15/2004 Getting OC4J Admin Console to work in OC4J 9.0.4
2/27/2004 Simple JSR88 Java Client Example
2/27/2004 JSR88 Client Example
2/18/2004 An Adventure with Adventure Builder and getParameterMap
2/16/2004 Running OC4J with MX4J
2/12/2004 JMX Support in OC4J 10.0.3
2/12/2004 Configuring MBeans with OC4J

Other Links