[Vysper] EhCache implementation - Some queries

2009-07-30 Thread Ashish
Have implemented EhCache based LatestPresenceCache. Yet to test it. Did some refactoring, added a Base Cache class etc. Not yet committed :-( Have few queries 1. EhCache 1.6.1 (latest release) is not part of Central Maven repo's. So question is, Can I use it? If not what's the way forward 2. Conf

Re: [Vysper] EhCache implementation - Some queries

2009-07-31 Thread Niklas Gustavsson
On Fri, Jul 31, 2009 at 8:39 AM, Ashish wrote: > 1. EhCache 1.6.1 (latest release) is not part of Central Maven repo's. > So question is, Can I use it? If not what's the way forward Check with the EhCache developers if they can upload it. If they won't, or doesn't show any interest, request an upl

Re: [Vysper] EhCache implementation - Some queries

2009-07-31 Thread Ashish
On Fri, Jul 31, 2009 at 12:45 PM, Niklas Gustavsson wrote: > On Fri, Jul 31, 2009 at 8:39 AM, Ashish wrote: >> 1. EhCache 1.6.1 (latest release) is not part of Central Maven repo's. >> So question is, Can I use it? If not what's the way forward > > Check with the EhCache developers if they can uplo

Re: [Vysper] EhCache implementation - Some queries

2009-07-31 Thread Bernd Fondermann
Hi Ashish, On Fri, Jul 31, 2009 at 08:39, Ashish wrote: > Have implemented EhCache based LatestPresenceCache. Yet to test it. Great! :-) > Did some refactoring, added a Base Cache class etc. Not yet committed :-( > > Have few queries > 1. EhCache 1.6.1 (latest release) is not part of Central Mav

Re: [Vysper] EhCache implementation - Some queries

2009-07-31 Thread Ashish
>> 2. Config file - What's the best place to put config file and use it >> in code at runtime. > > Please put it into src/main/config and put this directory on the > classpath when starting the server. > You should then be able to do: Hmm! Let me try. Will it work from the TestCase? Just checked

Re: [Vysper] EhCache implementation - Some queries

2009-07-31 Thread Bernd Fondermann
If you feel confident, refactor it to "resources". Bernd On 2009-07-31, Ashish wrote: >>> 2. Config file - What's the best place to put config file and use it >>> in code at runtime. >> >> Please put it into src/main/config and put this directory on the >> classpath when starting the server. >>

Re: [Vysper] EhCache implementation - Some queries

2009-07-31 Thread Jeff Genender
Contact Greg Luck (the founder). He is really nice and usually is pretty responsive about getting ehcache into central. Jeff On Jul 31, 2009, at 12:39 AM, Ashish wrote: Have implemented EhCache based LatestPresenceCache. Yet to test it. Did some refactoring, added a Base Cache class etc. N

Re: [Vysper] EhCache implementation - Some queries

2009-07-31 Thread Ashish
On Fri, Jul 31, 2009 at 5:37 PM, Bernd Fondermann wrote: > If you feel confident, refactor it to "resources". > > Bernd Done :- ) Its working. Will commit the changes tomorrow. Have to write couple of more test cases. -- thanks ashish Blog: http://www.ashishpaliwal.com/blog My Photo Galleries:

Re: [Vysper] EhCache implementation - Some queries

2009-07-31 Thread Ashish
On Fri, Jul 31, 2009 at 6:56 PM, Jeff Genender wrote: > Contact Greg Luck (the founder).  He is really nice and usually is pretty > responsive about getting ehcache into central. Thanks Jeff. Will definitely contact Greg. Anyways this is one interesting post from his blog http://gregluck.com/blog

Re: [Vysper] EhCache implementation - Some queries

2009-07-31 Thread Jeff Genender
Then open a JIRA at Codehaus for Maven Repos and ask Jason if he would push it to central too. He also is a good guy and usually will do that for you unless there are some nasty licensing issues. Jeff On Jul 31, 2009, at 7:47 AM, Ashish wrote: On Fri, Jul 31, 2009 at 6:56 PM, Jeff Genende

Re: [Vysper] EhCache implementation - Some queries

2009-08-01 Thread Ashish
Code committed. A quick review shall help. Also, please add this (http://oss.sonatype.org/content/repositories/sourceforge-releases) to your Maven repo's list Have used two cache instances, one with Entity as key, and other JID as key. Also, do we need Licence information in ehcache.xml file as w

Re: [Vysper] EhCache implementation - Some queries

2009-08-01 Thread Niklas Gustavsson
On Sat, Aug 1, 2009 at 1:56 PM, Ashish wrote: > Code committed. A quick review shall help. Also, please add this > (http://oss.sonatype.org/content/repositories/sourceforge-releases) to > your Maven repo's list I've added this to the parent POM. I also moved the complete dependency definition to t

Re: [Vysper] EhCache implementation - Some queries

2009-08-01 Thread Ashish
On Sun, Aug 2, 2009 at 1:39 AM, Niklas Gustavsson wrote: > On Sat, Aug 1, 2009 at 1:56 PM, Ashish wrote: >> Code committed. A quick review shall help. Also, please add this >> (http://oss.sonatype.org/content/repositories/sourceforge-releases) to >> your Maven repo's list > > I've added this to the