Re: [Configuration] Proposals...

2002-06-16 Thread costinm
Please note there are 2 important APIs you should look at - JMX and java preferences. My view on configuration is that JMX should be used as the main interface for the configurable components, and something similar with java preferences ( but useable in JDK 1.4 ) for storing/reading the data.

Re: [all commons] Proposal: CommonsCommons package

2002-06-16 Thread Stephen Colebourne
From: Arron Bates [EMAIL PROTECTED] The Commons project itself is now housing separate sub projects which have seemingly their own boundaries Every little part is acting like its own jakarta project. Hell, the votes are even working that way... This guy's been doing some great work with

cvs commit: jakarta-commons-sandbox/simplestore/src/query/org/apache - New directory

2002-06-16 Thread baliuka
baliuka 2002/06/16 03:24:50 jakarta-commons-sandbox/simplestore/src/query/org/apache - New directory -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

cvs commit: jakarta-commons-sandbox/simplestore/src/query/org/apache/commons/simplestore - New directory

2002-06-16 Thread baliuka
baliuka 2002/06/16 03:25:09 jakarta-commons-sandbox/simplestore/src/query/org/apache/commons/simplestore - New directory -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: [collections] Transformer exception handling

2002-06-16 Thread Peter Koßek
Over time I have come to dislike checked exceptions. This is an example of why. I now use unchecked exceptions when I can. So, to confuse you, both solutions appeal and neither solution appeals. I thus remain skeptical about changing commons for transformation exceptions. Until now, I have

[BeanUtils][Betwixt][commons] Proposal: Reflection/Introspection/MetaData package

2002-06-16 Thread Stephen Colebourne
Hi, Currently, Betwixt and other users of BeanUtils rely on the java.beans class Introspector to extract details from a class. Introspector is a very old and limited class in todays terms: - it doesn't support collections, just simple objects and arrays - it doesn't support modern conventions

[GUMP] Build Failure - commons-fileupload

2002-06-16 Thread John McNally
This email is autogenerated from the output from: http://jakarta.apache.org/builds/gump/2002-06-16/commons-fileupload.html Buildfile: build.xml BUILD FAILED Target `dist' does not exist in

[VOTE] was Re: [BeanUtils][Betwixt][commons] Proposal: Reflection/Introspection/MetaData package

2002-06-16 Thread Juozas Baliuka
Hi, It is good idea. I think it is no need discuss a lot. Just paste this to PROPOSAL file and start a new project in sandbox( or find some existing about the same). +1 if it needs vote. Hi, Currently, Betwixt and other users of BeanUtils rely on the java.beans class Introspector to extract

Re: [VOTE] was Re: [BeanUtils][Betwixt][commons][jxpath] Proposal:Reflection/Introspection/MetaData package

2002-06-16 Thread Dmitri Plotnikov
I took the liberty of adding jxpath to the list, because it also has an introspection mechanism. IMO, it has way too much of it and breaking it out would make tremendous sense. When I was working on a product the current version of which is available from Object Venture,

Re: [VOTE] was Re: [BeanUtils][Betwixt][commons][jxpath] Proposal: Reflection/Introspection/MetaData package

2002-06-16 Thread bob mcwhirter
I don't know exactly how/if it fits in, but Ant does a fair bit of introspection also. So far, I haven't been able to use beanutils (I may be using it wrong) to do what Ant does. Seems like most of the introspectors out there, given a name fileset will look for something like addFileset(...),

Re: [BeanUtils][Betwixt][commons] Proposal:Reflection/Introspection/MetaData package

2002-06-16 Thread Martin van den Bemt
Also check this with the ant team, who have a lot of introspection in there code.. It works on all jdk versions afaik. See o.a.tools.ant.Introspectionhelper. +1 on the idea btw.. Mvgr, Martin On Sun, 2002-06-16 at 13:40, Stephen Colebourne wrote: Hi, Currently, Betwixt and other users of

[VOTE] Release vote for JXPath 1.0

2002-06-16 Thread Dmitri Plotnikov
I'd like to call for a release vote on JXPath 1.0 . It has been stable for a while, and there are no outstanding bugs against it. All the goals we had initially stated for this release have been met. The release candidate build is

Re: [VOTE] Release vote for JXPath 1.0

2002-06-16 Thread Juozas Baliuka
+1 I'd like to call for a release vote on JXPath 1.0 . It has been stable for a while, and there are no outstanding bugs against it. All the goals we had initially stated for this release have been met. The release candidate build is

Re: [VOTE] Release vote for JXPath 1.0

2002-06-16 Thread costinm
+1 ( as non-commiter ). I've looked at the code and seen it used, it is really cool. I wish I had more time... Costin On Sun, 16 Jun 2002, Dmitri Plotnikov wrote: I'd like to call for a release vote on JXPath 1.0 . It has been stable for a while, and there are no outstanding bugs against

Re: [VOTE] Release vote for JXPath 1.0

2002-06-16 Thread Dmitri Plotnikov
The problem is with the count. The tests have internal structure - sorry, that might be bad idea, at least misleading. The actual number of tests hiding behind the 8 you counted is about 350, you need to count each XPath that is being tested, because they are designed to provide very good

Re: [BeanUtils][Betwixt][commons] Proposal: Reflection/Introspection/MetaData package

2002-06-16 Thread Juozas Baliuka
I think it must be a lot of code about this and it can be reused. As does VelocityI think it calls it UberIntrospector or something. -- dIon Gillard, Multitask Consulting Work: http://www.multitask.com.au Developers: http://adslgateway.multitask.com.au/developers Martin

Re: [BeanUtils][Betwixt][commons] Proposal: Reflection/Introspection/MetaData package

2002-06-16 Thread Juozas Baliuka
I think ideas you proposed in BCEL list can be moved to this proposal too. Hi, Currently, Betwixt and other users of BeanUtils rely on the java.beans class Introspector to extract details from a class. Introspector is a very old and limited class in todays terms: - it doesn't support

Re: [BeanUtils][Betwixt][commons] Proposal: Reflection/Introspection/MetaDatapackage

2002-06-16 Thread costinm
See also o.a.tomcat.util.IntrospectionUtils :-) It also have a nice feature - it takes an args[], and using introspection calls the setters, using -name value or -name, based on the method signatures - setName( boolean ) or setName( String/int/whatever ) I personally find it very usefull - with

Re: [VOTE] Release vote for JXPath 1.0

2002-06-16 Thread Ivelin Ivanov
+1 (if it counts) Dmitri Plotnikov wrote: I'd like to call for a release vote on JXPath 1.0 . It has been stable for a while, and there are no outstanding bugs against it. All the goals we had initially stated for this release have been met. The release candidate build is

Re: [BeanUtils][Betwixt][commons] [jxpath] Proposal:Reflection/Introspection/MetaData package

2002-06-16 Thread Dmitri Plotnikov
The multitude of potential users of this component is huge, they all have current solutions and they all have some peculiarities about them. For this new component to be successful, we will need to address all of those requirements, which calls for an abstract, configurable and customizable

[reflect] Some thoughts

2002-06-16 Thread Ola Berg
In my reflect packet I have the classes Getters, Setters, Adders, Putters and Constructors and Call and Methods. Setters.set( Object bean, \property\, Object value) sets the value on a property etc. There are also methods for retrieving the type (as a Class) for a given property, getting all

Re: JNDI, Tomcat, Distributed Apps, et al.

2002-06-16 Thread John McNally
With new JDBC specs you can do stuff like: DataSource ds = context.lookup(jdbc/whatever); if (ds instanceof ConnectionPoolDataSource) { /* return a connection from the pool: */ PooledConnection pc = ds.getPooledConnection(); Connection conn = pc.getConnection(); return

Re: [BeanUtils][Betwixt][commons] [jxpath] Proposal: Reflection/Introspection/MetaData package

2002-06-16 Thread Stephen Colebourne
[Merged reply] Thanks for the encouragement! Replies have mentioned: BeanUtils Betwixt JXpath ANT Velocity Tomcat Axis There's some homework there! But it does show that the reflection API in Java is proving to be too low level. Perfect for commons ;-) I agree with the view that rushing

Re: [reflect] Some thoughts

2002-06-16 Thread Stephen Colebourne
From: Ola Berg [EMAIL PROTECTED] In my reflect packet I have the classes Getters, Setters, Adders, Putters and Constructors and Call and Methods. Setters.set( Object bean, \property\, Object value) sets the value on a property etc. There are also methods for retrieving the type (as a Class)

Re: [BeanUtils][Betwixt][commons] [jxpath] Proposal:Reflection/Introspection/MetaData package

2002-06-16 Thread Dmitri Plotnikov
Steven, First, if you have not yet, read http://jakarta.apache.org/site/roles.html. Second, write a hello, world message to [EMAIL PROTECTED], so that people know what your credentials are. If you aready have, re-post it, because people tend to forget. If you have contributed to any open

Re: [BeanUtils][Betwixt][commons] [jxpath] Proposal:Reflection/Introspection/MetaData package

2002-06-16 Thread Dmitri Plotnikov
Calling it reflect makes it analogous to java.lang.reflect. But, I believe what we are after is something analogous to java.beans - that's where the standard Introspector is. How about introspection, org.apache.commons.introspection? - Dmitri - Original Message - From: Stephen

[VOTE] new commiter Stephen Colebourne was [BeanUtils][Betwixt][commons] [jxpath] Proposal: Reflection/Introspection/MetaData package

2002-06-16 Thread Juozas Baliuka
I want to nominate Stephen Colebourne as commiter on commons and sandbox, He is one of the most active contributors with the great ideas and we know his code. I think we need to give him chance to do more for commons project. We will need him in new project for reflection/introspection,

Re: [BeanUtils][Betwixt][commons] [jxpath] Proposal: Reflection/Introspection/MetaData package

2002-06-16 Thread Stephen Colebourne
Actually I explicitly don't want to tie it to beans. Beans is a widely used convention, but there are others - EJBs are not really beans - the naming convention surname() instead of getSurname() and surname(String) instead of setSurname() - classes that are auto generated from a 3rd party (non

Re: [BeanUtils][Betwixt][commons] [jxpath] Proposal:Reflection/Introspection/MetaData package

2002-06-16 Thread Dmitri Plotnikov
I agree completely. I was not suggesting tying it to beans, just elevating it over reflection, this is why I proposed introspection istead of beans. But, I am not really opposed to reflect either. - Dmitri - Original Message - From: Stephen Colebourne [EMAIL PROTECTED] To: Jakarta

Re: JNDI, Tomcat, Distributed Apps, et al.

2002-06-16 Thread Steve Cohen
On Sunday 16 June 2002 12:24 pm, John McNally wrote: With new JDBC specs you can do stuff like: DataSource ds = context.lookup(jdbc/whatever); if (ds instanceof ConnectionPoolDataSource) { /* return a connection from the pool: */ PooledConnection pc =