on 07-21-2008 2:59 PM
Hi!
I'm trying to develop an WebDynpro applicattion using J2EE to connect to database. The session bean communicates whit the dynpro and executes a calculation correctly but in next step must call to entity bean for communication whit database and returns an error message:
"Path to object does not exist at java:comp, the whole lookup name is java:comp/env/ejb/MiEntityBean".
(MyEntityBean is the JNDI).
I could't find ani step by step tutorial to create a complete application using EJBs to communicate with databases and WD. Can someone help me?
Thanks
hi denisa,
plz go through
[Accessing EJB table using Dynpro|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70929198-0d36-2b10-04b8-84d90fa3df9c]
[Create EJB WS with MSSQL|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b00917dc-ead4-2910-3ebb-b0a63e49ef10]
nikhil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
double check your j2ee descriptors and JNDI reference
Is java:comp/env/ejb/MiEntityBean mistyped only on this forum? (the 'i' instead of 'y' after 'M')
The session bean has declared a reference (local or remote) to the entity bean?
The name of this reference should be used in the lookup string: i.e, if reference is ejb/MyEntityBean, use java:comp/env/ejb/MyEntityBean
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
here are good tutorials
[Using EJB's in Web Dynpro|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1f5f3366-0401-0010-d6b0-e85a49e93a5c]
[J2EE_QuickCarRental project|http://help.sap.com/saphelp_nw04/helpdata/en/80/c12041aa7df323e10000000a155106/frameset.htm]
[Java Bean Model Importer in Web Dynpro|https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2275] [original link is broken] [original link is broken] [original link is broken];
[WebDynpro: Importing Java Classes as model|https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/839] [original link is broken] [original link is broken] [original link is broken];
[Importing Complex JavaBean model into WebDynpro|https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3511] [original link is broken] [original link is broken] [original link is broken];
[Getting a Connection to the Database|http://help.sap.com/saphelp_nw04/helpdata/en/82/fdbf2085f65f43a71e755fc904478d/frameset.htm]
PradeeP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.