Ok! Found it. EJB 1.1 spec 9.4.6 finder methods: "The entity Bean
Provider does not write the finder (ejbFind<METHOD>(...)) methods. The
finder methods are generated at the entity bean deployment time using
the container provider's tools." <snip> "the bean provider is
responsible for providing a description of each finder method".

So if i got it right: declare finders in remote interface, skip them
from the bean class. For jBoss i've to make more specified descriptions
of the complex finders in jaws.xml. For weblogic or other 1.1 server i
don't now, but guessing that i've to describe all finders in some other
named xml file.

Am i right or am i wrong?

/Lennart

Lennart Petersson skrev:
> 
> Hi! Gladly enough i'm now allowed to convert our application to make it
> running in jboss. But i also know that we have customers that we will
> not be able to convince that jboss is the right solution (and maybe it
> isn't yet for a 'really' big installation...) so we have to have the
> code more or less portable between EJB 1.1 servers.
> 
> For the moment we are going from EJB 1.0 to EJB 1.1 and having jboss as
> our test platform.
> 
> Ok, my question: Reading the jboss docs i see that there is no need to
> declare any finders in the bean method. As long as they are in the home
> interface they will be generated by the container. If it is a
> complicated finder then there has to be some declares in jaws.xml (what
> is complicated? fbpk and findAll is generated and also findByXXX but if
> the findByXXX has more than one argument?).
> 
> How is all this handled by other EJB 1.1 servers? Weblogic as one
> example, does it accept a bean class with no finders?
> 
> What are the best way to handle finders to have them portable?
> 
> Thanks,
> /Lennart
> --
> mailto:[EMAIL PROTECTED]
> http://www.benefit.se/english
> 
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> List Help?:          [EMAIL PROTECTED]

-- 
mailto:[EMAIL PROTECTED]
http://www.benefit.se/english


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to