Search:

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

Search: Search took 0.02 seconds.

  1. Custom date formatter for @Controller for a JSON view

    Hi,
    I am trying to format date fields in a JSON view returned by a @Controller but so far I was unsuccessful. I have a controller like this:
    @Controller
    public class SomeController {
    ...
  2. aop:aspect id, import resource and double advising

    Hi,
    Deployment environment: Spring 2.0.3 or 2.0.7 and Weblogic 10.0.
    I have a Spring xml config file called common-app-context.xml that defines an aspect as follows:


    <aop:config>...
  3. Thread: Advising SLSBs?

    by florin
    Replies
    1
    Views
    1,631

    Advising SLSBs?

    Hi,
    I'm using Weblogic 10 + Spring 2 and I am trying to enable an EJB 3.0 (a SLSB) to become a Spring bean then be able to use DI and add any advice on it using Spring's AOP mechanisms, just like is...
  4. Replies
    7
    Views
    999

    REQUIRES_NEW would be great but this tx...

    REQUIRES_NEW would be great but this tx propagation type works only in a JTA environment and we don't have one (see...
  5. Replies
    7
    Views
    999

    This is an isolated place where this logic was...

    This is an isolated place where this logic was used. I actually followed the documentation: http://www.springframework.org/docs/reference/transaction.html, section 8.4.2.
    I noticed that using...
  6. Replies
    7
    Views
    999

    No, the solution so far was to leave the...

    No, the solution so far was to leave the programatic tx coded-in and add a transaction aspect over this bean.
    I'll give it a shot with TransactionTemplate.
    Have you encountered similar behaviour to...
  7. Replies
    7
    Views
    999

    Programmatic transactions won't commit

    I'm experiencing a strange behaviour when trying to use programatic tx in a spring bean. I am using the following code over a non-transactional spring bean:
    ...
    DefaultTransactionDefinition td =...
  8. Replies
    7
    Views
    2,506

    The code is transaction-independent and the bean...

    The code is transaction-independent and the bean that needs to be initialized in a transactional context is actually called through a MethodInvokingFactoryBean. The resulting object is injected in...
  9. Replies
    7
    Views
    2,506

    Actually I already tried using...

    Actually I already tried using MethodInvokingFactoryBean but I have an exception saying that the init method cannot be found in the proxyied interface.
  10. Replies
    7
    Views
    2,506

    Transactional init-method

    Hi,
    I have a transactional bean composed of a target (beanTarget) and a service (beanService) that adds the transactional aspect (using TransactionProxyFactoryBean). There's an init-method in the...
  11. Replies
    1
    Views
    1,555

    Is the JMX component production-ready?

    Hi,
    I have made some successful tests integrating JMX into the project I'm working on. It all looks perfect (Spring 1.0.1 + Tomcat 5) but I'm wondering if Spring's JMX component is ready for a...
  12. Replies
    1
    Views
    1,910

    Persisting properties

    Hi,
    I have a properties file that I read using a PropertiesFactoryBean (I'm using Spring v.1.0.1):
    <bean id="myProperties" class="org.springframework.beans.factory.config.PropertiesFactoryBean">
    ...
Results 1 to 12 of 12