abaut SoftRefHashMap implementation

2001-12-07 Thread Juozas Baliuka
Hi, I wrote two days ago, but I thik it was poor described. I think good implementation for SoftHashMap can be useful, but not current implementation : 1) SoftRefHashMap has public method purge(), it iterates all values and searches removed references. this method must be private , because

Re: ARMI mobilisation?

2002-01-06 Thread Juozas Baliuka
Hi, I am not commiter and it is not a veto. It is possible to implement The best RPC for JAVA, but RMI will be better :) I think you are wasting your time, but good luck. At 11:39 2002-01-05 +, you wrote: Juozas, snip I see no ARMI advantages. I am not stopping anyone useing RMI if they

Re: AltRMI - Proposal request for help

2002-01-12 Thread Juozas Baliuka
Hi, you can download Aspectj, there are some examples and good documentation, GUI. I sow an example with RemoteException handling in documentation. Aspectj compiler is like code generator, it preprocesses JAVA source files, it is safe, because usual JAVA compiler is used to compile generated

Re: [simplestore] inital check in

2002-01-13 Thread Juozas Baliuka
StoreJanitorImpl: you can register your Memory Stores in this class. A background Thread checks if memory running slow in you JVM and if yes it frees some objects out of the registered Stores. Hi, I think it is better to use java.lang.ref.* to solve problems related to memory management.

RE: [simplestore] inital check in

2002-01-14 Thread Juozas Baliuka
Hi, persistence + Cache is one of the most common problems, in web applications. And I think recenmtly used algorythm is the best solution for this kind of cache. I saw a lot of cache implementations, but all of them implements Background Cleanup this way: Thread checks memory usage, object

RE: [simplestore] inital check in

2002-01-15 Thread Juozas Baliuka
244 removed from queue, size7 iterating cache ... 252 251 250 249 248 247 246 245 254 253 0 At 07:40 PM 1/14/2002 +0100, you wrote: Juozas -Original Message- From: Juozas Baliuka [mailto:[EMAIL PROTECTED]] Sent: Monday, January 14, 2002 8:20 PM To: Jakarta Commons Developers List

RE: [simplestore] inital check in

2002-01-15 Thread Juozas Baliuka
with my Store interface. I identify two objects we can need: - your MemoryStore, maybe it needs a new name. - your SynchronizedStore, that can we use for all our Stores. It would be kool to have it! What do you think? Greets Gerhard Juozas Baliuka

RE: [simplestore] inital check in

2002-01-15 Thread Juozas Baliuka
can need: - your MemoryStore, maybe it needs a new name. - your SynchronizedStore, that can we use for all our Stores. It would be kool to have it! What do you think? Greets Gerhard Juozas Baliuka [EMAIL PROTECTED] To: Jakarta

RE: [simplestore] enhancements (was: [simplestore] inital check in)

2002-01-16 Thread Juozas Baliuka
Ok, But this code is not very useful, It can be an SoftReference usage example. It is better to implement java.util.Map interface if simplestore is kind of cache not Storage. It is some kind SoftMap implementation in commons collections, but this class is not meaningful, because use public

RE: [simplestore] inital check in

2002-01-16 Thread Juozas Baliuka
A Cache should not be responsible for storing, should it? Then it isn't a cache, but a DB... I recommend to use some Storage interface for cache. You will be very glad then you will decide at later time to store your applications state to stable Storage, add transactions . And even if

RE: [simplestore] inital check in

2002-01-16 Thread Juozas Baliuka
Jep, and I do the same in my app, but a layer lower (_not_ in the cache, but in the DB layer, which is the persistency layer I described above). It may interesting for you if you do the same in your app. I use cashe this way: //implementation of StorageCacheHelper not the last

RE: [simplestore] enhancements (was: [simplestore] inital check in)

2002-01-17 Thread Juozas Baliuka
- From: Juozas Baliuka [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 17, 2002 8:17 AM To: Jakarta Commons Developers List Subject: RE: [simplestore] enhancements (was: [simplestore] inital check in) Maybe I understand you wrong, but look at this: In the Cocoon project we have

RE: [simplestore] enhancements (was: [simplestore] inital check in)

2002-01-19 Thread Juozas Baliuka
+1 on changing the interface! The old one seems not to be very useful. Some of the methods are not needed! +1 For the Exceptions I hope I will find some time on the weekend to do this stuff. But you can grap something if you want! a) implementing Testing classes b) changing the interface Hi,

