on 07-06-2007 9:03 AM
Hi All,
I have created EJB and a java bean in NWDS. Java Bean is accessing EJB with the help of naming.lookup. I have created this in J2EE-> EJB module project. I want to access this EJB in my WebDynpro application. For this what are the steps. As in Jsp page if I access EJB through Java bean I have to do entry in Web.xml file. Like this in WebDynpro what are the references that I have to given.
I am using NWDS 7.0
Don't worry about points I will assign points to correct answer.
cheers
Jayant
Hi,
- Create your EJBs in a J2EE EJB dc. Expose the EJBs in public part as enties that can be packaged into other dcs (assembly jars)
- Create web dynpro dc
- Copy the java bean that access EJBs into this web dynpro dc.
- Create a java bean model in Web DYnpro and consume the java beans from the same project.
- Build your application over this java bean model.
- You dont have to any entry in the web.xml in Web Dynpro.
See this tutorial: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1f5f3366-0401-0010-d6b0-e85a49e9...
In new CE release there is EJB Model where you can consume the EJBs directly as EJB Model in Web Dynpro. Then you can create application over this EJB Model.
Best Regards,
Ashwani Kr Sharma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
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.