Hi all,I was wondering if there is anyone who has used Wicket in combination with JackRabbit, so he\she could help us avoid some major problems. greets,Ted
-
Using Tomcat but need to do more? Need to support web services,
On 10/17/06, Ted Roeloffzen [EMAIL PROTECTED] wrote:
Hi all,
I was wondering if there is anyone who has used Wicket in combination with
JackRabbit, so he\she could help us avoid some major problems.
In the past, I have been looking at using Wicket and JCR when building
InfoQ.com. However, I
Alexandru were did you keep the JackRabbit Session in your Wicket Application? Did you keep them in your Wicket-Session or somewhere else?greetsTed2006/10/17, Alexandru Popescu
[EMAIL PROTECTED]:
On 10/17/06, Ted Roeloffzen [EMAIL PROTECTED] wrote: Hi all, I was wondering if there is anyone who
On 10/17/06, Ted Roeloffzen [EMAIL PROTECTED] wrote:
Alexandru were did you keep the JackRabbit Session in your Wicket
Application?
Did you keep them in your Wicket-Session or somewhere else?
As I already think I have answered you on the Jackrabbit list: the JCR
Session is better fitted to
Oh yeah Sorry, i did't realize that it was you. 2006/10/17, Alexandru Popescu [EMAIL PROTECTED]:
On 10/17/06, Ted Roeloffzen [EMAIL PROTECTED]
wrote: Alexandru were did you keep the JackRabbit Session in your Wicket Application? Did you keep them in your Wicket-Session or somewhere else?As I
On 10/17/06, Ted Roeloffzen [EMAIL PROTECTED] wrote:
Oh yeah Sorry, i did't realize that it was you.
Oh yes that's me everywhere :-D.
./alex
--
.w( the_mindstorm )p.
2006/10/17, Alexandru Popescu
[EMAIL PROTECTED]:
On 10/17/06, Ted Roeloffzen [EMAIL PROTECTED] wrote:
Alexandru
Do you even need to keep a reference to it? Get a session when you
need it or let it get injected.
Eelco
On 10/17/06, Ted Roeloffzen [EMAIL PROTECTED] wrote:
Alexandru were did you keep the JackRabbit Session in your Wicket
Application?
Did you keep them in your Wicket-Session or somewhere
It could be easy to keep a reference, else we have to work with or something like it, because if you have create a session everytime you need it, your performance is shot to hell2006/10/17, Eelco Hillenius
[EMAIL PROTECTED]:Do you even need to keep a reference to it? Get a session when you
need
On 10/17/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
Do you even need to keep a reference to it? Get a session when you
need it or let it get injected.
Eelco
The only requirement would be that the JCR Session to be
request-confined (so thread safe). I really think this is possible in
The only requirement would be that the JCR Session to be
request-confined (so thread safe). I really think this is possible in
Wicket, but I am still waiting for your book to go out so that I can
give better answers to this :-).
Heh. If a session is thread bound (though I wouldn't see the
I really want it to be threadsafe, but at this point i don't have a good picture of how that is done.2006/10/17, Alexandru Popescu
[EMAIL PROTECTED]:On 10/17/06, Eelco Hillenius
[EMAIL PROTECTED] wrote: Do you even need to keep a reference to it? Get a session when you need it or let it get
Requests and components are thread safe in Wicket. The pattern you are
looking for might be a thread local (maybe with a servlet filter or
custom request cycle). I don't know how expensive sessions are to
create, and whether a pool of them is maintained by a repository. You
might have to do some
I'll ask around on the JackRabbit user and dev list, maybe that they have a solution. But it is pretty expensive to create Sessions in JackRabbit. Your performance is really shot to hell, when you are constantly creating sessions. We used it in a very small App and the first time we run it, it can
Seems they think keeping a reference in the session is a good idea:
http://permalink.gmane.org/gmane.comp.apache.jackrabbit.devel/7449.
That might work, though I don't know how well it scales. That depends
on the resources a session holds on to. If it does hold on to
resources directly, a pool
It is going to be a first version of the CMS, so we can change it later.I'll take a look at the article. Thanks2006/10/17, Eelco Hillenius
[EMAIL PROTECTED]:Seems they think keeping a reference in the session is a good idea:
http://permalink.gmane.org/gmane.comp.apache.jackrabbit.devel/7449.That
On 10/17/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
The only requirement would be that the JCR Session to be
request-confined (so thread safe). I really think this is possible in
Wicket, but I am still waiting for your book to go out so that I can
give better answers to this :-).
Heh.
On 10/17/06, Ted Roeloffzen [EMAIL PROTECTED] wrote:
I'll ask around on the JackRabbit user and dev list, maybe that they have a
solution. But it is pretty expensive to create Sessions in JackRabbit. Your
performance is really shot to hell, when you are constantly creating
sessions. We used it
Exactly my point :-). And yes, JCR Sessions are not thread-safe so inmany cases (and as a best practice) you need to make sure it isthread-confined.
./alex--.w( the_mindstorm )p.I just asked that on the JackRabbit userlist, as you know, and i got a completely different answer
On 10/17/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
Seems they think keeping a reference in the session is a good idea:
http://permalink.gmane.org/gmane.comp.apache.jackrabbit.devel/7449.
That might work, though I don't know how well it scales. That depends
on the resources a session holds
You are right, i did you a transientrepository. So when i use a different one, the performance should be better?
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with
On 10/17/06, Ted Roeloffzen [EMAIL PROTECTED] wrote:
Exactly my point :-). And yes, JCR Sessions are not thread-safe so in
many cases (and as a best practice) you need to make sure it is
thread-confined.
./alex
--
.w( the_mindstorm )p.
I just asked that on the JackRabbit userlist, as
On 10/17/06, Ted Roeloffzen [EMAIL PROTECTED] wrote:
You are right, i did you a transientrepository. So when i use a different
one, the performance should be better?
Maybe you should start trying things by your own, as long as it looks
you don't believe most of the answers you are getting on
You are right, I'm sorry. I misread the first answer i got from Tobias. But i do believe what is said on the mailinglist, but i'm still learningWicket and JackRabbit, so some answer may seem strange to me. That is why i ask so much.
2006/10/17, Alexandru Popescu [EMAIL PROTECTED]:
On 10/17/06,
On 10/17/06, Ted Roeloffzen [EMAIL PROTECTED] wrote:
You are right, I'm sorry. I misread the first answer i got from Tobias.
But i do believe what is said on the mailinglist, but i'm still learning
Wicket and JackRabbit, so some answer may seem strange to me.
That is why i ask so much.
And
You're absolutely right Eelco, we are starting with the Design, so you'll see it soon.Than it can be judged by you all, LOL
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly
Do you plan on using Spring?If so, spring modules support JCR.https://springmodules.dev.java.net/docs/reference/0.6/html/jcr.html
The sub projects wicket-spring and wicket-spring-annot make injecting spring managed beans into your pages EXTREMELY easy. If you ever used spring to manage anything
2006/10/17, Pierre-Yves Saumont [EMAIL PROTECTED]:
Hi Ted,Unless you already found them, you might be interested by these articles:
http://www.onjava.com/pub/a/onjava/2006/10/04/what-is-java-content-repository.html?page=1http://www-128.ibm.com/developerworks/java/library/j-jcr/
Pierre-Yves
I
Hi all,We are trying to make a CMS and CMS-components for wicket and we were told that i could be helpful to use the JSR-170 to store the content. Have any of you used the JSR-170 and aspecially its implementation JackRabbit?
greets
28 matches
Mail list logo