Re: Why are there no Exceptions?

2002-01-19 Thread Juozas Baliuka
Hi, I don't know any good way to handle this kind of exception in pool, but please tell me if you know it, It will be very helpful for me. It can be some RuntimeException, but I always prefer checked exceptions. (I am not related to this project any way, but it is very common ) At 11:37 AM

Re: FW: [Ann] AltRMI work in Avalon Demos Jesktop

2002-01-19 Thread Juozas Baliuka
Hi, I don't want to have this discussion AspectJ list. Lets talk here. AltRMI publishes plain interfaces. Put it another way, think of the SimpleStore you are working on with Gerhard and others. Imagine that there could be a 'Remote Store' (SimpleStore does separate interface/impl yes?).

RE: [simplestore] enhancements (was: [simplestore] inital check in)

2002-01-19 Thread Juozas Baliuka
Agree, then I will move the StoreJanitor in a different package. Maybe we can forget it totally. I will change the interface today. But I think (as you) the most important things are Test classes and benchmarks. Hi, I did almost nothing today, I write a test case, it is the same as main method

Re: [simplestore] changing the interface

2002-01-20 Thread Juozas Baliuka
In our interface there is only too method remaining: Store getNextStore() and void free() free(), because that's the method which throws out the not needed object depending on the alghorithm! Yes free() can be useful for some stores, in some cases service can recover itself, in some cases

Re: AltRMI load balanced requets from client to server(s)

