Buttso Does the BLOG Thing : Getting down and dirty with OC4J, JMX, Mountain Biking ...
Updated: 4/5/2004; 2:26:11 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.

 
 

Thursday, March 18, 2004

Dragged back to the Petstore

I had the good fortune to revisit Ye'Olde Petstore again recently, needing to rebuild it from scratch so it'd deploy to OC4J 904. Besides the actual complexity of the sample application (which is by no means something you'd want to point folks who are new to J2EE at) what struck me as missing  was a simple description of the resources required to wire the thing together, allowing it to be more easily configured for deployment to other J2EE containers.

There's a fairly comprehensive documentation set (and a book too I think) which describes how to get it to work against the Sun J2EE Reference Implementation, and a design and implementation document which describes design decisions and how it was implemented. There's also the Sun reference descriptors which map the various logical names used in the app to the physical resources. But there's nothing that either lists out or depicts in a diagram what queues and topics are needed for each component, either as a listener or as a sender to enable it to work.  With the asynchronous nature of this design, the wiring is quite important. If you configure a component to post to the wrong Queue, or have an MDB listen on the wrong Queue, then it won't qork.

While I understand the necessity of providing this app prebuilt to work on the Sun J2EE RI, it would also seem to be in the best interest of J2EE, which promotes itself as a platform and vendor portable infrastructure, to provide some level of documentation that would enable it to be rebuilt for deployment to another J2EE implementation in as simple a manner as possible.


2:24:05 PM    your say []

© Copyright 2004 buttso.



Click here to visit the Radio UserLand website.

 


March 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 31      
Feb   Apr

My Musings

DateTitle
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