Hi!

Lennart Petersson wrote:
> 
> Hi! Gladly enough i'm now allowed to convert our application to make it
> running in jboss. 

May I say 'finally'? :-))

> 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.

A good thing anyway IMO.

> 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?).

(then you need custom SQL in jaws.xml)

> How is all this handled by other EJB 1.1 servers? Weblogic as one
> example, does it accept a bean class with no finders?

Yes. Actually, no servers should require finder methods in bean if
you're doing CMP.

> What are the best way to handle finders to have them portable?

Not quite sure what you mean. All EJB 1.1 compliant servers should have
some proprietary way of defining finders. Proprietary, but at least
existent.

/Rickard

-- 
Rickard Öberg

Email: [EMAIL PROTECTED]


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

Reply via email to