cancel
Showing results for 
Search instead for 
Did you mean: 

command bean or webservice for accessing EJB

ashish_shah
Contributor
0 Kudos

Hi Experts,

I Want to access an Enterprise archieve DC created for EJB Module DC, through WebDynpro DC.

Now I know that there are two ways to access EAR DC through webDynpro:

1) Command bean

2) Web Services

Can anybody suggest the pros and cons of this two methods?

Also please suggest which one to choose.

Regards,

Ashish Shah

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

to access EJBs from WD, you can use the EJB3.0 model importer (a new feature introduced with NW CE). There's a good tutorial explaining that <a href="http://help.sap.com/saphelp_nwce10/helpdata/en/45/f7f744aea471fae10000000a1553f6/frameset.htm">here</a>.

The Web services way should also work, but it means that you "wrap" the EJB, which is not needed in this case, I believe.

Hope it helps!

ashish_shah
Contributor
0 Kudos

Hi Lvaylo,

I am using NWDS version 2.0.16.

And WAS version is 6.40 SP16.

Will this new EJB model importer be applicable for me?

Regards,

Ashish Shah

Former Member
0 Kudos

Hi,

this will definitely not work with your version.

In this case, I'd suggest that you post your question in the forum, which discusses Web Dynpro-related questions when using NW 2004 or NW 7.0 releases.

The Java EE 5 forum is focused on discussions based on the new product - SAP NetWeaver Composition Environment 7.1.

Answers (0)