We have an application split acrosss two Tomcat contexts (2 web apps), but need to make a lightweight service call from one to the other.
What's the recommended way to do this? Ideally I'd like...
Type: Posts; User: hay7777; Keyword(s):
We have an application split acrosss two Tomcat contexts (2 web apps), but need to make a lightweight service call from one to the other.
What's the recommended way to do this? Ideally I'd like...
Hi,
We're trying to figure out the best way to set up our acceptance tests.
We currently install the product (Laszlo gui with Spring/Hibernate backend running on Tomcat) on a remote machine,...
I am trying to understand how to safely allow multiple Spring/Hibernate instances to access the same database.
We are running acceptance tests against an installation of our system, which runs...
yep, could do that - but don't really want to change all the proxying, just to allow us access to this class in the test.
That's why I was talking about "hacks" :-)
Does anyone know of a way to cast a JdkDynamicAOPProxy to the class it is proxying?
I know, I know - use CGLIB. But this is just for a test, and we're using autoproxying.
Is there ANY way to...
For anyone interested, I was going about it the wrong way. Realised I could set multiple config locations for a single mapping, AS LONG AS THE BEAN DEFINITIONS DON'T COLLIDE (last one wins).
So...
Hi,
We have a componentized system whereby we can include one or more web component. Each component will have its ui pages, along with a component-servlet.xml.
However, when I try and include...
actually, that's why I asked for an "unbiased investigation and comparison"!!!
There are lots of rants out there on both sides - I'm looking for something to help me accurately evaluate Rails vs...
Hi,
Has anyone done an unbiased investigation and comparison between Ruby on Rails and Spring?
From the little I know of Rails, it is pretty impressive for rapid development. Some are claiming...
this link doesn't work!!
Hi,
Is it possible to intercept a method which is called from in a method within the same class?
I have a TransactionInterceptor which intercepts a couple of methods in the same class, which...
Hi,
I am somewhat new to transactions in Spring/Hibernate, and would really appreciate some help. We are using Firebird and Hibernate, and due to custom isolation levels in Firebird, I need to...
Hi,
It turns out that Firebird only supports READ_COMMITTED, and has it's own other isolation levels.
Is it possible to specify these? I could only find the standard ones, and no way to extend...
Ok - found the problem!!
We're using Firebird, which has it's own non-standard Isolation levels (why?!!!).
It has one which is roughly equivalent, but anyone know how to set a non-standard...
I have created a test case to replicate this - I create 2 threads which call the same method, that's supposed to be using ISOLATION_SERIALIZABLE.
I seeing 2 transactions and Hibernate Sessions...
The threads get spawned off via a Message Queue. I didn't know they could share a transaction (though I'm relatively new to all this), so I believe they have they own Hibernate Session and own...
This is not quite what we're doing...do you have any comments on my other post that explains our situation more fully? I would be grateful...!
...
Hi,
Am seeing a similar thing - did you manage to solve this?
cheers,
David
Hi,
We have a "job" that is split into multiple chunks, each on a different thread, each of which does some work and then updates some Hibernate objects (which are then saved).
I'm trying to...
Hi,
The error we get is:
[junit] 13870 [main] ERROR org.hibernate.event.def.AbstractFlushingEventList
ener - Could not synchronize database state with session
[junit]...
Hi,
We're using Spring & Hibernate, and trying to use Spring's autowire tests with DBUnit for our integration tests.
However, we are having such problems that our only solution seems to be to...
Not yet!
Any ideas?
cheers,
David
Hi Alef,
Thanks for the tip.
Just to clarify what you meant by the Helper bean - is that what will be autowired?
cheers,
David
Hi,
I'm loading a servlet at startup which needs to have access to the applicationContext.xml.
I'm sure I'm missing something very simple, but what's the best way to do this?
Cheers,
David
Hi,
Yeah, we could.
It just seems ugly to me, and breaks the encapsulation of the webapp.
cheers,
David