Search:

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

Page 1 of 4 1 2 3 4

Search: Search took 0.05 seconds.

  1. SOAP fault problem with SWS 1.5.0 and Axiom 1.2.5

    I'm encountering a problem with Axiom 1.2.5 on the server side which I don't get with SAAJ. I want to return a SOAP fault from my endpoint which I consume with WebServiceTemplate.

    With Axiom I get...
  2. Replies
    3
    Views
    4,285

    TaskExecutor for GridGain

    Hi all,

    I wrote a TaskExecutor for GridGain. GridGain is the easiest way to set up a grid computer for Java applications.

    With this implementation you can send Runnable objects over the network...
  3. Handling inconsistencies after FlowDefinition refresh

    After I call the refresh() method on FlowDefinitionRegistryImpl I get an exception on Flow:328, namely IllegalArgumentException, when the current state of the current FlowExecution is no longer...
  4. Replies
    0
    Views
    1,695

    Spring Web Flow article on Javalobby

    There's a new Spring Web Flow article on Javalobby.
  5. Persistent Object Life-cycle Event Validation pattern

    The Persistent Object Life-cycle Event Validation (POLEV) pattern is an implementation currently residing in the Spring Modules sandbox. This pattern offers validation of persistent objects when ORM...
  6. You need a transaction manager to manage XA...

    You need a transaction manager to manage XA transactions. Take a look at JOTM.
  7. If you use a XA capable transaction manager and...

    If you use a XA capable transaction manager and your JMS provider and database both support XA transactions you should configure JtaTransactionManager in your Spring setup.
  8. Replies
    4
    Views
    32,003

    Re: HibernateTemplate and transactions

    You need to use HibernateTransactionManager in conjunction with HibernateTemplate to enable declarative transaction management. Take a look at this section of the Spring reference for more...
  9. Replies
    4
    Views
    4,384

    You cannot achieve the same with Struts with so...

    You cannot achieve the same with Struts with so little effort. A page flow in SWF operates under one URI, including sub page flows and their sub page flows and their sub page flows and so on. SWF...
  10. Replies
    4
    Views
    4,384

    Re: Diff Spring Web Flow and Struts

    Say you build a page flow to select a customer that allows you to search you existing customer base in a number of ways, allows you to create new customers, etc.

    You can reuse this page flow...
  11. Replies
    1
    Views
    5,928

    Try using DriverManagerDataSource...

    Try using DriverManagerDataSource.
  12. Replies
    3
    Views
    10,656

    I've added support for OGNL expressions and...

    I've added support for OGNL expressions and created a convenience class TouchingNameMethodMatchAdvisor. If collections are returned you can use the #returned variable in OGNL expressions:


    ...
  13. Replies
    3
    Views
    10,656

    Alternative to open session in view pattern

    TouchingAfterReturningAdvice offers an alternative to the open session in view pattern in that it touches configurable properties on the return value of method invocations. This advice is available...
  14. Replies
    11
    Views
    3,324

    That's a valid point. Standard Java...

    That's a valid point. Standard Java deserialization uses the thread context loader. Spring could solve this issue but this hasn't happened so far. I've created a JIRA issue.
  15. Replies
    1
    Views
    1,386

    You may want to take a look at Spring Web Flow....

    You may want to take a look at Spring Web Flow. It solves issues related to state elegantly.
  16. Replies
    11
    Views
    3,324

    The code below works in an Eclipse plug-in. ...

    The code below works in an Eclipse plug-in.



    ApplicationContext appCtx = new ClassPathXmlApplicationContext("applicationContext.xml") {
    public ClassLoader getClassLoader() {
    return...
  17. You cannot prevent interceptor invocation on...

    You cannot prevent interceptor invocation on every method of the exposed interface. You can however control the invocation:



    public Object invoke(MethodInvocation invocation) throws...
  18. Take a look at...

    Take a look at org.springframework.aop.framework.AopContext and org.springframework.aop.framework.ProxyConfig#setExposeProxy(boolean).
  19. Replies
    8
    Views
    3,028

    Scott, Rod Johnson thinks Spring should only...

    Scott,

    Rod Johnson thinks Spring should only encapsulate the ugly details of persistence but certainly not all of it. I do agree with him this would not be one of Spring's core tasks.

    Myself...
  20. Replies
    10
    Views
    6,520

    There's an article...

    There's an article on the Spring Modules wiki on Valang validator. It discusses usage, features and syntax.
  21. Re: Most efficient way to configure a lot of JDBC templates

    Maybe this will work for you:



    <bean name="CA_dataSource" class="...">
    properties ...
    </bean>

    <bean name="dataSourceMap" class="java.util.HashMap">
    <constructor-arg>
  22. Something just occured to me. The messages are...

    If I change this so that onMessage() calls a processMessage() method on another bean, the proxy should then see exceptions thrown from the latter, right? So the proxy doesn't affect the inner...
  23. Not quite. The proxy is a vehicle to decorate...

    If I change this so that onMessage() calls a processMessage() method on another bean, the proxy should then see exceptions thrown from the latter, right? So the proxy doesn't affect the inner...
  24. Replies
    4
    Views
    1,168

    You may want to take a look at Spring WebFlow...

    You may want to take a look at Spring WebFlow which by default stores command objects in the request scope.
  25. The checked exception is never thrown by the...

    The checked exception is never thrown by the onMessage method, as illustrated in the code example.
Results 1 to 25 of 96
Page 1 of 4 1 2 3 4