"hxp" wrote : 
  | 
  | Jae --
  | 
  | "jae77" wrote : at this point, i definately feel that pure cmp is the way to go 
  | 
  | Great news, Jae -- thanks for your vote!
  | 
  | 
  | "jae77" wrote : (i stared at those ddls for quite some time debating whether or 
not i wanted to re-write them), 
  | Yeah, that was what held me back for a while.  For a reminder, see #1-2-3 at 
  | http://www.jboss.org/index.html?module=bb&op=viewtopic&t=46324.... The breakthru 
came when I realized that #2 & #3 were unnecessary -- at least for now, because 90%+ 
of the ddl code was loading dummy/demo data that could be dispensed with. The few 
entities which have to be preloaded are for the initial admin/admin user and 
associated group; and I came up with a cool idea for securely initializing these in a 
pure-CMP environment. 
  | 
  | This realization also led to seeing that any/all of the non-core modules could be 
migrated to pure-CMP without waiting for the core to be migrated. So the problem 
reduced to just #1... and that on a module-by-module basis :-) !  Which made it 
feasible for me to do #1 by myself, and work out initial templates for other people to 
use to convert more modules.
  | 
  | So realizing we indeed can get rid of the ddl leads to all sorts of other good 
insights :-)
  | 
  | 
  | "jae77" wrote : but i don't think it's necessary for the 1.1 release. 
  | 
  | Agreed --  I hope nobody interprets this thread as saying the shift to pure-CMP 
must happen for 1.1!  Instead, the intent is to show that a few non-core modules can 
go to pure-CMP for 1.1 . At this point, we are close to having 3 pure-CMP modules 
ready for 1.1 --- your News, and my Quotes and FAQ. Maybe Dennis will get inspired and 
tune Polls and Downloads in this direction (I dont think he has any init data; but 
probably still uses ddl for table creation; I haven't looked to see.)
  | 
  | "jae77" wrote : i do think that if ppl are reworking a module for 1.1 and are 
comfortable w/ xdoclet, etc then by all means include it, but otherwise i think this 
should be set as a goal for the 2.0 release.  
  | Yes, a great goal would be 100% pure-CMP (including the core) by 2.0; and a 
healthy number of non-core modules already moved to pure-CMP by 1.2.
  | 
  | "jae77" wrote : i don't have oracle, mysql, or postgres running at home, so while 
i haven't had any issues creating tables in hsqldb, i don't know if someone else may 
have an issue. (i know for hsqldb, i have to set the pk-constraint to false, but this 
may not be necessary for the other dbs). 
  | I have hsql on my home dev nukes inst, but have mysql on my rh9 linux box colo'd 
at the datacenter. Early tests show a bug with mysql and the nukes entity command; 
you'll see something more about this from me by the time you get back from Las Vegas.  
  | 
  | "jae77" wrote : btw: preloading data could probably be done w/ .bsh scripts that 
could be lumped into the deployed ear - they'd just need a check to see if the data is 
already there so it doesn't try to re-create it. 
  | 
  | Ahhh.... we can do much better than that. I want to create a Lifecycle 
("Meta-Admin") Module that would automte & manage all sorts of data initialization, 
bulk loading, dump&restore, schema-evolution + data-migration, fancy backup, etc, etc. 
Much of the good work that Noel and Sherman did for the installer would be absorbed 
into this much more general Lifecycle Module, because we're getting closer and closer 
to the realization that we don't need an "installer" at all.
  | 
  | One of the reasons that i made the 
  | http://jboss.org/wiki/Wiki.jsp?page=InstallUninstallUpgrade
  | wiki is to pinpoint exactly how complex it really is to manage the lifecycle of a 
basic Nukes installation. One of my goals with the pure-CMP push and the Lifecycle 
Module will be to cut the number of steps in InstallUninstallUpgrade by 50% --- and 
then 50% again, until we have an ultra-simple way of getting-going and keeping 
up-to-date. Ultimately, just a single Ant task -- and everything other than that would 
be done within the secure single-sign-on Nukes environment.
  | 
  | (Have fun in Las Vegas -- just don't go broke, 'cause we need you to be able to 
afford to keep working on Nukes ;-)) 
  | 
  | -- Howard
  | 
  | 



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3832733#3832733

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3832733


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE. 
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to