Search:

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

Page 1 of 3 1 2 3

Search: Search took 0.05 seconds.

  1. Replies
    2
    Views
    1,218

    Ahhh, look at that. It was right there in the...

    Ahhh, look at that. It was right there in the first place and I didn't open up my eyes. Thanks Ben.

    -Scott
  2. Replies
    4
    Views
    1,291

    Each ORM supplies its own version of...

    Each ORM supplies its own version of PlatformTransactionManager so it seemed this would be a good place to implement ORM to Spring exception conversion. Presumably a custom framework either uses its...
  3. Replies
    4
    Views
    1,291

    Are you sure? The code here from...

    Are you sure? The code here from HibernateInterceptor appears to convert the exception in the catch block.



    public Object invoke(MethodInvocation methodInvocation) throws Throwable {...
  4. Replies
    2
    Views
    1,218

    Autoproxying @Secured methods

    Hi All,

    I have started using MethodInterceptor along with @Secured annotations to secure method invocations.

    The manual recommends using the following setup within one's bean config files:

    ...
  5. Replies
    4
    Views
    1,291

    Strategies to avoid HibernateCallback in DAOs

    Hi All,

    I am a fan of putting all my DataAccess code into separate DAO objects, and I also use hibernate as my ORM persistence API. It works great, but I dislike using this style of coding for...
  6. Replies
    5
    Views
    1,385

    jjustice, Even though the new JPA methods...

    jjustice,

    Even though the new JPA methods sound obscure, they are intended to be operations as seen from an ORM perspective, not a RDBMS perspective. You never 'update' an object in ORM...
  7. Replies
    2
    Views
    1,129

    Tapestry and Acegi - a different approach

    I have been reading this thread with interest http://forum.springframework.org/showthread.php?t=13352&highlight=portlet which discusses some of the issues in using the standard Acegi filter classes...
  8. Replies
    11
    Views
    2,806

    Good point. I must admit I dislike bloating the...

    Good point. I must admit I dislike bloating the domain object with endless lines of business logic. And looking in my own code I can see examples of where I've delegated customer specific to...
  9. Replies
    25
    Views
    9,771

    Great stuff, Jurgen and Rod. I have a...

    Great stuff, Jurgen and Rod.

    I have a question about the use of the plain Hibernate DAOs. If I had a DAO that I marked with the @Transactional annotation, wouldn't AOP create a subclass that...
  10. Replies
    11
    Views
    2,806

    By moving the business logic out of the domain...

    By moving the business logic out of the domain objects into strategy objects, doesn't that just move towards an anaemic domain model anyway? The domain objects basically become placeholders for...
  11. Replies
    11
    Views
    2,806

    We don't actually let our customers supply their...

    We don't actually let our customers supply their own code. But each customer has a different interpretation of essential business logic (eg. rating an order). Placing that business logic in the...
  12. Replies
    11
    Views
    2,806

    Thanks Rod, I'll have a look at the AspectJ...

    Thanks Rod, I'll have a look at the AspectJ integration. I downloaded the 2.0M1 but the pdf guide didn't seem to contain much that was new compared with 1.2.6.

    On the subject of customisation, do...
  13. Replies
    11
    Views
    2,806

    Flexibility in Domain Driven Design

    All that I read about Domain driven design recommends placing business logic into domain objects and leaving services as a place to organise transactions, find top-level objects, etc.

    The problem...
  14. Replies
    5
    Views
    1,313

    That's another alternative. I have a custom...

    That's another alternative. I have a custom UserDetails object anyway so I might just add it as a GrantedAuthority owned by default.

    -Scott
  15. Replies
    5
    Views
    1,313

    I was under the impression that would just...

    I was under the impression that would just automatically reject it. But I could be wrong.

    What would be nice is to be able to specify eg.
    /login.page=*
    or
    /login.page=ANY

    or...
  16. Replies
    5
    Views
    1,313

    Can a common role be specified automatically?

    I have a web app with a security-context.xml configured with a filter security interceptor as follows:



    <bean id="filterInvocationInterceptor"...
  17. All in all, buffering causes no amount of...

    All in all, buffering causes no amount of headaches when considering how to implement FormModels. Consider what buffering vs non-buffering achieves and implies for the undelrying domain model:
    ...
  18. Replies
    8
    Views
    2,993

    Looks interesting. Actually, the spring sandbox...

    Looks interesting. Actually, the spring sandbox has a similar API for closures and predicates, and I would think that makes a good basis for a query API. Just needs to be fleshed out with more of the...
  19. Replies
    8
    Views
    2,993

    There are similarities but my focus was more on...

    There are similarities but my focus was more on ORM integration than sql.

    regards,
    Scott
  20. Replies
    8
    Views
    2,993

    Thanks for the useful comments. I take your...

    Thanks for the useful comments.

    I take your point that a Spring query API could end up re-inventing the wheel, and retreading the work already covered by existing ORMs. This is most certainly NOT...
  21. Replies
    8
    Views
    2,993

    Spring Query API

    Hi All,

    I have been thinking for some time about what I believe would be a useful extension to the Spring framework, specifically to the DAO and ORM areas, in the form of a generic, OO query API....
  22. Replies
    1
    Views
    919

    Ok, I upgraded to Acegi-security 0.8.2 (I was...

    Ok, I upgraded to Acegi-security 0.8.2 (I was using 0.8.1) and all is good.

    regards,
    Scott
  23. Replies
    1
    Views
    919

    Incompatible class changes in Spring 1.2

    Hi all,

    I have just found this nasty little error pop up after upgrading my spring library to 1.2...



    java.lang.IncompatibleClassChangeError
    at...
  24. Replies
    8
    Views
    3,676

    CGLib is a popular approach to proxying, but have...

    CGLib is a popular approach to proxying, but have you considered other libraries like javassist, bcel, ast, etc? From what little I know of javassist, I think it allows you to create a subclass with...
  25. Replies
    3
    Views
    1,754

    Spring 1.2 support?

    Hi,

    Are there plans to add support for Spring 1.2 into Spring IDE, and if so, is there an expected timeframe? I'm particularly interested in support for the new xml dtd features (eg. <property...
Results 1 to 25 of 57
Page 1 of 3 1 2 3