cancel
Showing results for 
Search instead for 
Did you mean: 

JCO Ejb problem

Former Member
0 Kudos

Hi all,

i'm developing a ejb to execute a function from a JCO Rfc provider. I got a lot of problem:

1) How can i set the correct JNDI name for the ejb?

2) What type of bean i need?

3) What is the correct sign for the function procedure?

Thanx

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Francesco,

You should have a look at this blog: <a href="/people/thorsten.nordholmsbirk/blog/2006/03/31/deconstructing-sap-was-jco-rfc-provider-under-the-hood SAP WAS: JCo RFC Provider under the hood</a>. If I got you right, this will answer your questions!

Best regards,

Frank

Answers (1)

Answers (1)

rajendrengovend
Participant
0 Kudos

Hi Francesco,

This depends on what your application is doing, so there's two options a Stateless or Stateful Session bean. There's lots of info about these types on the net. During development of this you will provide a JNDI name, when looking for the bean in your code you would prefix lookup with "java:comp/env/ejb/xxx" xxx being Bean name.

I don't understand the last question? please clarify.

Raj