For Programmers: Free Programming Magazines  


Home > Archive > Java Beans > December 2004 > Using Home and Select Methods like Finder Methods









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Using Home and Select Methods like Finder Methods
blu4899

2004-12-13, 3:57 am

Hi,

I'm using CMP Entity beans in JBoss 4.0. I would like to implement a
"smart" finder method that has business logic before it returns
references to a collection of bean instances. I have implemented this
in a Home Method that calls a Select Method and returns the collection
result of the Select method back to the caller. It doesn't seem to work
right at all.

Is this a possible pattern for 2.x CMP Entity beans? Could you point me
to sample code?

Thanks for your help,
blu

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com