-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: proxy-safe equals tester
PostPosted: Thu Nov 01, 2007 12:54 pm 
Regular
Regular

Joined: Fri Feb 09, 2007 3:47 pm
Posts: 56
I was at a Java User Group last night where the presenter went over proxying. Specifically, he went over some rules that should be followed to make your entity classes better candidates for proxying, and optimizing them for proxying.

A couple of rules that he pointed out were
    no final entity classes
    no final methods in the entities
    equals through getters, not properties
He went on to show that he wrote a ProxySafeEqualsTester which tests a class for various rules. I asked him if that was available on line, and he stated that he hadn't posted it anywhere yet.

Has anyone else seen a tester like this, or written one of their own? I'd love to get my hands on one to start checking my entities throughout the software development life cycle.

Thanks.


    Top
     Profile  
     
     Post subject:
    PostPosted: Thu Nov 01, 2007 4:21 pm 
    Beginner
    Beginner

    Joined: Thu Apr 12, 2007 3:26 am
    Posts: 35
    Location: Germany
    The following link might help you:
    http://ejb3unit.sourceforge.net/

    hoeft


    Top
     Profile  
     
    Display posts from previous:  Sort by  
    Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

    All times are UTC - 5 hours [ DST ]


    You cannot post new topics in this forum
    You cannot reply to topics in this forum
    You cannot edit your posts in this forum
    You cannot delete your posts in this forum

    Search for:
    © Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.