|
From: Colin S. <col...@ex...> - 2004-06-29 19:05:19
|
This is seriously cool! jas...@ma... wrote: > Dion let the cat out of the bag... > > http://www.almaer.com/blog/archives/000246.html > > so I thought I'd best actually commit the code. Warning though I've > not tested it yet - we need an integration test to make sure this > works & we handle all the lifecycle methods properly :) > > Basically we've a GBean for Geronimo so that any existing spring XML > config file can be slurped up & turned into beans and managed in a JSR > 77/88 way & hot deployed - so Geronimo can hot deploy arbitrary Spring > containers within the core J2EE container - all managed in the same > stack as web apps, web containers, EJB containers etc. We should also > be able to JMX-ifiy all the beans as they are created into the JSR > 77/88 management stack. > > At JavaOne we've discussed maybe having a special naming convention, > say putting spring.xml inside META-INF/ or something, so that you can > put your code in a regular jar with the XML deployment descriptor then > drop it in a directory or whatnot and Geronimo could auo-detect it & > use the SpringGBean to deploy it. > > Its still early days but hopefully once this is sorted out & working, > developers can spend their time in development mode just using Spring > by itself, then at any point in time drop their jar into Geronimo (or > build a deployment binary of Geronimo) and hey presto their apps > running inside a J2EE container. > > Going forward we should be able to further increase the functionality > of the SpringGBean to closer integrate the two projects so that the > Spring POJOs can take better, more efficient & easier use of the J2EE > services in Geronimo (transactions, security, remoting, pooling, > clustering etc). > > Enjoy! > > James > ------- > http://radio.weblogs.com/0112098/ > |