OpenCMIS Sessions

51 views
Skip to first unread message

Florian Müller

unread,
Jun 6, 2010, 11:23:28 AM6/6/10
to confluence-cmis
Hi,

First of all, great work!

I'm Florian and I'm an OpenCMIS committer. I had a look at your source
code and I have a suggestion for improvement. You can increase the
performance (fewer calls to the repository) and lower the memory
footprint (shared cache) if you would not create a session for every
request. You could, for example, create and store a session object in
ConfluenceCMISRepository and reuse it. OpenCMIS session objects are
thread save and can handle parallel requests.

- Florian

Carlo Sciolla

unread,
Jun 7, 2010, 4:52:10 AM6/7/10
to conflue...@googlegroups.com
Florian,

thank you so much for your valuable feedback! I created a related issue right away[1], I'll have a look at it as soon as possible. If you're not already secretly working on a patch to provide us with, of course ;)

Thanks again,
c.

[1] code.google.com/p/confluence-cmis-plugin/issues/detail?id=2



--
Carlo Sciolla

--==(A)==--
Linux User #372086
My personal blog: http://www.skuro.tk
Follow me on twitter: http://twitter.com/skuro
--==(A)==--

Software Engineer at Sourcesense - Making sense of open Source (http://www.sourcesense.com)

 \|/
-(o< -- I'm a punk, dude!
 //\
 V_/_

Maurizio Pillitu

unread,
Jun 7, 2010, 5:32:13 AM6/7/10
to conflue...@googlegroups.com, Gabriele Columbro
Hi Florian,
thanks a lot for your advises; we're already working on it; we'll notify you when the code is ready.

One question: we're currently depending on

<dependency>
<groupId>org.apache.chemistry.opencmis</groupId>
<artifactId>chemistry-opencmis-client-impl</artifactId>
<version>0.1-incubating-SNAPSHOT</version>
</dependency>

Would be possible for you to release a non SNAPSHOT version? Even marking it as alpha or beta would be enough, so that our maven-based release process won't complain :-)

Gabriele Columbro is in CC since I suspect he's involved in the OpenCMIS release phase.

TIA
mau

> --
> You received this message because you are subscribed to the Google Groups "confluence-cmis" group.
> To post to this group, send email to conflue...@googlegroups.com.
> To unsubscribe from this group, send email to confluence-cm...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/confluence-cmis?hl=en.
>

--
Maurizio Pillitu
http://maurizio.pillitu.name
maur...@pillitu.name

Gabriele Columbro

unread,
Jun 7, 2010, 4:36:56 PM6/7/10
to chemis...@incubator.apache.org, conflue...@googlegroups.com
Hey guys,
for now I redeployed the latest OpenCMIS SNAPSHOT, will look tomorrow
into how we can practically (with the current Ant release process) get
a release out there (also on the Apache Maven repo).
In such a case, what would be the version we would like to give to
this release?

E.g. which one of the following does better reflect the readiness of
our implementation:

- 1.0.0-alpha-1
- 1.0.0-beta-1

or do you have any other ideas in mind?

HTH,
Gab

On Jun 7, 2010, at 12:39 PM, Jukka Zitting wrote:

> Hi,
>
> On Mon, Jun 7, 2010 at 12:33 PM, Florian Müller
> <fmue...@opentext.com> wrote:
>> I think we should do some sort of release soon for the reasons you
>> have mentioned.
>
> +1
>
>> What are the Apache rules for alpha and beta releases? I haven't
>> found much about
>> those types of releases on the Apache website.
>
> From the ASF perspective anything that a project publishes beyond the
> development community is a release and should be done following the
> relevant Apache policies. It's up to each community to decide what to
> put into a release and how to label it.
>
> See http://incubator.apache.org/guides/releasemanagement.html for more
> details about making releases at Apache.
>
> BR,
>
> Jukka Zitting

--

Eng. Gabriele Columbro
Alfresco Software, Ltd.

M: +31 (0)627 565 103
P: +39 320 161 28 46
D: +44 (0)1628 876 654

Skype: gabrielecolumbro
Blog: http://www.mindthegab.com
Twitter: http://twitter.com/mindthegabz

Maurizio Pillitu

unread,
Jun 8, 2010, 3:51:31 AM6/8/10
to conflue...@googlegroups.com

On Jun 7, 2010, at 10:36 PM, Gabriele Columbro wrote:

> Hey guys,
> for now I redeployed the latest OpenCMIS SNAPSHOT,

... and tests are passing :P

> will look tomorrow into how we can practically (with the current Ant release process) get a release out there (also on the Apache Maven repo).

Thanks so much!

> In such a case, what would be the version we would like to give to this release?
>
> E.g. which one of the following does better reflect the readiness of our implementation:
>
> - 1.0.0-alpha-1
> - 1.0.0-beta-1
>
> or do you have any other ideas in mind?
>

Same for us, as long as you remove the -SNAPSHOT at the end :P

Maurizio Pillitu

unread,
Jun 8, 2010, 4:03:55 AM6/8/10
to conflue...@googlegroups.com

On Jun 6, 2010, at 5:23 PM, Florian Müller wrote:

Done! and tests pass! :)
As suggested by Florian, I've centralized the logic

repository.createSession()

into the ConfluenceCMISRepository; code is cleaner and performs better!

Thanks again Florian!

cheers,
mau


>
> - Florian

Reply all
Reply to author
Forward
0 new messages