You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Chris Opacki <ch...@yahoo.com> on 2003/08/19 04:15:50 UTC

[PATCH] intitial add DDBeanImpl and DDBeanRootImpl - first take

org.apache.geronimo.enterprise.deploy.tool.DDBeanImpl
org.apache.geronimo.enterprise.deploy.tool.DDBeanRootImpl

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

RE: [PATCH] intitial add DDBeanImpl and DDBeanRootImpl - first take

Posted by Chris Opacki <ch...@yahoo.com>.
Jeremy,
I'll be working on some JUnit tests in the near
future. I wanted to get something out so Aaron could
have something working for his DDCondfigBean
implementations. I am working on cleaning all of it
up...add commons logging...removing printlns..removing
main methods etc.. DDBeanImpl is a generic class that
may be used to grab any bit of information from the
DD. I didn't see a need to create subclasses for each
Node. I am open to suggestions. What other issues
should I be aware of?
thanks,
Chris

--- Jeremy Boynes <je...@coredevelopers.net> wrote:
> Chris
> 
> I have other issues as well.
> 
> * The dependency on Commons-Lang is just to provide
> HashCodeBuilder and
> ToStringBuilder
>   I am not convinced we need to introduce another
> library just to do this
> 
> * You use System.out in several places, presumably
> for debugging.
>   Please use Commons-Logging at trace level for this
> 
> * You have a main method in these classes; this is
> not an entry point for
> the
>   system. Please use JUnit for testing
> 
> Finally, the impl of getChildNodes creates new
> DDBeanImpls() - should it be
> doing this? I would have expected to need a factory
> for the specific
> subclasses.
> 
> --
> Jeremy
> 
> > -----Original Message-----
> > From: Aaron Mulder
> [mailto:ammulder@alumni.princeton.edu]
> > Sent: Tuesday, August 19, 2003 8:31 AM
> > To: geronimo-dev@incubator.apache.org
> > Subject: Re: [PATCH] intitial add DDBeanImpl and
> DDBeanRootImpl - first
> > take
> >
> >
> > On Mon, 18 Aug 2003, Chris Opacki wrote:
> > >
>
org.apache.geronimo.enterprise.deploy.tool.DDBeanImpl
> > >
>
org.apache.geronimo.enterprise.deploy.tool.DDBeanRootImpl
> >
> > Chris,
> >
> > 	It looks like there are a couple issues here:
> >
> >  - Commons Lang and Dom4j need to be added to the
> dependency list for
> > these to compile
> >
> >  - They don't fully implement the JSR-88
> interfaces that are currently in
> > CVS.  I suspect you're using the 1.0 version of
> JSR-88, whereas the
> > version in CVS includes new methods defined in the
> update for J2EE 1.4
> > (v1.1):
> >
> >
>
http://java.sun.com/j2ee/tools/deployment/88ChangeLog1.1_aug2802.html
> >
> >  - The main method has a reference to a specific
> file name
> > (c:\java_specs\...)
> >
> > 	I'll clean this up a bit when I get a chance.
> >
> > Aaron
> >
> >
> 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

RE: [PATCH] intitial add DDBeanImpl and DDBeanRootImpl - first take

Posted by Jeremy Boynes <je...@coredevelopers.net>.
Chris

I have other issues as well.

* The dependency on Commons-Lang is just to provide HashCodeBuilder and
ToStringBuilder
  I am not convinced we need to introduce another library just to do this

* You use System.out in several places, presumably for debugging.
  Please use Commons-Logging at trace level for this

* You have a main method in these classes; this is not an entry point for
the
  system. Please use JUnit for testing

Finally, the impl of getChildNodes creates new DDBeanImpls() - should it be
doing this? I would have expected to need a factory for the specific
subclasses.

--
Jeremy

> -----Original Message-----
> From: Aaron Mulder [mailto:ammulder@alumni.princeton.edu]
> Sent: Tuesday, August 19, 2003 8:31 AM
> To: geronimo-dev@incubator.apache.org
> Subject: Re: [PATCH] intitial add DDBeanImpl and DDBeanRootImpl - first
> take
>
>
> On Mon, 18 Aug 2003, Chris Opacki wrote:
> > org.apache.geronimo.enterprise.deploy.tool.DDBeanImpl
> > org.apache.geronimo.enterprise.deploy.tool.DDBeanRootImpl
>
> Chris,
>
> 	It looks like there are a couple issues here:
>
>  - Commons Lang and Dom4j need to be added to the dependency list for
> these to compile
>
>  - They don't fully implement the JSR-88 interfaces that are currently in
> CVS.  I suspect you're using the 1.0 version of JSR-88, whereas the
> version in CVS includes new methods defined in the update for J2EE 1.4
> (v1.1):
>
> http://java.sun.com/j2ee/tools/deployment/88ChangeLog1.1_aug2802.html
>
>  - The main method has a reference to a specific file name
> (c:\java_specs\...)
>
> 	I'll clean this up a bit when I get a chance.
>
> Aaron
>
>


Re: [PATCH] intitial add DDBeanImpl and DDBeanRootImpl - first take

Posted by Aaron Mulder <am...@alumni.princeton.edu>.
On Mon, 18 Aug 2003, Chris Opacki wrote:
> org.apache.geronimo.enterprise.deploy.tool.DDBeanImpl
> org.apache.geronimo.enterprise.deploy.tool.DDBeanRootImpl

Chris,

	It looks like there are a couple issues here:

 - Commons Lang and Dom4j need to be added to the dependency list for 
these to compile

 - They don't fully implement the JSR-88 interfaces that are currently in 
CVS.  I suspect you're using the 1.0 version of JSR-88, whereas the 
version in CVS includes new methods defined in the update for J2EE 1.4 
(v1.1):

http://java.sun.com/j2ee/tools/deployment/88ChangeLog1.1_aug2802.html

 - The main method has a reference to a specific file name 
(c:\java_specs\...)

	I'll clean this up a bit when I get a chance.

Aaron