Search:

Type: Posts; User: aaime; Keyword(s):

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    775

    Modular web site?

    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...
  2. Replies
    5
    Views
    2,453

    I tried that already, but Hibernate wasn't happy...

    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...
  3. Replies
    5
    Views
    2,453

    Hibernate 3 and StatelessSession

    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...
  4. Replies
    9
    Views
    2,914

    So, did anyone solve the spring beans over jmx...

    So, did anyone solve the spring beans over jmx persistence problem?
    Any real world experience anyone can share?
  5. How do poeple make application contexts runtime configurable?

    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...
  6. Replies
    1
    Views
    832

    Singleton locator in a web application

    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...
  7. Replies
    17
    Views
    3,912

    Ok, found the problem. At line 174 of...

    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)...
  8. Replies
    17
    Views
    3,912

    I've loaded the sources into Eclipse and running...

    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...
  9. Replies
    17
    Views
    3,912

    runbeandoc-ant.bat Buildfile: build.xml ...

    runbeandoc-ant.bat



    Buildfile: build.xml

    init:

    beandoc:
    [beandoc] 5-ott-2005 14.58.03 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  10. Replies
    17
    Views
    3,912

    Nope, and I don't see where I can download one...

    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)
  11. Replies
    17
    Views
    3,912

    I've tried (set DEBUG level on both root logger...

    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...
  12. Replies
    17
    Views
    3,912

    Beandoc crashing (on its samples!)

    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...
  13. JdbcTemplate: logging sql statement just like hibernate?

    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...
  14. HttpInvoker: logging the size of the bytes transferred

    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...
  15. Replies
    6
    Views
    5,046

    Rob, I believe he's referring to the new batch...

    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
  16. Just get out the LocalSessionFactoryBean from...

    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...
  17. Replies
    2
    Views
    4,674

    I had to solve this very problem, and I did by...

    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...
  18. Replies
    1
    Views
    918

    Accessing two databases, one readonly

    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...
  19. You mean, I create the JDBCTemplate as a bean in...

    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,...
  20. Ah, now I see the source of the misanderstanding....

    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...
  21. Maybe I wans't clear... what I want to do is...

    Maybe I wans't clear... what I want to do is something like this:



    void myHibernateDaoMethod(...) {
    getHibernateTemplate().execute(new HibernateCallback() {
    public Object...
  22. HibernateTemplate + JdbcTemplate + HibernateTransactionMgr

    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...
  23. Replies
    6
    Views
    2,119

    I've tried it, but unfortunately it didn't work...

    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...
  24. Replies
    6
    Views
    2,119

    Oliver, thank you, this helps :-). I'll use your...

    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...
  25. Replies
    6
    Views
    2,119

    Oh, I've looked into adding exception logging,...

    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...
Results 1 to 25 of 56
Page 1 of 3 1 2 3