|
From: Thomas V. de V. <tho...@gm...> - 2005-04-23 07:50:52
|
Personally I'd recommend Maven (http://maven.apache.org). Especially if=20 you're dealing with multiple projects. On 4/22/05, Garvey, Paul M (GE Commercial Finance) <pau...@ge...>=20 wrote: >=20 >=20 > I do use ant to build but now that I am getting familiar with appfuse I= =20 > will > need to convince other developers who are using JBuilder to develop their= =20 > EJB > apps. I have been using ant and IntelliJ for a a while now. >=20 >=20 > -----Original Message----- > From: spr...@li... > [mailto:spr...@li...]On Behalf > Of Eugene Kuleshov > Sent: Friday, April 22, 2005 12:21 PM > To: spr...@li... > Subject: Re: [Springframework-developer] EJBs vs POJOs >=20 > Garvey, Paul M (GE Commercial Finance) wrote: >=20 > > Dmitriy, > > I haven't had a chance to look at Spring EJB support as yet > > but it sounds > > interesting, Will be reading about Spring support this weekend. IDEs > > such as JBuilder > > makes EJB development very easy, testing aside, is Spring EJB support > > easier to code > > than straight EJBs? >=20 > Paul, don't you think that rely your development on IDE is a bad idea? > I believe it is better to setup a common build process (XDoclet, > MiddleGen, Cactus, Ant/Maven, etc) and do not rely on concrete IDE. >=20 > By the way, I have strange feeling about current Spring's EJB > convenience classes. The idea is that they will automatically lookup > Spring's application context for you and then you'll use > getBeanFactory().getBean() in onEjbCreate() method to pull pring-managed > POJO. However it require java:comp/env/ejb/BeanFactoryPath env property > to be set and also custom implementation setSessionContext() in order to > make bean factory a singleton (I don't know who would want non-singleton > factory?). > So, we've ended up with our own EJBM helper classes (very similar to > the Spring but without factory ) and a custom SpringLocator singleton > that I'm using in onEjbCreate() methods instead: >=20 > public class SpringLocator { > private static final ApplicationContext context =3D new > ClassPathXmlApplicationContext( CONTEXT_PATH); >=20 > public static Object getBean(String id) { > return context.getBean(id); > } > .... >=20 > In this case I don't have to override setSessionContext in every bean. > That of course only makes sence and should be used only on facade beans > (session/mdb or transaction) and all inner components should use DI and > not locator. >=20 > regards, > Eugene >=20 > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=3D6595&alloc_id=3D14396&op=3Dclick > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer >=20 > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_ide95&alloc_id=14396&opclick > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > |