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.
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
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]
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]
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
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
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
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
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,
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(...),
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
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
+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
+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
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
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
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
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
+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
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
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
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
[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
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)
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
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
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,
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
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
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 =
30 matches
Mail list logo