Search:

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

Page 1 of 20 1 2 3 4

Search: Search took 0.06 seconds.

  1. Which part of my post in particular? I never...

    Which part of my post in particular?

    I never suggested doing this.

    Where there is possibly duplication is in the authentication DAO and the service layer, depending on whether it's re-used or...
  2. Sure you do. I'm just pointing out that you can...

    Sure you do. I'm just pointing out that you can avoid duplication :)
  3. Replies
    1
    Views
    1,014

    I think it's just because the PetClinic...

    I think it's just because the PetClinic application has no delete functionality.
  4. The connection is usually managed by the...

    The connection is usually managed by the connection pooling provider (e.g. Vendor JNDI or Apache Commons DBCP), so the connections will be reused between requests.
  5. Well you'll need a configuration for each...

    Well you'll need a configuration for each application, but you won't want to configure duplicate logic in each of the applications. You can define common logic in a single JAR that is re-useable...
  6. It's also referred to as the business layer. It...

    It's also referred to as the business layer. It usually fits in something like this:
    UI (Web or Remoting) Layer - Service/Business Layer - DAO Layer

    This is a logical layer which where it's often...
  7. Replies
    1
    Views
    1,038

    Yes. BASIC authentication requires some...

    Yes. BASIC authentication requires some repository to authenticate, and the implementation should be completely pluggable.

    For example, your basicProcessingFilter has a authenticationManager...
  8. Depends what you want to secure, and how your...

    Depends what you want to secure, and how your application is designed. If you have a single service layer that is shared, you should be able to apply method level security once as well.
  9. Replies
    2
    Views
    976

    I assume you mean for the same field. Yes,...

    I assume you mean for the same field.


    Yes, but you can't use the CustomDateEditor (if it's for the same field). Take a look at the source though - it'd be easy to write your own to do what you...
  10. Replies
    5
    Views
    2,324

    BTW, posting the relevant code and configuration...

    BTW, posting the relevant code and configuration would help.
  11. Replies
    5
    Views
    2,324

    Did you use this doco: AOP Alliance...

    Did you use this doco: AOP Alliance (MethodInvocation) Security Interceptor

    Can you get the contacts sample running and compare?

    Hey, go easy on yourself. ;)
  12. Replies
    2
    Views
    3,032

    Take a look at setPostInterceptors...

    Take a look at setPostInterceptors and setPreInterceptors.
  13. Replies
    2
    Views
    2,117

    This is one of Spring's core values. Some...

    This is one of Spring's core values. Some examples are:
    Transactional services - no Spring APIs required (cf EJB which were hugely invasive)
    DI (cf EJB 2.x Apache Avalon)
    Lifecycle - can...
  14. Replies
    1
    Views
    1,017

    If you're after the file name on the client's...

    If you're after the file name on the client's machine, try MultipartFile.getOriginalFilename()
  15. OK, so both you service and advice are...

    OK, so both you service and advice are singletons. Your advice doesn't maintain any state, so there is no threading issue - unless "//Do some business logic" needs to be sequential (e.g. if method...
  16. Can you post the code. Is this method storing...

    Can you post the code. Is this method storing state? If not, you don't need to do anything. If so, you make it thread safe by specifying certain regions of code as synchronized - to prevent multiple...
  17. Replies
    4
    Views
    4,894

    You might find this informative:...

    You might find this informative: http://discuss.joelonsoftware.com/default.asp?joel.3.309321.3
  18. Replies
    5
    Views
    1,364

    I haven't read Spring in Action, so can't comment...

    I haven't read Spring in Action, so can't comment on it.

    Pro Spring is an excellent pure Spring functionality book with heaps of useful examples (easily navigated and run from Eclipse).

    From a...
  19. Replies
    5
    Views
    1,364

    You might find these threads helpful:...

    You might find these threads helpful:
    http://forum.springframework.org/showthread.php?t=16501
    http://forum.springframework.org/showthread.php?t=9748
  20. Replies
    5
    Views
    1,364

    The samples and reference documentation are a...

    The samples and reference documentation are a great start.

    There's a list of resources (including a link to books) here: http://www.springframework.org/documentation
  21. You must be using a collection associated with...

    You must be using a collection associated with one session in another session. Would have to look at the code to determine where.

    You find a better explanation here: http://forum.hibernate.org/
  22. Replies
    11
    Views
    2,134

    Did you try finding a solution here or on the...

    Did you try finding a solution here or on the Hibernate forum?


    You might find something in these links. The first one has a feature matrix.
    ...
  23. Replies
    2
    Views
    870

    NAFAIK. Without knowing why it's setup this way,...

    NAFAIK. Without knowing why it's setup this way, you could include that mapping file in the the first datasource as well.
  24. Replies
    2
    Views
    1,050

    Can you elaborate? Dao is just a pattern. What do...

    Can you elaborate? Dao is just a pattern. What do you want to leverage from Spring? What are you trying to achieve.
  25. Try using import. Take a look at this section...

    Try using import.

    Take a look at this section of the reference manual: 3.2.2.1. Composing XML-based configuration metadata
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4