Search:

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

Search: Search took 0.02 seconds.

  1. Replies
    8
    Views
    4,956

    I also test it but thereis a resourceRef property...

    I also test it but thereis a resourceRef property of jndiName which adds java:comp/env prefix. if you don't use this property, you can add this prefix manually.
  2. Replies
    8
    Views
    4,956

    JNDI dataSource error

    While publishing a web application on OC4J (10.1.3), I get the following error:

    Caused by: javax.naming.NameNotFoundException: java:comp/env/jdbc/pool/OracleCache not found in Axis-Demo
    at...
  3. Replies
    8
    Views
    1,153

    I also think this is the case but I was confused...

    I also think this is the case but I was confused with instructions in the book.
    Thank you for your replies.
  4. Replies
    8
    Views
    1,153

    do you mean if there is a transaction at service...

    do you mean if there is a transaction at service layer then it is used.
    if there isn't a transaction at service layer then dao templates starts one.
  5. Replies
    8
    Views
    1,153

    I'm using hibernate template and in...

    I'm using hibernate template and in application-context.xml i define transaction properties for my services. in "spring in action" book, "consistent dao support" part, it shows that template class...
  6. Replies
    8
    Views
    1,153

    DAO Templates and Transactions

    Does Dao Template start a transaction for each operation (load(), save(), get())? if so, do we need a transaction at this dao layer? Don't we start a transaction at service layer?
  7. Replies
    4
    Views
    1,181

    In my methods I don't want repeat the same catch...

    In my methods I don't want repeat the same catch statements.
    for example DataAccessException.
    I want to log the exception, create a new exception with a custom message and rethrow it.
  8. Replies
    4
    Views
    1,181

    AOP and Exception Handling

    does spring has built in aspects for exception handling? if so,
    is there any documentation about exception handling with Spring AOP?
  9. Replies
    5
    Views
    1,157

    I defined the ContextLoaderListener in web.xml...

    I defined the ContextLoaderListener in web.xml but how will i get context in a java class (web service).
  10. Replies
    5
    Views
    1,157

    Thanks for your replies

    Thanks for your replies
  11. Replies
    5
    Views
    1,157

    You are right, but I'm only curious if I use...

    You are right, but I'm only curious if I use something like this, also not only for web services, is there anything wrong for thread-safety or some other Spring philosophy.
  12. Replies
    5
    Views
    1,157

    Load application context for web services

    I defined a class for loading context to use from web services. I doubt whether it is correct or not. Within web service I call it like: SpringUtil.getBean("xxxx").methodXXX();

    public class...
Results 1 to 12 of 12