Search:

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

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    1,149

    here's a way

    mfisher is right about the 'best practice' approach. However, I find it convenient to access business objects from the view layer for prototyping purposes at least.

    Here's how I do it:...
  2. Replies
    2
    Views
    2,068

    yeah, but sometimes it's helpful...

    You're absolutely right. However, sometimes it's convenient to access your business objects directly from the view layer - even if only for prototyping purposes.

    I was just wondering if Spring...
  3. Replies
    2
    Views
    2,068

    accessing BeanFactory from jsp's

    This is just a simple question about whether or not there's a better way...

    In order to easily access the BeanFactory from a jsp I created a BeanFactoryProxy:

    public class BeanFactoryProxy...
  4. Replies
    13
    Views
    3,963

    I've also thought about the possibility of a...

    I've also thought about the possibility of a spring certification. It's probably too early in the game for one right now - but I think it would be a great idea in the upcoming years.

    BTW, when...
  5. Replies
    2
    Views
    1,157

    any thoughts?

    Can anyone comment on how to go about using a long Hibernate session (one that spans transactions) outside of an http request?
  6. Replies
    2
    Views
    1,157

    ...more details

    Here are some more details...



    <beans>
    <!-- Hibernate SessionFactory -->
    <bean id="sessionFactory" class="org.springframework.orm.hibernate.LocalSessionFactoryBean">
    ...
  7. Replies
    2
    Views
    1,157

    hibernate long session (for a non-web case)

    I'm using a HibernateTransactionManager and would like to open a hibernate session that spans multiple transactions - in order to take advantage of hibernate's first level cache. My scenario is...
  8. Replies
    9
    Views
    3,249

    here's the real issue

    Ok, the code I showed before was not an accurate comparison - since the second code fragment didn't perform a session.flush()

    But there is still a performance issue, and I've narrowed down the...
  9. Replies
    9
    Views
    3,249

    hibernate+spring+oracle performance issue

    This is what I'm seeing...
    The following line takes 1.6seconds:

    getHibernateTemplate&#40;&#41;.save&#40;info&#41;;

    When I replace it with the following, the time is negligible:

    try &#123;
    ...
  10. Replies
    4
    Views
    1,808

    So other than the JDBC superclasses, it sounds...

    So other than the JDBC superclasses, it sounds like Acegi is only using Spring for it's IoC container. It's certainly your call, but it would benefit Acegi to be compatible with at least the other...
  11. Replies
    4
    Views
    1,808

    Acegi with HiveMind or PicoContainer?

    Has anyone tried using Acegi with HiveMind or PicoContainer? Is it possible?

    The only reason I ask is that for political reasons, it would be easier to sell Acegi Security to my colleagues if it...
  12. Replies
    1
    Views
    2,068

    new name suggestion

    Have you ever considered naming this "Spring Lock". A spring lock is defined as "A lock that fastens with a spring" - seems very appropriate.

    Just a thought...

    -Gene
Results 1 to 12 of 12