RE: [JBoss-user] where can i find the minerva source

2001-05-15 Thread Vesco Claudio

Hi!

They are in jbosscx :-)))

I have now cvs co (anonymous) the new jbosspool module...

Claudio

PS: I remember you: connector patches :-)))

 -Original Message-
 From: Toby Allsopp [SMTP:[EMAIL PROTECTED]]
 Sent: Monday, May 14, 2001 10:15 PM
 To:   [EMAIL PROTECTED]
 Subject:  Re: [JBoss-user] where can i find the minerva source
 
 On Mon, May 14, 2001 at 10:11:44AM +0200, Vesco Claudio wrote:
  Hi!
  
  I need also the source of minerva package because I have implemented
  connection sharing for jca... when can we have the new package in
 jboss?
 
 Couple of days.  It will remain at a couple of days until
 approximately
 two days before it is done.
 
 I'm a little confused by your statement.  How can you have implemented
 it without having the Minerva source?
 
 Anyway, I should have it imported today or tomorrow.  Couple of days.
 
 Toby.
 
   -Original Message-
   From: Toby Allsopp [SMTP:[EMAIL PROTECTED]]
   Sent: Sunday, May 13, 2001 11:49 PM
   To:   [EMAIL PROTECTED]
   Subject:  Re: [JBoss-user] where can i find the minerva source
   
   On Sun, May 13, 2001 at 11:28:18PM +0200, Tbone wrote:
Hi,

I have some pools of my own and i want to make them minerva( the
   jboss pool
implementation ) compatible.

where do I find the source of minerva package
i've traveled the jboss source tree.
   
   You can find the sources in the jbosscx module, under
 src/external.
   However,
   I would advise holding off for a couple of days because we are
 forking
   Minerva and bringing it back under the JBoss umbrella.  This will
 mean
   that
   the package names will change.  Stay tuned.
   
   Toby.
   
greetz tbone
   
   Word! :-)
 
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 http://lists.sourceforge.net/lists/listinfo/jboss-user

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] where can i find the minerva source

2001-05-15 Thread Toby Allsopp

On Tue, May 15, 2001 at 03:28:54PM +0200, Vesco Claudio wrote:
 Hi!
 
 They are in jbosscx :-)))
 
 I have now cvs co (anonymous) the new jbosspool module...

Cool.  Please let me know of any problem you find with that.

   Claudio
 
 PS: I remember you: connector patches :-)))

Yeah, I forgot, sorry.  I'm juggling many things in my free time at the
moment.

Toby.

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] where can i find the minerva source

2001-05-15 Thread Tbone

Hi again

The reason why i want to pool almost everthing is more a general house
keeping rule
than a real application need.

don't make a new chair every time you wanna site, no
just pick a empty one.

A system is not a bottomless pit

Greetz-Tbone

PS: KEEP UP THE GOOD WORK !!!


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] where can i find the minerva source

2001-05-14 Thread Vesco Claudio

Hi!

I need also the source of minerva package because I have implemented
connection sharing for jca... when can we have the new package in jboss?

Claudio


 -Original Message-
 From: Toby Allsopp [SMTP:[EMAIL PROTECTED]]
 Sent: Sunday, May 13, 2001 11:49 PM
 To:   [EMAIL PROTECTED]
 Subject:  Re: [JBoss-user] where can i find the minerva source
 
 On Sun, May 13, 2001 at 11:28:18PM +0200, Tbone wrote:
  Hi,
  
  I have some pools of my own and i want to make them minerva( the
 jboss pool
  implementation ) compatible.
  
  where do I find the source of minerva package
  i've traveled the jboss source tree.
 
 You can find the sources in the jbosscx module, under src/external.
 However,
 I would advise holding off for a couple of days because we are forking
 Minerva and bringing it back under the JBoss umbrella.  This will mean
 that
 the package names will change.  Stay tuned.
 
 Toby.
 
  greetz tbone
 
 Word! :-)
 
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 http://lists.sourceforge.net/lists/listinfo/jboss-user

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] where can i find the minerva source

2001-05-14 Thread Toby Allsopp

On Mon, May 14, 2001 at 10:11:44AM +0200, Vesco Claudio wrote:
 Hi!
 
 I need also the source of minerva package because I have implemented
 connection sharing for jca... when can we have the new package in jboss?

Couple of days.  It will remain at a couple of days until approximately
two days before it is done.

I'm a little confused by your statement.  How can you have implemented
it without having the Minerva source?

Anyway, I should have it imported today or tomorrow.  Couple of days.

