Search:

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

Search: Search took 0.02 seconds.

  1. help explain : hang when doing insert in a rowcallbackhandler

    Hi,

    Is there a reason why the following does not work :
    I'm using TransactionTemplate and JdbcTemplate :


    public void doTest() {
    transactTemplate.execute(new TransactionCallback() {...
  2. Well, I only read from the database and the data...

    Well, I only read from the database and the data is not being changed outside my app. So I think transactions should not be necessary. And indeed no stacktraces. JBoss just locks up and only a...
  3. I see. So, in a servlet environment this code...

    I see. So, in a servlet environment this code will always be threadsafe.
    The thing is that I am experiencing strange lockups of JBoss using spring and hibernate. I guess I'll have to search for...
  4. newbie : thread safety using HibernateDAOSupport and a Controller

    Hi,

    I'm learning how to use hibernate in a spring web app.
    I have a hibernate sessionfactory, a dao extending HibernateDAOSupport and a controller extending AbstractController.
    My beans :
    ...
  5. jdbcTemplate and apache dbcp.BasicDataSource : reconnect or detect prob ?

    Hi,

    I am using org.apache.commons.dbcp.BasicDataSource for connection to the database from a standalone spring application using JdbcTemplate.
    What I want to achieve is when the connection is...
  6. Replies
    1
    Views
    966

    Timer : how stop at exception

    Hi,

    I am using the TimerFactoryBean to start a method on a class. This is the config :


    <bean id="scheduledTask"
    class="org.springframework.scheduling.timer.ScheduledTimerTask">...
  7. Replies
    0
    Views
    715

    URL Mapping : going crazy

    Hi,

    I have a few problems with urlmapping and I don't see what I'm doing wrong.

    I want two things :
    - http://server/url/admin/listall points to listAllProducts method in a delegate
    - if...
  8. using both jsp and freemarker + confused with mapping

    Hi,

    I am trying to use jsp and freemarker together. The freemarker part works, but the jsp part does not because freemarker tries to find the corresponding template.
    Configuration :


    <bean...
  9. Replies
    13
    Views
    2,074

    Please don't forget to eat ! Very important for...

    Please don't forget to eat ! Very important for the future of Spring !
    :D
  10. Replies
    13
    Views
    2,074

    Well, I'm aware of the fact the application is...

    Well, I'm aware of the fact the application is rather strange :wink:
    And in practice the classname is not passed, it's a name that gets mapped to a classname.
    But the thing is, we have lots of...
  11. Replies
    13
    Views
    2,074

    Ofcourse you are absolutely right. But could you...

    Ofcourse you are absolutely right.
    But could you suggest how I would reach the following goal :
    - I have a bunch of classes that make a certain output
    - I want to run a method from that class...
  12. Replies
    13
    Views
    2,074

    This works : In your spring config file, you...

    This works :
    In your spring config file, you have the controller :

    <bean id="myController" class="MyController">
    <property name="viewResolver"><ref bean="templateResolver"/></property>...
  13. Replies
    13
    Views
    2,074

    Thanks, I provided my controller with a reference...

    Thanks, I provided my controller with a reference to the viewresolver and now I can set the mime-type myself (no need to do this in the beans config file).

    Henk
  14. Replies
    13
    Views
    2,074

    velocity view and mime-type

    Hi,

    I'm using the VelocityViewResolver to show some pages. What I want to do now is to change the mime-type of the resulting pages from within the controller. But it does not seem to work. In...
  15. I'm having the same problem. Were you able to...

    I'm having the same problem.
    Were you able to solve it ?
  16. Replies
    2
    Views
    1,499

    I'm using the JBoss jms, but this is not fixed. ...

    I'm using the JBoss jms, but this is not fixed. I will take a look at activemq. Where can I find the Spring sandbox ?
    Note that I would like to use it in Tomcat (a webcontainer), not standalone.
  17. Replies
    2
    Views
    1,499

    MDB replacing by servlet

    Hi,

    I was thinking of implementing something like this :

    a controller servlet listens to different jms queues. Depending on the message, an action is performed by a certain class. This class...
  18. Replies
    2
    Views
    1,132

    Thanks ! It works now. Henk

    Thanks ! It works now.

    Henk
  19. Replies
    2
    Views
    1,132

    stupid little problem with factory

    Hi,

    when I try this :

    <bean id="connFactory" class="oracle.jms.AQjmsFactory"
    factory-method="getQueueConnectionFactory" >
    <constructor-arg>
    <value>host</value>
    </constructor-arg>...
  20. compilation of sql and errorcodes lookup slowing me down ?

    Hi,

    if I put verbose logging on I see the following messages for every sql call to the database :
    org.springframework.jdbc.object.SqlFunction - SQL operation not compiled before execution -...
  21. Replies
    1
    Views
    2,394

    Batch procedures using Spring ?

    Hi,

    I am new to Spring, but I am very much charmed by its design. What I would like to do is test a migration of an existing (but not too good performing) j2ee application on JBoss to something...
  22. Replies
    7
    Views
    4,219

    Do you think Mule is ready for production ? ...

    [/quote]

    Do you think Mule is ready for production ?

    Henk
  23. Replies
    3
    Views
    5,451

    message-driven bean

    Hi,

    I now have a system with a session bean of which a method is invoked from a message-driven bean. I would like to try to convert this to a system without enterprise beans. I think the session...
Results 1 to 23 of 23