Hi all,
I'm wondering if Spring MVC can allow me to build a fully modular web site.
That is, I want to build a web application by vertical modules (using a maven multimodule build), and have the...
Type: Posts; User: aaime; Keyword(s):
Hi all,
I'm wondering if Spring MVC can allow me to build a fully modular web site.
That is, I want to build a web application by vertical modules (using a maven multimodule build), and have the...
I tried that already, but Hibernate wasn't happy about it, and threw an error complaining about a possible concurrent modification of some internal data structure (there was none, it was a simple...
Hi,
I've developed my dao layer using Hibernate 3, HibernateDaoSupport and transaction/session managed by Spring at the service layer (I do have services that do use daos, but only services are...
So, did anyone solve the spring beans over jmx persistence problem?
Any real world experience anyone can share?
Hi,
let's say I have a web application and I have some configurables in it (e.g., database connection).
I want it to be runtime configurable. I looked at JMX, but it seems there's no way to persist...
Hi,
I'm trying to port an old client/server application written using Hibernate alone to a three tier architecture using Spring remoting.
The application uses a domain model that is far from...
Ok, found the problem. At line 174 of BeanDocUtils you do a Split using the file separator, that happens to be "\\" under Windows (that's why it works on Linux).
Replacing split(File.separator)...
I've loaded the sources into Eclipse and running the DefaultContextProcessorText I get exactly the same error as above.
I've also tried to run it on jdk 1.5.0_03 but got the same error.
Running...
runbeandoc-ant.bat
Buildfile: build.xml
init:
beandoc:
[beandoc] 5-ott-2005 14.58.03 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
Nope, and I don't see where I can download one (http://opensource2.atlassian.com/confluence/spring/display/BDOC/Home only links 0.6.2)
I've tried (set DEBUG level on both root logger and beandoc logger in the log4j.properties file) but the output does not changes... it seems no log statements besides the last INFO are executed...
Hi,
I'm trying to run Beandoc on the samples included in the 0.6.2 distribution and I'm getting the following error:
C:\temp\spring-beandoc-0.6.2\samples>runbeandoc-cli.bat...
Hi,
I'm developing an application where I have both Hibernate and direct jdbc access (to two different databases, one new, one legacy).
I like the way Hibernate logs the sql statements, and I'm...
Hi,
I think it would be nice during development to know how many bytes have been transferred over the wire by a remote method invocation. Is this kind of logging available, and if so, how can I...
Rob, I believe he's referring to the new batch update/delete queries that Hibernate 3 provides:
http://www.hibernate.org/hib_docs/v3/reference/en/html/batch.html#batch-direct
Just get out the LocalSessionFactoryBean from your context and use
the methods to create/delete/update the database schema :-)
The trick is to prepend an & in order to get the bean, and not the...
I had to solve this very problem, and I did by brute force, without using spring remoting at all, just mimicking its behaviour. I created a specialized servlet on the server side that can process...
Hi,
in my application I have now to access two databases.
The first one, that I'm already using, is accessed thru Hibernate, using a DBCP connection pool and a HibernateTransactionManager, and...
You mean, I create the JDBCTemplate as a bean in the configuration file and then pass it as a property of the DAO... it could work, yes, I just have to rework the configuration file. For the moment,...
Ah, now I see the source of the misanderstanding. When I say I don't have a data source, I mean I don't have a direct reference to a DataSource object in my DAO since the DAOs are created by a...
Maybe I wans't clear... what I want to do is something like this:
void myHibernateDaoMethod(...) {
getHibernateTemplate().execute(new HibernateCallback() {
public Object...
Hi,
I have a DAO based on HibernateDaoSupport and configured to use
a HibernateTransactionMgr. The DAO does not have direct access to the datasource.
Now, I would like to perform direct SQL...
I've tried it, but unfortunately it didn't work as I expected, but that's my fault.
I forgot that I'm spinning off all remote invocation using Spin, so logging the stack trace in...
Oliver, thank you, this helps :-). I'll use your solution.
Yet, it's quite evident that this solution requires some knowledge of the inner workings of the remoting package. The problem seems...
Oh, I've looked into adding exception logging, and it seems not complicated, yet it's not very convenient.
Adding logging to a bean like TransactionProxyFactoryBean is easy, just add a...