Toby.

  -Original Message-
  From:   Toby Allsopp [SMTP:[EMAIL PROTECTED]]
  Sent:   Sunday, May 13, 2001 11:49 PM
  To: [EMAIL PROTECTED]
  Subject:Re: [JBoss-user] where can i find the minerva source
  
  On Sun, May 13, 2001 at 11:28:18PM +0200, Tbone wrote:
   Hi,
   
   I have some pools of my own and i want to make them minerva( the
  jboss pool
   implementation ) compatible.
   
   where do I find the source of minerva package
   i've traveled the jboss source tree.
  
  You can find the sources in the jbosscx module, under src/external.
  However,
  I would advise holding off for a couple of days because we are forking
  Minerva and bringing it back under the JBoss umbrella.  This will mean
  that
  the package names will change.  Stay tuned.
  
  Toby.
  
   greetz tbone
  
  Word! :-)

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] where can i find the minerva source

2001-05-14 Thread Tbone

Hi,
maybe i can help, i have some idea's how a pool can implemented.
here is may setup

interface Pool {

public Object take() throws PoolException;

public void release( Object token ) throws PoolException;
}

interface PoolContext{

public void setFactory( Factory factory ) throws FactoryException;

public void create( int objects ) throws FactoryException;

public void destroy( int objects ) throws FactoryException;

public void destory() throws FactoryException;

public Pool getPool();

}

interface Factory {
public Object create() throws FactoryException;

public void destroy( Object destroyme ) throws FactoryException;
// i do not difine an event mechanisme for 2 reasons
// 1)i want to be able to pool everthing if smal objects are pooled the
event
//costs more than the win off a pooled objects
// 2) the process of token and released objects are bound to the factory
that
//creates them e.g. creators of Factory knowns at best how there objects
// should be threated and invalidated ( pools may implement an event
// mechanism )

public void hasToken( Object o ) throws PoolElementException;

public void hasReleased( Object o ) throws PoolElementException;
}

Exception hierachie:
PoolException -- RuntimeException
PoolElementException -- PoolException
// when an pool element has an state problem
BrokenPoolElementException -- PoolElementException
// when some one want to release an object that doesn't come from this pool
InvalidPoolElementException  -- PoolElementException
FactoryException -- Exception
// the FactoryException chain isn't stil ready
// a size factory exception when an max or an min size is reached
// when an illegal factory is set

my current implementations use an stack mechanisme
i'am working on an WeakPool but the problem is that i never known when an
object is cleaned up when the VM cleans an WeakReference ( I could use both
an WeakReference and a PhantomReference ) auw this hurts again Reference
Objects can't be reused so an double overhead
* I'am an Performance Freak, the reason is very clear i think *

So a very quick and hot greeting

- Original Message -
From: Toby Allsopp [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, May 13, 2001 11:49 PM
Subject: Re: [JBoss-user] where can i find the minerva source


 On Sun, May 13, 2001 at 11:28:18PM +0200, Tbone wrote:
  Hi,
 
  I have some pools of my own and i want to make them minerva( the jboss
pool
  implementation ) compatible.
 
  where do I find the source of minerva package
  i've traveled the jboss source tree.

 You can find the sources in the jbosscx module, under src/external.
However,
 I would advise holding off for a couple of days because we are forking
 Minerva and bringing it back under the JBoss umbrella.  This will mean
that
 the package names will change.  Stay tuned.

 Toby.

  greetz tbone

 Word! :-)

 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 http://lists.sourceforge.net/lists/listinfo/jboss-user



___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] where can i find the minerva source

2001-05-14 Thread Toby Allsopp

On Mon, May 14, 2001 at 08:44:10PM +0200, Tbone wrote:
 Hi,
 maybe i can help, i have some idea's how a pool can implemented.

My personal interest in pooling is restricted to the pooling of resource
manager connections, such as JDBC connections.  I agree that Minerva's
pooling setup is probably a bit heavy for general purpose pooling of
small objects, although I also tend to think that that kind of pooling
is not normally worthwhile.

If you want to add support for light-weight pooling of small objects, then
feel free.

I apologise if I've missed the purpose of your exposition below, but I
consider this to be pretty much a solved problem.  Don't let me discourage
you, though.

Toby.

 here is may setup
[snip]

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] where can i find the minerva source

2001-05-13 Thread Tbone

Hi,

I have some pools of my own and i want to make them minerva( the jboss pool
implementation ) compatible.

where do I find the source of minerva package
i've traveled the jboss source tree.

greetz tbone


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] where can i find the minerva source

2001-05-13 Thread Toby Allsopp

On Sun, May 13, 2001 at 11:28:18PM +0200, Tbone wrote:
 Hi,
 
 I have some pools of my own and i want to make them minerva( the jboss pool
 implementation ) compatible.
 
 where do I find the source of minerva package
 i've traveled the jboss source tree.

You can find the sources in the jbosscx module, under src/external.  However,
I would advise holding off for a couple of days because we are forking
Minerva and bringing it back under the JBoss umbrella.  This will mean that
the package names will change.  Stay tuned.

Toby.

 greetz tbone

Word! :-)

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user