2002-01-20 Thread Juozas Baliuka
It can be useful for FAQ: 1. Is it plans to implement groups ? ( I am not sure but I think http://www.javagroups.com is used to implement cluster in JBoss 3 ) 2. Is it plans to implement ARMI over DCOM. ( I saw some bridge implementation, but do not remember link at this time ) At 10:23

Re: [simplestore] near alpha + test cases

2002-01-21 Thread Juozas Baliuka
Hi, Store interface is much more better at this time !!!. I know some problems for memory stores, it very difficult to explain for me in email message. I will write some code on weekend. Sorry, it is impossible to do it on my work time, it is possible if I will start work on optimizations on

RE: [simplestore] what Exceptions do we need?

2002-01-24 Thread Juozas Baliuka
At 08:05 PM 1/24/2002 +0100, you wrote: Hi, From: Juozas Baliuka [mailto:[EMAIL PROTECTED]] Hi, 1.ServiceNotAvailableException is useful to handle fatal erros, Log message,send SNS for admin 2.NotFoundException == KeyNotFoundException is useful to optimize get without contais

RE: [simplestore] what Exceptions do we need?

2002-01-25 Thread Juozas Baliuka
At 01:34 PM 1/25/2002 +0100, you wrote: Hi, Hi, 1.ServiceNotAvailableException is useful to handle fatal erros, Log message,send SNS for admin 2.NotFoundException == KeyNotFoundException is useful to optimize get without contais and for null result, nul is also good value.

Re: [AltRMI] New Direct-Marshalled transport type

2002-01-26 Thread Juozas Baliuka
Hi, It is very interesting, does somebody works on persistence ? I know this stuff like JTA, JAAS, JDO ... . I work on persistence in the current project, I have plans to complete it next weak. Idea is like this : User defines some interfaces and optional mappings. Container or application

Re: [AltRMI] New Direct-Marshalled transport type

2002-01-27 Thread Juozas Baliuka
Hi, Yes I see it is possible to solve problems this kind. I need transparent distributed objects in my projects, It is because I speak a lot about ARMI. I am afraid this can be difficult to understand for my coworkers, but will fink a lot about this before next project. I think Transparent

Re: JISP, cache

2002-01-28 Thread Juozas Baliuka
At 01:33 AM 1/29/2002 -0500, you wrote: What kind of performance are you getting from JISP? For JCS I tried using a generic key that would take a serialized object and compared on the hashcode and the performance is not so great. I ran jprobe on it and the io is the bottleneck. The hashcode

Re: CLI - auto-generated usage message anyone?

2002-01-30 Thread Juozas Baliuka
if the conditions above are satisfied. Any thoughts on that? Best Regards, Slawek --- Juozas Baliuka [EMAIL PROTECTED] wrote: Hi, I have suggestion for CLI. CLI does not interpret cmd and It is good. But I think it can be useful to add some CallBack interface and use it in this way

Re: CLI - auto-generated usage message anyone?

2002-01-30 Thread Juozas Baliuka
HI, Yes it is not very good idea and can be useful only for trivial situations. At 07:06 AM 1/29/2002 -0800, you wrote: Well, With the handler approach CLI would become a kind of command controller/dispacher. Is it what we shoot for? If you have a way to specify a handler for an option what

RE: [simplestore] enhancements (was: [simplestore] inital check in)

2002-01-30 Thread Juozas Baliuka
to enable cache, but I need to finalize Store interface. At 03:22 PM 1/19/2002 +0100, you wrote: Hi, From: Juozas Baliuka [mailto:[EMAIL PROTECTED]] +1 on changing the interface! The old one seems not to be very useful. Some of the methods are not needed! +1 For the Exceptions I hope I

RE: [simplestore] enhancements (was: [simplestore] inital ch eck in)

2002-01-30 Thread Juozas Baliuka
I see, cache is very common problem :) At 01:03 PM 1/30/2002 -0500, you wrote: Actually, I recommend using and adding to JCS which is in the stratum repository. Ha. -Original Message- From: Juozas Baliuka [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 30, 2002 2:09 PM

RE: Serious problem with MRUMap -- JCS LRU and MRUMap -- RE: [simplestore] enhancements (was: [simplestore] inital check in)

2002-01-31 Thread Juozas Baliuka
skip You should try to build it as a memory plugin for JCS. It might require some element attribute additions (what type of reference) if they are useful. The cache hub manages expiration at request time, this could be moved to a background thread. Cleanup of unused items could result in

RE: Serious problem with MRUMap -- JCS LRU and MRUMap -- RE: [si mplestore] enhancements (was: [simplestore] inital check in)

2002-01-31 Thread Juozas Baliuka
At 11:20 AM 1/31/2002 -0500, you wrote: -Original Message- From: Juozas Baliuka [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 31, 2002 12:23 PM To: Jakarta Commons Developers List Subject: RE: Serious problem with MRUMap -- JCS LRU and MRUMap -- RE: [simplestore

Re: Bean storage in database

2002-02-01 Thread Juozas Baliuka
Hi, this work will be started today. It will be simplestore samples. I will try to clear my code, it is very dirty and have a lot of bugs at this time. I decided to implement this for my current project, but I see it can be useful in some more common situations. I think it is more example for

Re: Bean storage in database

2002-02-02 Thread Juozas Baliuka
1,500 lines of code - simple to understand, yet packs a punch - README describes rationale behind it's design and the tradeoffs made (coming from an EJB CMP perspective) Thanks, Bryan On Sat, 2002-02-02 at 02:03, Juozas Baliuka wrote: Hi, this work will be started today. It

Re: Bean storage in database

2002-02-02 Thread Juozas Baliuka
to understand, yet packs a punch - README describes rationale behind it's design and the tradeoffs made (coming from an EJB CMP perspective) Thanks, Bryan On Sat, 2002-02-02 at 02:03, Juozas Baliuka wrote: Hi, this work will be started today. It will be simplestore samples.

Re: [simplestore] hello, where is the problem? [was: RE: cvs commit: jakarta-commons-sandbox/simplestore/src/sample/org/apache/commons/simplestore/persistence]

2002-02-09 Thread Juozas Baliuka
will be a bit emotional. From: Juozas Baliuka [mailto:[EMAIL PROTECTED]] I am very new in Apache and don't know rooles. I tried to use this style from existing code. I Think license is not the main problem in my code. I see I must to fix code formating and naming first. No problem dude, I can fix

Simplestore on HSQL

2002-02-09 Thread Juozas Baliuka
Hi, I added tests for sample, I use HSQL dabase, do we need to add hsqldb.jar to lib ? I will write build.xml to run this test to run SampleTest you must add hsqldb.jar to classpath HSQL will create default database and users itself. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

Re: [simplestore] interfaces still needed?

2002-02-10 Thread Juozas Baliuka
Hi Juozas, do we need the Reachable and Swap interface. I believe not. Because we do it without swapping and that stuff. Yes or no? We dont need Swap at this time, we will need it for Pool but not for Cashe. It is better to remove this code, but ideas we will reause for Pool.

Re: [simplestore] it's really kool

2002-02-10 Thread Juozas Baliuka
skip Hi, TODO for simplestore : 1. Code cleanup (Remove some unused code, ideas are good, but they are for the next project, I wil try to write proposal later ) Remove : Reacheble and Swap interfaces, cleanup package,JISP, MRUMap. TODO for sample : 1. Add IODGenerator interfaceand default impl.

Re: [simplestore] methods in Store interface

2002-02-12 Thread Juozas Baliuka
Ok - Original Message - From: Gerhard Froehlich [EMAIL PROTECTED] To: Jakarta Commons Developers List [EMAIL PROTECTED] Sent: Monday, February 11, 2002 6:13 PM Subject: RE: [simplestore] methods in Store interface Juozas, Ok maybe they are not meaningful anymore but then they

Re: [simplestore] ToDo

2002-02-12 Thread Juozas Baliuka
Juozas, JBTODO for sample : JB1. Add OIDGenerator interface and default impl. JBOID interface to generate a unique ObjectID. The JBimplementation can be Random, Auto-Increment, s.o. Ahh ok now I understand ;-). Maybe something I can pick up. JB2. Add a mapping interface and a default

Re: [simplestore] ToDo

2002-02-12 Thread Juozas Baliuka
Ok, I will join on weekend Hi, Gerhard is talking with himself: GFOk much stuff...could we split this a little bit, like first this, second GFthat? GF1. cleanup code GF This is 98% done so far. 99% ;) GF 2. move this stuff maybe in a seperate package, like GF

Re: [simplestore] ToDo

2002-02-16 Thread Juozas Baliuka
JB10. Add suport for class instances (ByteCode generation and *.class JBtransformations). I think this is optional. Ohh BCEL would be an option, but the community their sucks. Zero traffic in the mailing list. You don't get any help from that dudes. Am I right Paul ;). I have this

Re: [AltRMI] Two way weak hashmap for distributed garbage collection

2002-02-16 Thread Juozas Baliuka
Hi, It some implementation in simplestore Cashe, but it is not useful for distributed GC. I think there is more trivial way to implement ditributed GC. 1. Client creates Object, server adds reference SomeSubConstructor(Server server ){ // internal implementation calls this

Re: [AltRMI] Two way weak hashmap for distributed garbage collection

2002-02-16 Thread Juozas Baliuka
I 99% sure RMI distributed GC implementation baset on finalize(), but I can implement some for client side today. it can be this kind : interface CleanupListener { public vaid onCleanup( Object key ); // object must be mapped, because object will be invalidated before this method call

Re: [AltRMI] Two way weak hashmap for distributed garbage collection

2002-02-16 Thread Juozas Baliuka
- Original Message - From: Paul Hammant [EMAIL PROTECTED] To: Jakarta Commons Developers List [EMAIL PROTECTED] Sent: Saturday, February 16, 2002 2:21 PM Subject: Re: [AltRMI] Two way weak hashmap for distributed garbage collection Juozas, Thanks but I have had an on/off relationshp

Re: [simplestore] AccessControl

2002-02-20 Thread Juozas Baliuka
Hi, Yes we it is better to use standard interfaces, we can use JAAS, I am not sure, but it seems JAAS is added to JDK 1.4 and it is possible to download it for JDK 1.3. It has configuration files, plugable login modules , principals, groups ... , but I think we will need it only for

Re: [simplestore] AccessControl

2002-02-21 Thread Juozas Baliuka
Ok I see. I will start with some simple read and write security impl. I think that comes permission on method and class relativ near, or? For that I will create an own sub-package ..simplestore.persistence.security. Ok? This will be the place for java.security.acl implementations. I will

Re: [simplestore] AccessControl

2002-02-22 Thread Juozas Baliuka
- Original Message - From: Gerhard Froehlich [EMAIL PROTECTED] To: Jakarta Commons Developers List [EMAIL PROTECTED] Sent: Thursday, February 21, 2002 12:37 PM Subject: RE: [simplestore] AccessControl Ok I see. I will start with some simple read and write security impl. I think

Re: commons dbcp or pool problems

2002-02-22 Thread Juozas Baliuka
Juozas wrote: It is very dificult to find pooling related bugs in application. May be it has meaning to implement something like DebugPool to help find problems in users code. I can think about this, if this idea is interesting. In the pool/dbcp implementation from which

Re: commons dbcp or pool problems

2002-02-22 Thread Juozas Baliuka
I have reviewed the customers JSP pages and found one page where they were not wrapping their use of a db connection within a try {} block. I have informed them how to fix it. But this one page does not explain running out of connections in a pool with a max of 75 connections. In the

Re: Periodicity (iCalendar) Interest Survey

2002-02-23 Thread Juozas Baliuka
Hi, I contribute for simplestore at this time, it is going to become some kind of Transparent Persitence, we are going to implement some security, I understand, it is not some part of persitence. I see Periodicity is more abaut security, and I want to find some solution for integration.

Re: [simplestore] alt. not JDBC Storage and AccessControl [was: AccessControl]

2002-02-23 Thread Juozas Baliuka
- Original Message - From: Gerhard Froehlich [EMAIL PROTECTED] To: Jakarta Commons Developers List [EMAIL PROTECTED] Sent: Saturday, February 23, 2002 1:18 PM Subject: RE: [simplestore] alt. not JDBC Storage and AccessControl [was: AccessControl] Juozas, As I understand you are

Re: [simplestore] alt. not JDBC Storage and AccessControl [was: AccessControl]

2002-02-23 Thread Juozas Baliuka
Hi, Do you read JAAS documentation ? I recomend to do it, it well documented and has examples. Don't understand me wrong, It is very good to implement Acl and it is possible to reuse Acl implementation for JAAS based security implementation. Juozas, As I understand you are working on

Re: Periodicity (iCalendar) Interest Survey

2002-02-24 Thread Juozas Baliuka
skip Security is going to be JAAS based and that is one of the major areas still needing work before we can get a 0.0.1 release out the door. I would appreciate it if you would review my work so far and make some comments on what you think. I am new to JAAS and could use the feedback. Most of

Re: commons dbcp or pool problems

2002-02-24 Thread Juozas Baliuka
Hi, You can implement this without any extra thread. Pooling doesn't need threads, but amost all pool and cashe implementations use extra threads( it does nothing meaningful). Idea to use timeout is not very good, only crapy application needs this, I think it is good to have it for debug, but

Re: integrate security frameworks

2002-02-25 Thread Juozas Baliuka
Hi, skip I've been expecting this conversation to find its way to commons sooner or later. I actually thought it might be me to start it. I think there is some simultaneous security wheel invention happening (maybe re-invention). Might be a good thing. I know at least Turbine and Avalon

Re: commons dbcp or pool problems

2002-02-26 Thread Juozas Baliuka
skip Craig I see only one possible solution : to have two tagets in ant script, one for jdk1.3 and for 1.4, conditional compling is not very nice solution, but I see no choises. Doing the conditional compilation part is pretty straightforward. We'll also want to make the DBCP

Re: [ARMI] ProxyGenrator

2002-03-07 Thread Juozas Baliuka
Hi, ProxyGeneratorImpl and ClientClassAltrmiFactory use diferent ClassLoaders . We need to call generate in ClientClassAltrmiFactory not in ants task. I see BCEL is not very useful for ARMI if we are going to support only interfaces. java.lang.reflect.Proxy does this : Object invoke(Object

Re: [betwixt] UML Diagrams

2002-03-07 Thread Juozas Baliuka
Hi, I think idea in XDoclet is very good, UML can be generated in the same way and without custom tags ( Javadoc used to parse source code for code generation). And I think documentation in PDF or any Printer Friendly format can be useful. On Thu, 2002-03-07 at 19:07, James Strachan wrote:

Re: [ARMI] ProxyGenrator

2002-03-08 Thread Juozas Baliuka
I thin we must try standard Proxy first, BCEL must be the last possible solution, This code is very dangerous and error phone. Juozas, Thanks for your continued thinking on this dude. Hi, ProxyGeneratorImpl and ClientClassAltrmiFactory use diferent ClassLoaders . We need to call

Re: [SIMPLESTORE] PATCH DBStorage.java

2002-03-09 Thread Juozas Baliuka
Yes, and substring(2) needed for is. But I am going to remove Map from MetaObject, It is possible to use List, we added property index for this. Hi, The Sample-DB created from within simplestore doesn't actually receive any value's from the INSERT-queries made from within DBStorage. Its

Re: [dbcp] Build fails with JDK 1.4

2002-03-11 Thread Juozas Baliuka
Hi, We use reflection in Simplestore, it is not very fast, but it is very trivial solution to implement version neutral Connection interface (implementation generated at runtime). Sure DBCP can't be compiled with JDK 1.4. JDK 1.4 goes with JDBC 3.0, which classes contain a lot of addtional

Re: Re: Db bean issue

2002-03-12 Thread Juozas Baliuka
Hi, I tried simper, I think it is good idea for web applications, It must be stable, because it very simple. But I need more complex in my projects, EJB too complex :(. I hate most of j2ee stuf, but I use it. It because I need Distributed,Persistent,Transactional and Secure Objects and I need

Re: Db bean issue

2002-03-12 Thread Juozas Baliuka
Hi, I tried a lot of persitence frameworks, but some of them are not transactional, some not Transparent, some not documented. You can test Torque, Castor and ObjectBridge or use JAWS from JBoss directly. I use ObjectBridge and simplestore is going to be a good choise. ObjectBridge seems is the

Re: [dbcp] JDBC 3.0 and JDK 1.4

2002-03-13 Thread Juozas Baliuka
Hi, Try reflection to generate wrappers . It is very trivial to implement since JKD1.3 , and I think it is better to forget JDK1.2 in the next DBCP version. otisg wrote: I think this would be a good thing to have in the interim. I'd suggest you post the patches here and hopefully

Re: [COLLECTIONS] [VOTE] Release Collections 2.0

2002-03-15 Thread Juozas Baliuka
+1 But, fix purge in SoftRefMap, it can be very useful class. Hi all, The release candidate is ready and sitting on the server: http://jakarta.apache.org/builds/jakarta-commons/release/commons-collections /v2.0/ Please state your vote for this candidate. Also, please let me know if

[SimpleStore] Documentation

2002-03-20 Thread Juozas Baliuka
Hi, Started to write documentation for SimpleStore, Maybe somebody wants to help fix me mistakes in documentation ? My English is not very good. Simplestore become more user frienly, It works in EOB (used to implement persistence for Forum example forked from Velocity ) It was very good test for

[SimpleStore] New Storage Types

2002-03-24 Thread Juozas Baliuka
Hi, I added BTree storage, it use JDBM. I have plans to add som XML persitence. Is frontend for Apache Xindice interesting for somebody ? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: LogFactoryImpl.java - SecurityException

2002-03-25 Thread Juozas Baliuka
Hi, I does not work on this project, but I think it is not the best idea to set default logger on security exeption. It will be very dificult to find a problem and grant requred permissions or to dissable logging if app does not have permissions for logging. The most *secure* way not to catch

Re: [DBCP] - 2 Serious Bugs

2002-03-29 Thread Juozas Baliuka
Yes, driver doe's it this way : static{ DriverManager.registerDriver( new MyDriversPrivateConstructor() ); } The following is from DriverManager's doc: public static Driver getDriver(String url) throws SQLException Attempts to locate a driver that

Re: [VOTE] Update charter to allow any Apache committer into the sandbox

2002-03-29 Thread Juozas Baliuka
+1 - Original Message - From: Scott Sanders [EMAIL PROTECTED] To: Jakarta Commons Developers List [EMAIL PROTECTED] Sent: Friday, March 29, 2002 7:54 PM Subject: [VOTE] Update charter to allow any Apache committer into the sandbox Below is a diff of the proposed change to charter.xml.

Re: [BeanUtils] ConvertUtils changes

2002-03-29 Thread Juozas Baliuka
Hi Stephen, It is good you want contribute for this project. I know http://joda.sourceforge.net/ It is very good idea . I think it is possible to add more methods for ConvertUtils like method useful for DynamicProxy : Object transform( Object value, Class type ){ if( type.isPrimityve() ){

Re: [BeanUtils] ConvertUtils changes

2002-03-29 Thread Juozas Baliuka
I think it is possible to add more methods for ConvertUtils like method useful for DynamicProxy : Does this mean you think ConvertUtils should be broken out from beanutils into its own commons area? I am not sure it is good to have a lot of small packages.I have no ideas abaut

Re: [BeanUtils] ConvertUtils changes

2002-03-30 Thread Juozas Baliuka
Hi, I reviewed code. Idea is good, it is the same as I expected( Transformers ). This code is very useful for java.lang.reflect.Proxy and JDBC code. I believe this code will be in commons after BeanUtils community review. snip -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

Re: [logging] Need interface...

2002-04-03 Thread Juozas Baliuka
Hi, I see no problem in some aspect like logging. Logging or tracing doe's not depend on some framework or Container. If my bean or service is not hosted by some container I don't need any specific for contract interfaces or methods. It is the same nonsence as implement setContext( ejbContext )

Re: [Question] Betwix JAXB

2002-04-09 Thread Juozas Baliuka
Hi, It is also JavaBean-XML mapping framefork : http://joda.sourceforge.net/ And it is no problem if you will decide to implement a new one, if you think it can be better or have something unique. Users will decide bad or good. Is there a rundown available on the reasons why Betwix is

Re: [Collections][SUBMIT] TypedList - FilterList

2002-04-24 Thread Juozas Baliuka
Hi, I am not sure it is good idea to use transformer this way. I expect this on list : code list.add( obj ); assertTrue( expected the same instance, list.get( list.size() - 1)) == obj ); /code - Original Message - From: Stephen Colebourne [EMAIL PROTECTED] To: Jakarta Commons

Re: [VOTE] JXPath 1.0 Release Plan

2002-04-24 Thread Juozas Baliuka
+1 - Original Message - From: Craig R. McClanahan [EMAIL PROTECTED] To: Jakarta Commons Developers List [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, April 25, 2002 7:25 AM Subject: Re: [VOTE] JXPath 1.0 Release Plan +1 On Wed, 24 Apr 2002, Dmitri Plotnikov wrote: Date:

Re: ClassCastException raised in newFactory() method when starting from JUnit test

2002-05-01 Thread Juozas Baliuka
Hi, I am not sure about newFactory(), but in the most problem is like this: MyCass obj = Class.forName(MyCass.class.getName()); This allways throws ClassCastException if this code is loaded not by SystemClassLoader. In this case we have two diferent classes, the same name but not ClassLoader.

Re: ClassCastException raised in newFactory() method when starting from JUnit test

2002-05-01 Thread Juozas Baliuka
Sorry, MyCass obj = (MyCass)Class.forName(MyCass.class.getName()); - Original Message - From: Juozas Baliuka [EMAIL PROTECTED] To: Jakarta Commons Developers List [EMAIL PROTECTED] Sent: Wednesday, May 01, 2002 9:49 PM Subject: Re: ClassCastException raised in newFactory() method when

Re: Commons logging question

2002-05-01 Thread Juozas Baliuka
Hi, This is the same problem as in ClassCastException raised in newFactory() method when starting from JUnit test Log factory must have getLog(Class clasz, ClassLoader loader) it is useless without this method. - Original Message - From: Steve Cohen [EMAIL PROTECTED] To: [EMAIL PROTECTED]

Re: Re: ClassCastException raised in newFactory() method when starting from JUnit test

2002-05-02 Thread Juozas Baliuka
. Regards, Rice Juozas Baliuka [EMAIL PROTECTED] wrote: Sorry, MyCass obj = (MyCass)Class.forName(MyCass.class.getName()); - Original Message - From: Juozas Baliuka [EMAIL PROTECTED] To: Jakarta Commons Developers List [EMAIL PROTECTED] Sent: Wednesday, May 01, 2002 9:49 PM Subject

Re: RE: Re: ClassCastException raised in newFactory() method when starting from JUnit test

2002-05-04 Thread Juozas Baliuka
have anything to do with namespace? It should be no. Isn't? Another mail said this problem is just like anothe problem rasing ClassNotFound Exception. Could any detail explanation be provided? Thank you. Regards, Rice Juozas Baliuka [EMAIL PROTECTED] wrote: Sorry, MyCass obj

Re: [PATCH] DBCP, tracking, reporting, and recovering abandoned connections

2002-05-16 Thread Juozas Baliuka
+1 Yes, the idea is good and I want to see this code in DBCP. - Original Message - From: Morgan Delagrange [EMAIL PROTECTED] To: Jakarta Commons Developers List [EMAIL PROTECTED] Sent: Thursday, May 16, 2002 7:07 PM Subject: Re: [PATCH] DBCP, tracking, reporting, and recovering abandoned

Re: [ committer vote ] - for an extra committer...

2002-05-23 Thread Juozas Baliuka
+1 - Original Message - From: Arron Bates [EMAIL PROTECTED] To: Commons Developers List [EMAIL PROTECTED] Sent: Friday, May 24, 2002 4:18 AM Subject: [ committer vote ] - for an extra committer... Already a committer on the Struts project, wodering if the committers of the commons

Re: [commons committer vote II]

2002-05-24 Thread Juozas Baliuka
+1 - Original Message - From: [EMAIL PROTECTED] To: Jakarta Commons Developers List [EMAIL PROTECTED] Sent: Friday, May 24, 2002 6:46 PM Subject: Re: [commons committer vote II] Again, my +1. I've seen only 2 patches from Richard on commons-logging, but he is a commiter on axis, and

Re: [beanutils] adding DynaBean.populate(Map) method?

2002-05-30 Thread Juozas Baliuka
+1 At 12:34 2002.05.30 +0100, you wrote: When working with DynaBeans it might be nice to offer a populate(Map) method to easily populate a DynaBean from a map where the keys are property names and the values are the new property values to populate. I've already hit a use case for this in Jelly.

Re: [httpclient] weblogic.net.http.HttpClient

2002-05-31 Thread Juozas Baliuka
Is it something as good as Jakarta HttpClient, free and open source ? If you are using Jakarta HttpClient, you might also want to check out BEA's weblogic.net.http.HttpClient Details at: http://edocs.bea.com/wls/docs70/javadocs/weblogic/net/http/package-summary.h tml -- To

Re: [VOTE] New committer: Sean Sullivan

2002-06-04 Thread Juozas Baliuka
+1 - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 04, 2002 9:39 PM Subject: [VOTE] New committer: Sean Sullivan I would like to nominate Sean Sullivan as a committer for the Jakarta Commons project. Sean has been active in providing patches and

Re: DBCP validation query: how to use?

2002-06-09 Thread Juozas Baliuka
Hi, I think you need to enable ping in configuration. But you can solve this in postgres : 1. use BYTEA type for bynary strings. 2. check the last driver version, I am not sure it is fixed in the last versoin, but it is no problems to fix it, driver is open source. Current STABLE version has

Re: DBCP validation query: how to use?

2002-06-09 Thread Juozas Baliuka
, and the validateObject method in PoolableConnectionFactory is where the test occurs (on your validation query). But either the code doesn't work, or validateObject is never called in the first place. Again, help would be appreciated! Bryan On Sun, 2002-06-09 at 01:34, Juozas Baliuka wrote: Hi

Re: [vote] CVS access for Martin van den Bemt

2002-06-13 Thread Juozas Baliuka
+1 At 19:18 2002.06.12 -0400, you wrote: Hi, Martin has been really active providing patches for Betwixt so how about we let him apply the next patch himself. +1 -- jvz. Jason van Zyl [EMAIL PROTECTED] http://tambora.zenplex.org -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

Re: Re: [all commons] Proposal: CommonsCommons package

2002-06-15 Thread Juozas Baliuka
Hi, I think the most simple solution is to split redistributables like commons-collections.jar commons-transform.jar . It is nothing bad if some common class is maintained in collections. This requires agreement from collections as its not

[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] 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: [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

[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: [VOTE] Promote NET to commons proper was Release Plans

2002-09-17 Thread Juozas Baliuka
really contain a link to the proposal, e.g., http://jakarta.apache.org/commons/sandbox/net/proposal.html -Original Message- From: Juozas Baliuka [mailto:[EMAIL PROTECTED]] Sent: Monday, September 16, 2002 1:48 PM To: Jakarta Commons Developers List Subject: [VOTE] Promote

Re: [lang] Proposal for *NEXT* version

2002-10-03 Thread Juozas Baliuka
Hi, snip We have some initial stuff checked in to Excalibur Util. When we are done shaping it up, we would like to give it to Commons Lang. I realize you are getting ready to make a release, which is why I don't want to push it for this release. What are y'alls thoughts? It was

Re: [lang] Proposal for *NEXT* version

2002-10-07 Thread Juozas Baliuka
snip The DynaBean abstraction (in BeanUtils today) lets you synthesize beans with a dynamic set of properties -- although only PropertyUtils knows how to do property get/set calls transparently for you. In Struts, for example, we take an XML-ized version of a description like your Person

  1   2   3   >